Chapter 14. Metro Mirror interfaces 157
Example 14-10 CRECOVER command
CRECOVER DEVN(X’6400’) -
PRIM(‘X0002’ AAVCA X’00’ X’00’) -
SEC(X’0003’ AAVCA X’00’ X’01’) -
ID(VOL002 VOL001) -
MSGREQ(YES)
In Example 14-10, the CRECOVER command brings device x’6400’ (on the recovery
DS6000) to simplex state. It also changes the volume label from VOL002 to VOL001.
14.2.9 CSUSPEND
This command is used to suspend Metro Mirror operations between a volume pair. Metro
Mirror stops mirroring data to the secondary volume and starts keeping record of the primary
volume tracks that are updated. The information about which tracks were updated while the
pair was suspended is used later when the pair is re-established, to copy just the updated
tracks.
In Example 14-11, a CSUSPEND command is issued for Metro Mirror primary volume 6400.
Example 14-11 CSUSPEND command
CSUSPEND DEVN(X'6400') PRIM(X'0002' AAVCA X'00' X'00') -
SEC(X'0003' AAVCA X'00' X'01')
14.2.10 Batch execution of Metro Mirror TSO commands
Batch procedures can be used to automate the management of Metro Mirror. JCL can be
used to issue Metro Mirror commands in batch jobs, and automation procedures can be set to
watch for their completion. Automation could analyze the results from previous job executions
or Metro Mirror messages, and then schedule other jobs to be executed. Example 14-12
illustrates a batch job for executing a Metro Mirror TSO command.
Example 14-12 Batch job for executing Metro Mirror commands
//IKJEFT01 JOB MSGLEVEL=(1,1),MSGCLASS=A,NOTIFY=user id
//STEP1 EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
CDELPATH DEVN(X'6400') PRIM(X'0002' 500507630EFFFCA0 X'00') -
SEC(X'0003' 500507630EFFFCA0 X'01')
14.3 ICKDSF
The System z ICKDSF utility offers a means of control for Metro Mirror functions. ICKDSF
typically runs as a batch program, and so can be automatically run from batch scheduling
products (for example, Tivoli Workload Scheduler). It also supports VM and VSE systems.
For more information about ICKDSF, refer to Device Support Facilities User’s Guide and
Reference, GC35-0033.