IBM DS6000 Computer Drive User Manual


 
310 IBM System Storage DS6000 Series: Copy Services with IBM System z
24.3.7 Start a Global Mirror session
The new RSESSION command is used to start the Global Mirror session. With the
ACTION(START) parameter, you indicate the start of the Consistency Groups formation.
Example 24-17 Start Global Mirror session
//* ---------------------------- TSO ------------ CREATE (6) ----- ***
//* START SESSION X'01' THROUGH LSS X'0C' ***
//* ***
//* THEN LSS X'0C' BECOMES THE MASTER LSS (DS) ***
//* NOTE: LSS SYNTAX IS WITHOUT X AND QUOTES ... ***
//* ***
//* CGINTERVAL - BUILD CG WITHOUT A BREAK ***
//* CGDRAIN - ALLOW 10 MINUTES FOR DRAINING ***
//* COORDINTERVAL - ALLOW 5 MS MAX FOR COORDINATION ***
//* -------------------------------------------------------------- ***
//START EXEC PGM=IKJEFT01
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DDNAME=SYSIN
RSESSION SNBR(01) VOLSER(XX2C00) +
ACTION (START) +
LSSTYPE (CKD) LSSNBR(0C) +
ESSSERIAL (27131) +
MSSERIAL (27131) +
CGINTERVAL (00) +
CGDRAIN (600) +
COORDINTERVAL(05)
Example 24-17 shows the START command that begins the formation of Consistency Groups
for session number x’01’. Besides the ACTION parameter, you address the LSS number that
receives this command. This also defines the Master LSS, which is LSS number x’0C’.
You may override the default values of the Global Mirror session parameters. In our example
we keep the default value for CGINTERVAL, but we change the defaults for CGDRAIN to 10
minutes as the maximum Consistency Group Drain time. We also change the maximum
coordination time COORDINTERVAL to 5 ms.
24.3.8 Query a Global Mirror session
To obtain status information about the Global Mirror session, we use the RQUERY command.
Example 24-18 shows an RQUERY command example.
Example 24-18 New TSO RQUERY command
RQUERY SNBR(01) VOLSER(volser) ACTION(action) LSSNBR(lss) LSSTYPE(type) DVCNBR(###)
The following parameters are used with this command:
SNBR indicates the Global Mirror session number from which a query report is requested.
This parameter is optional. When omitted, RQUERY will report all session numbers that
are available in the addressed primary storage disk subsystem.
VOLSER indicates an online z/OS volume serial number. This utility volume is used to
address the RQUERY command to the particular LSS where the query report is
requested.