Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

1808

November 21st, 2013 07:00

SRDF of Target of clone session

I ahve clone session activated on two devices and I am trying to do SRDF from the cone sessions's target and I am getting error that an SRDF mirror can not be added to a device in a timefinder clone session.

2 Intern

 • 

226 Posts

November 21st, 2013 08:00

Was the Clone pair in a Copied state when you attempted to execute the SRDF createpair? You'll have to wait until the Clone copy is completed before you create the SRDF relationship.

2 Intern

 • 

226 Posts

November 21st, 2013 08:00

Here's the applicable section from the SRDF CLI Guide (this happens to be from Solutions Enabler 7.6) --

Screen Shot 2013-11-21 at 11.32.17 AM.png

2 Intern

 • 

226 Posts

November 21st, 2013 08:00

Can you post the exact createpair command you're running (including the contents of the device file), and the exact error message you're getting?

4 Operator

 • 

2.1K Posts

November 21st, 2013 08:00

Hmmm... good point dynamox. My source array was running 5773 code. Maybe this is 58xx specific?

9 Legend

 • 

20.4K Posts

November 21st, 2013 08:00

clone target can be SRDF source without terminating clone relationship  ?

1 Rookie

 • 

32 Posts

November 21st, 2013 08:00

the clone is in copied state

C:\Users\N0157794>symclone
query -g CLONE24_1235_PDC_VDE_TMPLT

Device
Group (DG) Name: CLONE24_1235_PDC_VDE_TMPLT

DG's
Type             : ANY

DG's
Symmetrix ID     : 000195701235

         Source Device                   Target Device            State     Copy

---------------------------------
---------------------------- ------------ ----

               Protected Modified                Modified

Logical   Sym
Tracks    Tracks   Logical 
Sym  Tracks   CGDP SRC <=> TGT  (%)

---------------------------------
---------------------------- ------------ ----

DEV001    1515       
0        0 TGT001    174D      
0 XXX. Copied       100

Total           -------- --------                --------

  Track(s)             0        0                       0

  MB(s)              0.0      0.0                     0.0

Legend:

(C): X
= The background copy setting is active for this pair.

     V = The VP Snap setting is active for this
pair.

     . = Neither setting is active for this
pair.

(G): X
= The Target device is associated with this group.

     . = The Target device is not associated
with this group.

(D): X
= The Clone session is a differential copy session.

     . = The Clone session is not a
differential copy session.

(P): X
= The pre-copy operation has completed one cycle.

     . = The pre-copy operation has not
completed one cycle.

I am doing below steps:

  • Create RDF Group from 1235 to 1241

                symrdf addgrp
-label TPLT_35_41 -rdfg 51 -sid 1235 -dir 7H,8H,9H,10H -remote_rdfg 51
-remote_sid 1241 -remote_dir 7H,8H,9H,10H

  • Add Device Groups to RDF Group

                symdg -type RDF1
create RDF_1235_1241_TMPLT

  • Add R1 devices to Device Group

symdg -g RDF_1235_1241_TMPLT -sid 1235 add dev  174D

  • Create pairs

                                use
174D (1235) & 145C (1241)

  • Set RDF Group to Async (on source array)

                symrdf -sid 1235
-rdfg 51 set mode async

4 Operator

 • 

2.1K Posts

November 21st, 2013 08:00

Interesting. We tried to do this for migration of hosts to a new array and the documentation we were looking at said we couldn't do it. And that was after trying and failing. We had to sever the clone relationships to SRDF the clone.

2 Intern

 • 

226 Posts

November 21st, 2013 08:00

Dynamox,

Yes, a clone target can be an R1 without terminating the clone session... it's a standard SRDF/DM replication flow, but is not used very often anymore.

1 Rookie

 • 

32 Posts

November 21st, 2013 08:00

I am able to create srdf session,  I just need to wait little bit afetr the clone status changed to copied status.

I am using precopy for clone.

9 Legend

 • 

20.4K Posts

November 21st, 2013 08:00

so you can create SRDF session but can't use -precopy ..am i reading that table correctly ? Was this always available in 76 ?

2 Intern

 • 

226 Posts

November 21st, 2013 08:00

You can use Precopy, but the sessions can't be in a "Precopy" state when you execute the createpair. If you create the clone sessions with Precopy, and then activate the sessions, they won't be in a Precopy state anymore -- they'll either be  in a "Copy In Progress" or "Copied" state, and you won't be able to do a symrdf createpair until they're in a "Copied" state.

I'm pretty sure this has been available for quite a while, but I'll have to check.

2 Intern

 • 

226 Posts

November 21st, 2013 09:00

For what it's worth, I just gave it a shot between two old lab arrays (5671 to 5874) and it worked. The difference in the lab was that I used SYMCLI 7.6, so I suppose some older versions of SE might have blocked this. But I definitely recall doing this for a customer datacenter migration back a while ago (DMX-2 to VMAX)... I just don't remember the order in which I set up the replication pairs (i.e. maybe I set up the RDF pairs before the local clone pairs or something).

... I should probably stop procrastinating now

edit: (DMX-2 to VMAX); not (DMX-1/2 to DMX-3).

blondie# symcli |grep CLI

Symmetrix Command Line Interface (SYMCLI) Version V7.6.0.0 (Edit Level: 1707)

blondie# symcfg list |grep 0431

    000187880431 Local       3000-M2   5671      180224        34      8681

blondie# symcfg list |grep 0277

    000192600277 Remote      VMAX-1    5874      114688         0     18391

blondie# symcfg -sid 0431 list -rdfg 28 |grep 0277

28 (1B)    10  28 (1B) 000192600277 S GROUP_1B   .X.. ---  F-S -IS-     30  33

blondie# symdg create clonepair

blondie# symld -g clonepair -sid 0431 add dev 6c5

blondie# symld -g clonepair -sid 0431 add dev 6c6 -tgt

blondie# symclone -g clonepair create -diff -precopy -tgt -nop

'Create' operation execution is in progress for

device group 'clonepair'. Please wait...

'Create' operation successfully executed for device group

'clonepair'.

blondie# symclone -g clonepair activate -tgt -nop

'Activate' operation execution is in progress for

device group 'clonepair'. Please wait...

'Activate' operation successfully executed for device group

'clonepair'.

blondie# symclone -g clonepair query |grep DEV001

DEV001    06C5         0        0 TGT001    06C6        0 XXX. Copied       100

blondie# cat rdfpair.txt

6c6     c41

blondie# symrdf -sid 0431 createpair -type r1 -rdfg 28 -file rdfpair.txt -establish -rdf_mode acp_disk -nop

An RDF 'Create Pair' operation execution is in progress for device

file 'rdfpair.txt'. Please wait...

    Create RDF Pair in (0431,028)....................................Started.

    Create RDF Pair in (0431,028)....................................Done.

    Set device(s) in (0431,028) to be RDF Read/Write Disabled at target (R2)...Done.

    Mark target device(s) in (0431,028) for full copy from source....Started.

    Devices: 06C6-06C6 in (0431,028).................................Marked.

    Mark target device(s) in (0431,028) for full copy from source....Done.

    Merge track tables between source and target in (0431,028).......Started.

    Devices: 06C6-06C6 in (0431,028).................................Merged.

    Merge track tables between source and target in (0431,028).......Done.

    Resume RDF link(s) for device(s) in (0431,028)...................Started.

    Resume RDF link(s) for device(s) in (0431,028)...................Done.

The RDF 'Create Pair' operation successfully executed for device

file 'rdfpair.txt'.

No Events found!

Top