IBM DS6000 Computer Drive User Manual


 
Chapter 26. Global Mirror examples 357
Example 26-20 Create optional second copy of data consistent D volumes
//* ---------------------------- TSO ------------ CREATE (5) ----- ***
//* FLASHCOPY B -> D TO CREATE COPY TO WORK (TEST) WITH ***
//* -------------------------------------------------------------- ***
//FCESTBL EXEC PGM=IKJEFT01
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DDNAME=SYSIN
FCESTABL SDEVN(X'3C00') TDEVN(X'3E02')
FCQUERY DEVN (X'3C00')
FCESTABL SDEVN(X'3D00') TDEVN(X'3F02')
FCQUERY DEVN (X'3D00')
FCESTABL SDEVN(X'3D01') TDEVN(X'3F03')
FCQUERY DEVN (X'3D01')
26.4.7 Create a data consistent set of C volumes
We recommend to create a second set of consistent data on the C volumes after you have
created the B volumes as described in 26.4.5, “Create a data consistent set of B volumes” on
page 356.
Example 26-21 Setup Global Mirror FlashCopy between B and C volumes again
//* ---------------------------- TSO ----------------------------- ***
//* FLASHCOPY B -> C START CHANGE RECORDING NOCOPY ETC. THROUGH ***
//* MODE(ASYNC) OPTION (GET READY FOR GM) ***
//* -------------------------------------------------------------- ***
//FCESTBL EXEC PGM=IKJEFT01
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DDNAME=SYSIN
FCESTABL SDEVN(X'3C00') TDEVN(X'3E00') MODE(ASYNC)
FCQUERY DEVN (X'3C00')
FCESTABL SDEVN(X'3D00') TDEVN(X'3F00') MODE(ASYNC)
FCQUERY DEVN (X'3D00')
FCESTABL SDEVN(X'3D01') TDEVN(X'3F01') MODE(ASYNC)
FCQUERY DEVN (X'3D01')
Example 26-21 does a reestablish of the previous Global Mirror FlashCopy relationship
between the B and C volumes. This prepares the configuration for returning to the local site
and resuming Global Mirror as it used to be. At the same time, it also provides another copy
of data consistent volumes on the C volumes. Upon this the B volumes and the C volumes
are identical.
If you have to restart again because a previous restart to the B volumes was faulty, or the
restart was not set up correctly, you may flash again from C to B to recreate a data consistent
set of volumes on the B volumes.