How to synchronize the EMC SRDF devices using "symrdf establish"

book

Article ID: 100037816

calendar_today

Updated On:

Description

Description

This document attempts to explain the steps required to synchronize the R1 and R2 device content using the "symrdf establish" operation.

In this instance, the configuration consists of "4" EMC SRDF "R1" devices presented to production server "Dopey" from EMC Symmetrix id (SID) "822". An additional "4" EMC SRDF "R2" devices have been presented to DR server "Bashful" from EMC Symmetrix ID (SID) "414".



Figure 1.0
 

 

Note: The R1 (source) devices from server Dopey are to be synchronized (replicated) to the R2 (target) devices presented to server Bashful.


Steps:
 

1.] Establish the EMC DeviceGroup name using "symdg list"

Dopey # symdg list
                          D E V I C E      G R O U P S
                                                              Number of
  Name               Type     Valid  Symmetrix ID  Devs   GKs  BCVs  VDEVs  TGTs
  DopeyDg            RDF1     Yes    000290300822     4     0     0      0     0

 

2.] Determine the current SRDF replicated state using "symrdf -sid list pd" or "symrdf -g query".

Dopey # symrdf -sid 822 list pd
Symmetrix ID: 000290300822
                              Local Device View
----------------------------------------------------------------------------
                    STATUS     MODES                     RDF  S T A T E S
Sym        RDF      ---------  -----  R1 Inv   R2 Inv ----------------------
Dev  RDev  Typ:G    SA RA LNK  MDAT   Tracks   Tracks Dev RDev Pair
---- ---- --------  ---------  ----- -------  ------- --- ---- -------------
008C 0072   R1:11   RW RW NR   S..1        0    32250 RW  WD   Suspended
008D 0073   R1:11   RW RW NR   S..1        0    32250 RW  WD   Suspended
008E 0074   R1:11   RW RW NR   S..1        0    32250 RW  WD   Suspended
008F 0075   R1:11   RW RW NR   S..1        0    32250 RW  WD   Suspended

Total                               -------- --------
  Track(s)                                 0   129000
  MB(s)                                  0.0   8062.5

Legend for MODES:
 M(ode of Operation): A = Async, S = Sync, E = Semi-sync, C = Adaptive Copy
 D(omino)           : X = Enabled, . = Disabled
 A(daptive Copy)    : D = Disk Mode, W = WP Mode, . = ACp off
 (Mirror) T(ype)    : 1 = R1, 2 = R2


Note: In this instance, the SRDF replication state is in a "Suspended" state.


3.] Synchronize the SRDF R1 and corresponding R2 devices using "symrdf -g -full -establish"

This operation includes establishing and copying the data from the source side to the target side.

Both the establish and restore operations can be done fully (entire copy) or incrementally (only changed tracks are synchronized). A "full" establish is essential when configuring the SRDF configuration for the first time.

By default, if the -full option is not specified, an incremental establish or restore is attempted.

 

Dopey # symrdf -g DopeyDg -full establish

Execute an RDF 'Full Establish' operation for device group 'DopeyDg' (y/[n]) ? y

An RDF 'Full Establish' operation execution is in progress for device group 'DopeyDg'. Please wait...

    Suspend RDF link(s).......................................Done.
    Mark target (R2) devices for full copy from source (R1)...Started.
    Devices: 008C-008F in (0822,011)......................... Marked.
    Mark target (R2) devices for full copy from source (R1)...Done.
    Merge device track tables between source and target.......Started.
    Devices: 008C-008F in (0822,011)......................... Merged.
    Merge device track tables between source and target.......Done.
    Resume RDF link(s)........................................Started.
    Resume RDF link(s)........................................Done.


The RDF 'Full Establish' operation successfully initiated for device group 'DopeyDg'.

 

Note: It is not possible to perform an establish or restore if the remote pair state is not split or suspended.


4.] Validate that the synchronization process is in effect.

Dopey # symrdf -g DopeyDg query

Device Group (DG) Name             : DopeyDg
DG's Type                          : RDF1
DG's Symmetrix ID                  : 000290300822    (Microcode Version: 5773)
Remote Symmetrix ID                : 000290301414    (Microcode Version: 5773)
RDF (RA) Group Number              :  11 (0A)

       Source (R1) View                 Target (R2) View     MODES
--------------------------------    ------------------------ ----- ------------
             ST                  LI      ST
Standard      A                   N       A
Logical       T  R1 Inv   R2 Inv  K       T  R1 Inv   R2 Inv       RDF Pair
Device  Dev   E  Tracks   Tracks  S Dev   E  Tracks   Tracks MDA   STATE
-------------------------------- -- ------------------------ ----- ------------
DEV08C  008C RW       0    32250 RW 0072 WD       0        0 S..   SyncInProg
DEV08D  008D RW       0    29976 RW 0073 WD       0        0 S..   SyncInProg
DEV08E  008E RW       0    32250 RW 0074 WD       0        0 S..   SyncInProg
DEV08F  008F RW       0    32250 RW 0075 WD       0        0 S..   SyncInProg

