Remove Volumes From Global Mirror; Un-Define The Global Mirror Session - IBM System storage DS6000 Series Redbook

Copy services with ibm system z
Hide thumbs Also See for System storage DS6000 Series:
Table of Contents

Advertisement

Example 24-33 Stop Global Mirror session with ICKDSF
//* -------------------------------------------------------------- ***
//TERMSESS EXEC PGM=ICKDSF
//SYSPRINT DD SYSOUT=*
//DD01
//SYSIN
PPRCOPY DDNAME(DD01) TMASYNC
/*
Note also that an ongoing process to form a Consistency Group may not come to a
successful end when you TERMINATE a session. In contrast to TERMINATE, a PAUSE
would finish an ongoing Consistency Group formation before stopping further creation of
Consistency Groups.

24.5.11 Remove volumes from Global Mirror

Next we remove the Global Copy primary volumes (A) from the Global Mirror session. Note
that the session still exists; the previous TERMINATE parameter command just stopped the
formation of Consistency Groups.
Example 24-34 Remove the A volumes from the Global Mirror session through ICKDSF
//* -------------------------------------------------------------- ***
//REMOVE EXEC PGM=ICKDSF
//SYSPRINT DD SYSOUT=*
//DD01
//SYSIN
PPRCOPY DDNAME(DD01) POPSESS
Example 24-34 is an ICKDSF example that removes four Global Copy primary volumes from
session number 001. DDNAME points to the corresponding LSS. Note also that the REMOVE
parameter command does not stop Global Copy from replicating data to the remote site.
The REMOVE parameter command is required for each LSS at the local site that contains
volumes that belong to the Global Mirror session number 001.

24.5.12 Un-define the Global Mirror session

Now we delete the session and its session number from all involved LSSs at the local site.
Although the ICKDSF command in Example 24-35 specifies DEFINESESSION (or
DEFSESS), the parameter CLOSE will in fact remove the Global Mirror session, and the
corresponding session number, from the LSS pointed to by DDNAME. This command must
be repeated for all LSSs that were involved in the Global Mirror session number 001.
DD UNIT=3390,VOL=SER=AA6000,DISP=SHR
DD *
SESSNO(001)
TERMINATE
MASTER
DD UNIT=3390,VOL=SER=AA6000,DISP=SHR
DD *
REMOVE
SESSNO
(001)
VOLCOUNT (1)
RANGE
(YES)
RVOLLIST ((X'00',X'03'))
-
-
-
-
-
-
-
-
Chapter 24. Global Mirror interfaces
325

Advertisement

Table of Contents
loading

Table of Contents