IBM DS6000 Computer Drive User Manual


 
Chapter 26. Global Mirror examples 351
RSESSION SNBR(01) VOLSER(XX2D00) +
ACTION(DEFINE) +
LSSTYPE(CKD) LSSNBR(0D) +
ESSSERIAL(27131) +
MSSERIAL (27131)
Note that the VOLSER parameter is used to point to the LSSs that hold the Global Copy
primary volumes that will be part of this Global Mirror configuration. These volumes have to
be online to the system on which this job executes. This asks for a kind of utility volume within
each LSS. The ACTION(DEFINE) command parameter only defines, for each LSS, a session
number, which in our example is 01. It does not affect Global Copy, which is replicating the
writes I/O data from the local site to the remote site.
26.3.5 Populate the session with Global Copy primary volumes
Once the session is defined to the primary LSSs, we add Global Copy primary volumes to the
session. Example 26-14 shows the RVOLUME TSO command used to do this.
Example 26-14 Populate Global Mirror session with Global Copy primary volumes
//* ---------------------------- TSO ------------ CREATE (5) ----- ***
//* POPULATE SESSION X'01' WITH PRIMARY VOLUMES ***
//* ***
//* VOLUME LIST CONTAINS CCA NUMBERS ***
//* -------------------------------------------------------------- ***
//JOIN EXEC PGM=IKJEFT01
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DDNAME=SYSIN
RVOLUME SNBR(01) VOLSER(XX2C00) +
ACTION (JOIN) +
LSSTYPE (CKD) LSSNBR(0C) +
ESSSERIAL(27131) +
VOLLIST (00)
RVOLUME SNBR(01) VOLSER(XX2D00) +
ACTION (JOIN) +
LSSTYPE (CKD) LSSNBR(0D) +
ESSSERIAL(27131) +
VOLRANGE (00:01)
/*
Again we need an online volume to aim into the desired LSS. The first RVOLUME command
adds a volume from LSS 0C into session 01. Here we use the VOLLIST parameter that
contains the channel connection address (CCA) of the Global Copy primary volume.
The second RVOLUME command adds two volumes from LSS 0D into session 01. Here, we
use the VOLRANGE parameter, which contains a range of CCAs of Global Copy primary
volumes. VOLRANGE reads here as CCAs from 00 to 01, which is just two volumes in this
case.
Note that the Consistency Group formation has still not started. The only activity that is going
on is the Global Copy replication of data between the primary and secondary volumes.