Adding a new device

Adding a new Device to an existing SRDF Group

  • Disable consisteny in the Device Group:    symrdf -g srdf_APPR01 disable
  • Set the mode to Adaptive Copy Disk (Background):   symrdf -g srdf_APPR01 set mode acp_disk
  •  Create a file with the new R1 and R2. This command will initiate the establish, but will not add the luns to the device group:    symrdf -file APPR01_newfile -sid 111 -rdfg 3 -type rdf1 -establish createpair
  • Add the new device to the SE Device Group:   symld -g srdf_APPR01 add dev 0350 -sid 111
  • Set the mode to Adaptive Copy Disk (Background) again to ensure the newly added devices are set to the correct mode:  symrdf -g srdf_APPR01 set mode acp_disk
  • Run a query to ensure that the device has been added and that the establish is running:   symrdf -g srdf_APPR01 query
  • When establishing is nearing completion change the mode back to async:   symrdf -g srdf_APPR01 set mode async
  • Once fully established, the group needs to be enabled for consistency:   symrdf -g srdf_APPR01 enable
  • Export the newly updated device groups:   symdg -g srdf_APPR01 -f srdf_newneo01

Complete the procedure by updating the device groups on the Target (R2) site:

  • The RDF2 device group should already exist on the remote servers. Add in the new R2 device as follows:   symld -sid 111 -g srdf_orneop01 add dev nnn

ING Eg.

  •  symconfigure -sid 112 -cmd "set dev 0731 attribute=dyn_rdf;" commit -nop
  • symrdf -file /tmp/ashi -sid 111 -rdfg 2 -type rdf1 -establish createpair -nop
  • An RDF 'Create Pair' operation execution is in progress for device

         file '/tmp/ashi'. Please wait...
        The request is not allowed for SRDF/A-capable devices in async mode

NOTE: All device groups in the RDF group2 have to have a mode other than Async, eg. set them to acp_disk

  • symrdf -g  srdf_aixgold disable

 Execute an RDF 'Disable' operation for device
group 'srdf_aixgold' (y/[n]) ? y

An RDF 'Disable' operation execution is
in progress for device group 'srdf_aixgold'. Please wait...

The device is already in the requested RDF state

  •   symrdf -g  srdf_aixgold set mode acp_disk -nop

An RDF Set 'ACp Disk Mode ON' operation execution is in
progress for device group 'srdf_aixgold'. Please wait...

The RDF Set 'ACp Disk Mode ON' operation successfully executed
for device group 'srdf_aixgold'.

  •  symrdf -file /tmp/ashi -sid 111 -rdfg 2 -type rdf1 -establish createpair -nop

An RDF 'Create Pair' operation execution is in progress for device
file '/tmp/ashi'. Please wait...

    Create RDF Pair in (2204,002)....................................Started.
    Create RDF Pair in (2204,002)....................................Done.
    Mark target device(s) in (2204,002) for full copy from source....Started.
    Devices: 0A51-0A51 in (2204,002).................................Marked.
    Mark target device(s) in (2204,002) for full copy from source....Done.
    Merge track tables between source and target in (2204,002).......Started.
    Devices: 0A51-0A51 in (2204,002).................................Merged.
    Merge track tables between source and target in (2204,002).......Done.
    Resume RDF link(s) for device(s) in (2204,002)...................Started.
    Resume RDF link(s) for device(s) in (2204,002)...................Done.

The RDF 'Create Pair' operation successfully executed for device
file '/tmp/ashi'.

  •  symrdf -file /tmp/ashi -sid 111 -rdfg 2 -type rdf1 -establish createpair -nop
  • symrdf list

Symmetrix ID: 000000000111

                              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  MDATE  Tracks   Tracks Dev RDev Pair
---- ---- --------  ---------  ----- -------  ------- --- ---- -------------

0472 046A   R1:2    RW RW RW   C.D1.       0        0 RW  WD   Synchronized
0A51 0731   R1:2    ?? RW RW   C.D1.       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
 (Consistency) E(xempt): X = Enabled, . = Disabled, M = Mixed, - = N/A

  • symrdf list

Symmetrix ID: 000000000111

                              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  MDATE  Tracks   Tracks Dev RDev Pair
---- ---- --------  ---------  ----- -------  ------- --- ---- -------------

0472 046A   R1:2    RW RW RW   C.D1.       0        0 RW  WD   Synchronized
0A51 0731   R1:2    ?? RW RW   C.D1.       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
 (Consistency) E(xempt): X = Enabled, . = Disabled, M = Mixed, - = N/A
 

  • symrdf -g srdf_aixgold query

Device Group (DG) Name             : srdf_aixgold
DG's Type                          : RDF1
DG's Symmetrix ID                  : 000000000111    (Microcode Version: 5876)
Remote Symmetrix ID                : 000000000112    (Microcode Version: 5876)
RDF (RA) Group Number              :   2 (01)

       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------

DEV001  0472 RW       0        0 RW 046A WD       0        0 C.D.  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
 (Consistency) E(xempt): X = Enabled, . = Disabled, M = Mixed, - = N/A

  • symld -g srdf_aixgold add dev 0A51 -sid 111
  • symrdf -g srdf_aixgold query

Device Group (DG) Name             : srdf_aixgold
DG's Type                          : RDF1
DG's Symmetrix ID                  : 000000000111    (Microcode Version: 5876)
Remote Symmetrix ID                : 000000000112    (Microcode Version: 5876)
RDF (RA) Group Number              :   2 (01)

       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------

DEV001  0472 RW       0        0 RW 046A WD       0        0 C.D.  Synchronized
DEV002  0A51 RW       0        0 RW 0731 WD       0        0 C.D.  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
 (Consistency) E(xempt): X = Enabled, . = Disabled, M = Mixed, - = N/A