
Chapter 16. Metro Mirror examples
187
Example 16-2 Resume suspended Metro Mirror pair from TSO
CESTPAIR DEVN(X'6400') PRIM(X'0002' AAVCA X'00' X'00') -
SEC(X'0003' AAVCA X'00' X'01') OPTION(SYNC) MODE(RESYNC)
ANTP8802I CESTPAIR DEVN(X'6400') PRIM(X'0002' AAVCA X'00' X'00')
SEC(X'0003' AAVCA X'00' X'01') OPTION(SYN
ANTP8802I (CONT) C) MODE(RESYNC)
ANTP0001I CESTPAIR COMMAND COMPLETED FOR DEVICE 6400. COMPLETION CODE:
00
IEA494I 6400,DS6400,PPRC PAIR PENDING,SSID=0002,CCA=00
IEA494I 6400,DS6400,PPRC PAIR FULL DUPLEX,SSID=0002,CCA=00
16.2 Failover and failback using TSO
In this example we perform a failover and a failback using TSO commands. These options
can be used in both planned and unplanned scenarios. We simulate a planned outage.
In this discussion, the volumes at the primary site are referred to as the A volumes, and the
volumes at the recovery site are referred to as the B volumes. FlashCopy volumes are
referred to as C volumes.
16.2.1 Failover process
The high level process for the failover in a planned scenario is as follows:
1. Quiesce applications at the primary site.
2. Issue the Metro Mirror CESTPAIR command to the secondary (B) volume as the DEVN,
specifying the ACTION(FAILOVER) and reversing the original PRIMARY and
SECONDARY parameters. This establishes the B volumes as suspended primaries,
activates change recording on the B volumes, and releases write inhibit on the B volumes.
3. If desired, FlashCopy the B volume suspended primaries to C volumes to provide safe
copies for interim disaster recovery protection.
4. Restart applications at the recovery site. This includes bringing the B volumes online.
Here we show examples of the TSO commands that can be used to accomplish these
actions.
CESTPAIR with FAILOVER
We use the CESTPAIR command with the ACTION(FAILOVER) to the B volume to reverse
the original Metro Mirror direction and start change recording as shown in Example 16-3.
Note that we have reversed the original PRIM and SEC parameters.
Example 16-3 Establish Metro Mirror pair using TSO
ANTP8802I CESTPAIR DEVN(X'6430') SEC(X'2060' AAGXA X'30' X'00')
PRIM(X'0003' AAVCA X'30' X'01') ACTION(FAILOVER)
ANTP0001I CESTPAIR COMMAND COMPLETED FOR DEVICE 6430. COMPLETION CODE:
00
Tip: You may want to do a FlashCopy of your recovery site prior to running the
resynchronization, because the resynchronization process does not apply the updated
tracks in the order they were updated, and therefore you will have a data consistency
exposure until the last volume pair is again in duplex state.
Summary of Contents for System storage DS6000 Series
Page 2: ......
Page 24: ...xxii IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 38: ...14 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 40: ...16 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 60: ...36 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 64: ...40 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 66: ...42 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 86: ...62 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 92: ...68 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 144: ...120 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 152: ...128 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 204: ...180 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 208: ...184 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 224: ...200 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 242: ...218 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 260: ...236 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 288: ...264 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 290: ...266 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 358: ...334 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 432: ...408 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 434: ...410 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 438: ...414 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 454: ...430 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 456: ...432 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 480: ...456 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 490: ...466 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 524: ...500 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 552: ...528 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 560: ...536 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 564: ...540 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 574: ...550 IBM System Storage DS6000 Series Copy Services with IBM System z...
Page 577: ......