186 IBM System Storage DS6000 Series: Copy Services with IBM System z
16.1 Resynchronization of suspended volume using TSO
To resynchronize a volume that is in a suspended state we need to obtain information such
as serial numbers, WWNNs, CCA and LSS numbers. We can obtain this information using
the CQUERY command, and then use it to reestablish the Metro Mirror pairs. Example 16-1
shows the CQUERY command and the output information it provides.
Example 16-1 CQUERY command to obtain information
ANTP8802I CQUERY DEVN(6400)
ANTP0090I CQUERY FORMATTED LVL 3 739
VOLUME REPORT
************** PPRC REMOTE COPY CQUERY - VOLUME ********************
* (PRIMARY) (SECONDARY) *
* SSID CCA LSS SSID CCA LSS*
*DEVICE LEVEL STATE PATH STATUS SERIAL# SERIAL# *
*------ --------- ---------- ----------- --------- --------- *
* 6400 PRIMARY.. SUSPEND(3) ACTIVE.. 0002 00 00 0003 00 01 *
* CRIT(NO)....... CGRPLB(NO). 0000000AAVCA 0000000AAVCA*
* PATHS PFCA SFCA STATUS: DESCRIPTION *
* ----- --------- ------ ------------------- *
* 1 0000 0100 13 PATH ESTABLISHED... *
* ---- ---- 00 NO PATH............ *
* ---- ---- 00 NO PATH............ *
* ---- ---- 00 NO PATH............ *
* SUBSYSTEM WWNN LIC LEVEL *
* ----------- ---------------- ----------- *
* PRIMARY.... 500507630EFFFCA0 5.0.00.0000 *
* SECONDARY.1 500507630EFFFCA0 *
********************************************************************
ANTP0001I CQUERY COMMAND COMPLETED FOR DEVICE 6400. COMPLETION CODE: 00
We see from the output that the device number 6400 is currently a primary volume and is in
suspend state. The SSID, CCA, LSS, and serial number information is on the right side of the
display for both the primary (0002, 00, 00, and AAVCA) and secondary devices (0003, 00, 01,
and AAVCA). The path information is also shown (one path from primary Fibre Channel adapter
0000 to secondary Fibre Channel adapter 0100).
We can see that this volume is mirrored to the same DS6000 via a loopback path (the serial
number for the primary and secondary DS6000 are the same).
We now have the information required for our Metro Mirror commands.
Resynchronize the pair
The CESTPAIR command can be used to establish a Metro Mirror pair from TSO. We already
had a pair established in the previous scenario; however, it was suspended. Therefore, we
had to resynchronize it so that the pair would be in duplex state again. Example 16-2 on
page 187 demonstrates how to use the CESTPAIR command with the MODE(RESYNC)
parameter to accomplish this.