Accessing concurrent devices in multi-hop SRDF/AR using SYMCLI

 

Topic

Managing SRDF

Selections

Select SRDF management tool: Managing SRDF using Solutions Enabler SYMCLI

Select SRDF using SYMCLI task: Managing SRDF/AR

Select an SRDF/AR task: Accessing concurrent devices in multi-hop SRDF/AR

 

Contents

Querying concurrent BCVs SRDF/AR (multi-hop configuration) 4

About this procedure. 4

Task 1:  Query the SRDF/AR BCV pairs using a device file. 4

Task 2:  Create a new RDF2 device group and add devices. 5

Task 3:  Query and verify the new device group. 5

Task 4:  Split the non-SRDF/AR BCV pairs. 7

Task 5:  Start, query, and split a replication session. 8

 


 

Querying concurrent BCVs SRDF/AR (multi-hop configuration)

About this procedure

This procedure describes the steps to create, establish, and query a set of non-SRDF/AR BCVs that are concurrent with the set of SRDF/AR BCVs in a multi-hop configuration.

·    This procedure was created using Solutions Enabler version earlier than 5.4

·    Some commands in this procdure issued from the local-site host and some from the remote-site host.

·    This procedure uses the following configuration to create a multi-hop environment:

·    Two arrays:

·    One connected to a local (source) Symmetrix,

·    The other connected to a remote (target) Symmetrix (sid 33) at Hop 2.

·    Devices on the target (hop 2) Symmetrix are:

·    SRDF/AR standard devices 0001–0005

·    SRDF/AR BCV devices 0031–0035

·    Non-SRDF/AR BCV devices 0043–0047

·    This procedure is based on content in the EMC Solutions Enabler Symmetrix SRDF Family CLI Version 7.6 Product Guide.

You can download the guide from EMC Online Support (registration required): https://support.EMC.com.

Task 1:     Query the SRDF/AR BCV pairs using a device file

The local-site host has a device group defined for running SRDF/AR.

You also need to create a device file that allows the local-site host to manipulate the SRDF/AR BCV pairs located on the remote Symmetrix array (sid 33) at Hop 2.

                       

   1. [   ]    Use a text editor (for example vi) to create a device file.

For example:

vi devfile

 

0001       00310002

00320003   00330004

00340005   0035

 

   2. [   ]    At the local host, type the symmir –f DeviceFile query sid SID command to display the status of the BCV pairs in the device file.

To display the status of the SRDF/AR BCV pairs on Hop 2 that were defined previously in device file devfile:

symmir -f devfile query -sid 33

 

Device File Name      : devfile

Device's Symmetrix ID : 000000005233

 

     Standard Device                   BCV Device                 State   

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

                    Inv.                                  Inv.              

Logical        Sym  Tracks Logical              Sym       Tracks STD <=> BCV

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

 

N/A            0001      0 N/A                  0031           0 Split      

N/A            0002      0 N/A                  0032           0 Split      

N/A            0003      0 N/A                  0033           0 Split      

N/A            0004      0 N/A                  0034           0 Split      

N/A            0005      0 N/A                  0035           0 Split      

 

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

  Track(s)               0                                     0

  MB(s)                0.0                                   0.0

 

Legend:

 

(*): The paired BCV device is associated with this group.

Task 2:     Create a new RDF2 device group and add devices

                       

   1. [   ]    On the remote host, type the symdg create GroupName –type rdf2command to create a new RDF2 device group.

To create device RDF2 group mbcv:

symdg create mbcv -type rdf2

 

   2. [   ]    Type the symdg -g GroupName addall dev –range StartDev:EndDev –sid SID command to add the specified range of devices to the device group..

To add devices 0001:0005 to device group mbcv:

symdg-g mbcv addall dev -range 0001:0005 -sid 33

 

   3. [   ]    Type the symbcv -g GroupName associateall dev –range StartDev:EndDev command to associate a range of remote BCV devices to the device group.

To associate remote BCV devices 0043:0047 to device group mbcv:

symbcv -g mbcv associateall dev -range 0043:0047

 

   4. [   ]    Type the symmir -g GroupName establish –full exact command to establish the non-SRDF/AR BCV pairs in the exact order they are defined in the device group.

To establish the non-SRDF/AR pairs listed in device group mbcv:

symmir -g mcbv establish -full –exact –noprompt

 

'Full Establish' operation execution is in progress for device group 'mbcv'.

