IBM DS6000 Computer Drive User Manual


 
Chapter 26. Global Mirror examples 349
Example 26-10 Verify that the establish Global Copy succeeded
************** PPRC REMOTE COPY CQUERY - VOLUME ********************
* (PRIMARY) (SECONDARY) *
* SSID CCA LSS SSID CCA LSS*
*DEVICE LEVEL STATE PATH STATUS SERIAL# SERIAL# *
*------ --------- ---------- ----------- --------- --------- *
* 2D00 PRIMARY.. PENDING.XD ACTIVE.. 2D00 00 0D 3D00 00 0D *
* CRIT(NO)....... CGRPLB(NO). 000000027131 000000073081*
* PATHS PFCA SFCA STATUS: DESCRIPTION *
* ----- --------- ------ ------------------- *
* 4 0030 0030 13 PATH ESTABLISHED... *
* 0130 0130 13 PATH ESTABLISHED... *
* 0230 0230 13 PATH ESTABLISHED... *
* 0331 0330 13 PATH ESTABLISHED... *
* IF STATE = PENDING/SUSPEND: TRACKS OUT OF SYNC = 49812 *
* TRACKS ON VOLUME = 50085 *
* PERCENT OF COPY COMPLETE = 1% *
* SUBSYSTEM WWNN LIC LEVEL *
* ----------- ---------------- ----------- *
* PRIMARY.... 5005076303FFC228 5.0.03.0097 *
* SECONDARY.1 5005076303FFC422 *
********************************************************************
CQUERY COMMAND COMPLETED FOR DEVICE 2D00. COMPLETION CODE: 00
Note that the CQUERY commands and their output are also written to SYSLOG. This may
flood the SYSLOG when you issue many CQUERY commands. An alternative may be to
query the Global Copy volume pairs and their status with ICKDSF-based query commands.
26.3.3 Establish FlashCopy relationships
Once the first pass is completed for Global Copy, establish the FlashCopy relationships
between the B and C volumes. Example 26-11 shows three FCESTABL TSO commands to
establish the FlashCopy pairs: one FlashCopy pair in the first LSS pair, and two FlashCopy
pairs in the second LSS pair. Note that this example implies that there is a host connectivity to
the remote storage disk subsystem, because the FlashCopy commands are directed to the
source and target FlashCopy volumes via their z/OS device numbers. No inband FlashCopy
TSO commands are used here.
Example 26-11 Establish FlashCopy pairs between B and C volume with TSO
//* ---------------------------- TSO ----------------------------- ***
//* FLASHCOPY B -> C START CHANGE RECORDING NOCOPY ETC. THROUGH ***
//* MODE(ASYNC) ***
//* -------------------------------------------------------------- ***
//* SOURCE AND TARGET REQUIRED / ONLINTGT(YES) - JUST IN CASE ***
//* -------------------------------------------------------------- ***
//FCESTBL EXEC PGM=IKJEFT01
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DDNAME=SYSIN
FCQUERY DEVN (X'3C00')
FCESTABL SDEVN(X'3C00') TDEVN(X'3E00') +
MODE (ASYNC) ONLINTGT(YES)
FCQUERY DEVN (X'3C00')
FCQUERY DEVN (X'3D00')
FCESTABL SDEVN(X'3D00') TDEVN(X'3F00') +