3 delete the global mirror session, 4 remove flashcopy relationships, Example 26-27 – IBM DS6000 User Manual

Page 386

Advertising
background image

362

IBM System Storage DS6000 Series: Copy Services with IBM System z

Example 26-27 Query Global Mirror volumes after removal

RQUERY SNBR(01) VOLSER(XX2C00) ACTION(DVCSTAT)

RQUERY Output Volser(XX2C00) Action(DVCSTAT) Version(001)
SNbr LSS Dvc VolStat PriPPRCStat SecCascStat
-- -- -- -------------------- ---------- ----------
01 NoVolumes
READY

RQUERY SNBR(01) VOLSER(XX2D00) ACTION(DVCSTAT)

RQUERY Output Volser(XX2D00) Action(DVCSTAT) Version(001)
SNbr LSS Dvc VolStat PriPPRCStat SecCascStat
-- -- -- -------------------- ---------- ----------
01 NoVolumes

26.5.3 Delete the Global Mirror session

The next step is to delete the Global Mirror session from all the involved LSSs.
Example 26-28 shows how to do this.

Example 26-28 Delete the Global Mirror session from all involved LSSs

//* ------------------ TSO ----------------- CLEANUP (3) --------- ***
//* UNdefine GM session number X'01' through both involved LSS #s ***
//* == ***
//* -------------------------------------------------------------- ***
//UNDEFINE EXEC PGM=IKJEFT01
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DDNAME=SYSIN

RSESSION SNBR(01) VOLSER(XX2C00) +
ACTION(UNDEFINE) +
LSSTYPE(CKD) LSSNBR(0C) +
ESSSERIAL(27131) +
MSSERIAL (27131)

RSESSION SNBR(01) VOLSER(XX2D00) +
ACTION(UNDEFINE) +
LSSTYPE(CKD) LSSNBR(0D) +
ESSSERIAL(27131) +
MSSERIAL (27131)

RQUERY SNBR(01) VOLSER(XX2C00) ACTION(DVCSTAT)
RQUERY SNBR(01) VOLSER(XX2C00) ACTION(GMLSTAT)
RQUERY SNBR(01) VOLSER(XX2C00) ACTION(GMPSTAT)

26.5.4 Remove FlashCopy relationships

After the Global Mirror session is removed and deleted, you may remove the FlashCopy
relationships between the B and C volumes. Example 26-29 on page 363 shows how to do
this.

Advertising