Total          -------- --------           -------- --------
  Track(s)            0   126726                  0        0
  MB(s)             0.0   7920.4                0.0      0.0

Legend for MODES:

 M(ode of Operation): A = Async, S = Sync, E = Semi-sync, C = Adaptive Copy
 D(omino)           : X = Enabled, . = Disabled
 A(daptive Copy)    : D = Disk Mode, W = WP Mode, . = ACp off


or

Dopey # symrdf -sid 822 list pd

Symmetrix ID: 000290300822
                              Local Device View
----------------------------------------------------------------------------
                    STATUS     MODES                     RDF  S T A T E S
Sym        RDF      ---------  -----  R1 Inv   R2 Inv ----------------------
Dev  RDev  Typ:G    SA RA LNK  MDAT   Tracks   Tracks Dev RDev Pair
---- ---- --------  ---------  ----- -------  ------- --- ---- -------------
008C 0072   R1:11   RW RW RW   S..1        0    14069 RW  WD   SyncInProg
008D 0073   R1:11   RW RW RW   S..1        0     8370 RW  WD   SyncInProg
008E 0074   R1:11   RW RW RW   S..1        0    22774 RW  WD   SyncInProg
008F 0075   R1:11   RW RW RW   S..1        0    20277 RW  WD   SyncInProg

Total                               -------- --------
  Track(s)                                 0    65490
  MB(s)                                  0.0   4093.1

Legend for MODES:
 M(ode of Operation): A = Async, S = Sync, E = Semi-sync, C = Adaptive Copy
 D(omino)           : X = Enabled, . = Disabled
 A(daptive Copy)    : D = Disk Mode, W = WP Mode, . = ACp off
 (Mirror) T(ype)    : 1 = R1, 2 = R2


 
5.] Confirm that the synchronization process is complete.
 

Dopey # symrdf -g DopeyDg query

Device Group (DG) Name             : DopeyDg
DG's Type                          : RDF1
DG's Symmetrix ID                  : 000290300822    (Microcode Version: 5773)
Remote Symmetrix ID                : 000290301414    (Microcode Version: 5773)
RDF (RA) Group Number              :  11 (0A)

       Source (R1) View                 Target (R2) View     MODES
--------------------------------    ------------------------ ----- ------------
             ST                  LI      ST
Standard      A                   N       A
Logical       T  R1 Inv   R2 Inv  K       T  R1 Inv   R2 Inv       RDF Pair
Device  Dev   E  Tracks   Tracks  S Dev   E  Tracks   Tracks MDA   STATE
-------------------------------- -- ------------------------ ----- ------------
DEV08C  008C RW       0        0 RW 0072 WD       0        0 S..   Synchronized
DEV08D  008D RW       0        0 RW 0073 WD       0        0 S..   Synchronized
DEV08E  008E RW       0        0 RW 0074 WD       0        0 S..   Synchronized
DEV08F  008F RW       0        0 RW 0075 WD       0        0 S..   Synchronized

Total          -------- --------           -------- --------
  Track(s)            0        0                  0        0
  MB(s)             0.0      0.0                0.0      0.0

Legend for MODES:
 M(ode of Operation): A = Async, S = Sync, E = Semi-sync, C = Adaptive Copy
 D(omino)           : X = Enabled, . = Disabled
 A(daptive Copy)    : D = Disk Mode, W = WP Mode, . = ACp off

or

Dopey # symrdf -sid 822 list pd

Symmetrix ID:  000290300822
                              Local Device View
----------------------------------------------------------------------------
                    STATUS     MODES                     RDF  S T A T E S
Sym        RDF      ---------  -----  R1 Inv   R2 Inv ----------------------
Dev  RDev  Typ:G    SA RA LNK  MDAT   Tracks   Tracks Dev RDev Pair
---- ---- --------  ---------  ----- -------  ------- --- ---- -------------
008C 0072   R1:11   RW RW RW   S..1        0        0 RW  WD   Synchronized
008D 0073   R1:11   RW RW RW   S..1        0        0 RW  WD   Synchronized
008E 0074   R1:11   RW RW RW   S..1        0        0 RW  WD   Synchronized
008F 0075   R1:11   RW RW RW   S..1        0        0 RW  WD   Synchronized

Total                               -------- --------
  Track(s)                                 0        0
  MB(s)                                  0.0      0.0

Legend for MODES:
 M(ode of Operation): A = Async, S = Sync, E = Semi-sync, C = Adaptive Copy
 D(omino)           : X = Enabled, . = Disabled
 A(daptive Copy)    : D = Disk Mode, W = WP Mode, . = ACp off
 (Mirror) T(ype)    : 1 = R1, 2 = R2

Process complete.

Issue/Introduction

How to synchronize the EMC SRDF devices using "symrdf establish"