Please wait...

 

'Full Establish' operation successfully initiated for device group 'mbcv'.

Task 3:     Query and verify the new device group

                       

   1. [   ]    From the remote host, type the symmir –g GroupName query command to display the status of the SRDF/AR BCV pairs.

To display the status of non-SRDF/AR pairs in device group mbcv:

symmir -g mbcv query

 

Device Group (DG) Name: mbcv

DG's Type             : RDF2

DG's Symmetrix ID     : 000000005233

 

     Standard Device                   BCV Device                 State   

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

                    Inv.                                  Inv.              

Logical        Sym  Tracks Logical              Sym       Tracks STD <=> BCV

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

 

DEV001         0001      0 BCV001               0043 *     18740 SyncInProg 

DEV002         0002      0 BCV002               0044 *      1467 SyncInProg 

DEV003         0003      0 BCV003               0045 *      7614 SyncInProg 

DEV004         0004      0 BCV004               0046 *      2305 SyncInProg 

DEV005         0005      0 BCV005               0047 *     18913 SyncInProg 

 

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

  Track(s)               0                                 49039

  MB(s)                0.0                                1532.5

 

Legend:

 

(*): The paired BCV device is associated with this group.

 

   2. [   ]    From the remote host,type the  symmir –g GroupName query -multi command to display the status of the SRDF pairs – both the SRDF/AR BCV pairs, and the non-SRDF/AR BCV pairs.

·        The first non-SRDF/AR pair in the following output is 0001/0043.

·        The first SRDF/AR pair is 0001/0031.

·        The N/A and the absence of an asterisk (*) indicates that the SRDF/AR BCVs are not associated with this device group (mbcv).

 

To display the status of SRDF pairs for device group mbcv:

symmir -g mbcv query -multi

 

Device Group (DG) Name: mbcv

DG's Type             : RDF2

DG's Symmetrix ID     : 000000005233

 

     Standard Device                   BCV Device                 State   

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

                    Inv.                                  Inv.              

Logical        Sym  Tracks Logical              Sym       Tracks STD <=> BCV

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

 

DEV001         0001      0 BCV001               0043 *     17027 SyncInProg 

                         2 N/A                  0031           0 Split      

DEV002         0002      0 BCV002               0044 *         0 Synchronized

                         2 N/A                  0032           0 Split      

DEV003         0003      0 BCV003               0045 *      5006 SyncInProg 

                         2 N/A                  0033           0 Split      

DEV004         0004      0 BCV004               0046 *         0 Synchronized

                         2 N/A                  0034           0 Split      

DEV005         0005      0 BCV005               0047 *     17850 SyncInProg 

                         2 N/A                  0035           0 Split      

 

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

  Track(s)              10                                 39883

  MB(s)                0.3                                1246.3

 

Legend:

 

(*): The paired BCV device is associated with this group.

 

   3. [   ]    From the remote host, type the symmir –g GroupName verify -i Interval command to check the state of the BCV pairs in the device group.

To verify the state of the BCV pairs in device group mbcv every 5 seconds:

symmir -g mbcv verify -i 5

 

Not all devices in group 'mbcv' are in the 'Synchronized or Restored' state.

 

Not all devices in group 'mbcv' are in the 'Synchronized or Restored' state.

 

All devices in group 'mbcv' are in the 'Synchronized or Restored' state.

Task 4:     Split the non-SRDF/AR BCV pairs

                       

   1. [   ]    From the remote host, type the symmir –g GroupName split –noprompt command to split the non-SRDF/AR BCV pairs in the device group.

To split the non-SRDF/AR BCV pairs in device group mbcv:

symmir -g mbcv split -noprompt

 

'Split' operation execution is in progress for device group 'mbcv'.

Please wait...

 

'Split' operation successfully executed for device group 'mbcv'.

 

If a concurrent BCV setup exists when an SRDF/AR copy cycle begins, SRDF/AR uses the last BCV pair that was established and split — regardless of whether it was the SRDF/AR BCV pair or the non-SRDF/AR BCV pair.

In this example, the last manipulated BCV pairs are the non-SRDF/AR BCV pairs.

The following examples show how to establish and split the SRDF/AR BCV pairs so that they are the last pairs to be manipulated before beginning the symreplicate copy cycle.

Note:  This manipulation is only required prior to starting SRDF/AR.

   2. [   ]    From the local host, type the symmir –f DeviceFile establish –sid SID command to establish the  SRDF/AR BCV pairs listed in the device file.

