IBM DS6000 Computer Drive User Manual


 
Chapter 26. Global Mirror examples 367
Figure 26-6 summarizes the scenario. The numbers indicate the sequence of events and
main considerations, and also relate to Figure 26-7 where the corresponding ICKDSF
commands are shown.
The sequence of steps for a Global Mirror planned outage is as follows:
1. Pause the Global Mirror session.
2. Suspend Global Copy pairs.
3. Application I/O continues all the time.
4. Failover from B to A. This turns the B volumes into Global Copy primary suspended.
5. Create a data consistent set of B volumes. This is done with a Fast Reverse Restore
(FRR) from the C to the B volumes.
6. Reestablish Global Mirror FlashCopy relationships from B to C. Both volumes are identical
afterwards.
7. Optionally create a data consistent set of D volumes.
8. Use the D volumes for test or other purposes.
9. In order to prepare and continue with Global Mirror, apply the changes that were
accumulated at the local site from the A volumes to the B volumes. This is done with a
Failback operation with the A volumes as primary and the B volumes as secondary.
10.Resume Global Mirror.
Figure 26-7 shows the corresponding ICKDSF commands for each step of the procedure.
Figure 26-7 ICKDSF command sequence for Global Mirror planned outage
Note that in most command examples ICKDSF refers to a corresponding JCL DD statement
through the DDNAME parameter. This DD statement points to the LSS or volume.
(1) Pause session
PPRCOPY DDNAME( DD01) TMASYNC -
SESSNO(001) -
PAUSE -
MASTER
PPRCOPY DDNAME( DD01) SUSPEND -
LSS( X' 05' X' 00' ) -
PRI ( X' E500' 27310 X' 00' ) -
SEC( X' 7000' 22399 X' 00' )
PPRCOPY UNI T ( 7000) ESTPAI R -
FAILOVER -
PRI (X' 7000' 22399 X' 00' ) -
SEC( X' E500' 27310 X' 00' ) -
LSS( X' 00' , X' 05' ) -
OP TI ON( X D)
FC UNIT(7100) ESTABLISH /* C VOLUME */ -
TARGETVOL(X'00',X'00',7000) /* B VOLUME */ -
FASTREVERSERESTORE / * REVERSE DI RECTI ON * / -
MODE (COPY) /* START BACKGROUNDCOPY */ -
ONLINTGT (YES) -
TGTOKPRIM (YES) -
TGTCANCOMEONLI NE ( NO)
(2) Suspend all XD pairs
(4) FAILOVER B->A
(5) Fast Reverse restore, FRR
(6) FlashCopy B->C Start Change Recording
FC UNIT(7000) ESTABLISH -
TARGETVOL (X'01',X'00',7100) -
CHRCD (YES) /* CHANGE RECORDING */ -
NOTGTWR (YES) /* INHIBIT TARGET WRI TES * / -
MODE (NOCOPY) /* NO BACKGROUND COPY */ -
ONLINTGT (YES) -
TGTCANCOMEONLI NE ( NO)
FC UNIT(7000) ESTABLISH /* B VOLUME */ -
TARGETVOL (X'01',X'10',7110) /* D VOLUME */ -
ONLINTGT (YES) -
TGTCANCOMEONLI NE ( NO)
(7) Flashcopy B -> D
PPRCOPY DDNAME(DD01) ESTPAIR /* A VOLUME */ -
FAILBACK -
PRI (X' E500' 27310 X' 00' ) / * A VOLUME */ -
SEC ( X' 7000' 22399 X' 00' ) / * B VOLUME */ -
LSS (X'05',X'00') -
OPTION (XD)
(9) FAILBACK (A=Primary, B=Secondary)
(10) Resume session
PPRCOPY DDNAME( DD01) STASYNC -
MODIFY -
SESSNO(001) -
CGIT(0) -
MXCT(3) -
MXDT(030)