To establish the SRDF/AR BCV pairs in device file devfile:

symmir -f devfile establish -noprompt -sid 33

 

'Incremental Establish' operation execution is in progress for the device list

in device file 'devfile'. Please wait...

 

'Incremental Establish' operation successfully initiated for the device list

in device file 'devfile'.

 

   3. [   ]    From the local host, type the symmir –f DeviceFile split –sid SID command to split the device pairs listed in the device file.

To split SRDF/AR BCV pairs in device file devfile:

symmir -f devfile split -nop -sid 33

 

'Split' operation execution is in progress for the device list in device file

'devfile'. Please wait...

 

'Split' operation successfully executed for the device list in device file

'devfile'.

Task 5:     Start, query, and split a replication session

                       

   1. [   ]    Type the symreplicate –g GroupName start –options OptionsFile -foreground command to start the SRDF/AR copy cycle using the devices in thespecified device group and copy options in the specified options file.

To start a copy session for devices in device group sar using copy options in options file rep.txt:

symreplicate -g sar start -options rep.txt -foreground -noprompt

 

Checking for valid group configuration...

 

Checking for valid initial group state...

 

Checking for first hop BCV device synchronization...

 

Splitting first hop BCV pairs...

 

Incrementally establishing remote RDF pairs...

 

Waiting for remote RDF pair synchronization...

 

Incrementally establishing first hop BCV pairs...

 

Incrementally establishing second hop BCV pairs...

 

Waiting for second hop BCV synchronization...

 

Splitting second hop BCV pairs...

 

In the preceding symreplicate output, the SRDF/AR second-hop BCV pairs are in process of splitting.

While the SRDF/AR copy cycle is in progress, the standard devices are locked as a result of their participation in the SRDF/AR copy cycle.

If you want to establish the non-SRDF/AR BCV pairs with the SRDF/AR standard devices participating in the copy cycle, you must use the –skip option.

   2. [   ]    From the remote host, type the the symmir –g GroupName establish -skip command to override the device lock and establish the non-SRDF/AR BCVs with the SRDF/AR standard devices participating in the SRDF/AR copy cycle.

To override the device locks and establish the non-SRDF/AR devices in device group mbcv:

symmir -g mbcv establish -noprompt -skip

 

'Incremental Establish' operation execution is in progress for device group

'mbcv'. Please wait...

 

'Incremental Establish' operation successfully initiated for device group

'mbcv'.

 

   3. [   ]    From the remote host, type the the symmir –g GroupName query -multi command to display the status of concurrent BCV pairs, both SRDF/AR and non-SRDF/AR.

To display the status of concurrent devices in device group mbcv:

symmir -g mbcv query -multi

 

Device Group (DG) Name: mbcv

DG's Type             : RDF2

DG's Symmetrix ID     : 000000005233

 

     Standard Device                   BCV Device                 State   

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

                    Inv.                                  Inv.              

Logical        Sym  Tracks Logical              Sym       Tracks STD <=> BCV

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

 

DEV001         0001      0 BCV001               0043 *         0 Synchronized

                         0 N/A                  0031           0 Split      

DEV002         0002      0 BCV002               0044 *         0 Synchronized

                         0 N/A                  0032           0 Split      

DEV003         0003      0 BCV003               0045 *         0 Synchronized

                         0 N/A                  0033           0 Split      

DEV004         0004      0 BCV004               0046 *         0 Synchronized

                         0 N/A                  0034           0 Split       

DEV005         0005      0 BCV005               0047 *         0 Synchronized

                         0 N/A                  0035           0 Split      

 

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

  Track(s)               0                                     0

  MB(s)                0.0                                   0.0

 

Legend:

 

(*): The paired BCV device is associated with this group.

 

While the SRDF/AR copy cycle is in progress, the standard devices are locked as a result of their participation in the SRDF/AR copy cycle.

If you want to split the non-SRDF/AR BCV pairs participating in the copy cycle, you must use the –skip option.

   4. [   ]    From the remote host, type the the symmir –g GroupName split -skip command to split the non-SRDF/AR device pairs.

To split the non-SRDF/AR devices in device group mbcv:

symmir -g mbcv split -noprompt -skip

 

'Split' operation execution is in progress for device group 'mbcv'. Please wait...

 

'Split' operation successfully executed for device group 'mbcv'.