3 create global copy volume pairs – IBM DS6000 User Manual

Page 416

Advertising
background image

392

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

To define a path, use the following command:

dscli mkpprcpath -remotewwnn <WWN of your remote Storage Image> -consistgrp
-srclss <Source_LSS_ID> -tgtlss <Target_LSS_ID> -cfg <Source device configuration
file> <Source_IO_Port>:<Target_IO_PORT> <Source_IO_Port>:<Target_IO_PORT> ...

Example 26-48 illustrates how to create a path from the source LSS 65 in the storage disk
subsystem at site 1, to the target LSS 65 in the storage disk subsystem at site 2.

Example 26-48 mkpprcpath command example

dscli mkpprcpath -remotewwnn 5005076303FFC426 -consistgrp -srclss 65 -tgtlss 65 -cfg
$DSCLI/profile/DS-01.profile I0100:I0040 I0101:I0110
Date/Time: June 14, 2005 3:26:06 PM EDT IBM DSCLI Version: 5.0.3.134 DS: IBM.2107-7506551
CMUC00149I mkpprcpath: Remote Mirror and Copy path 65:65 successfully established.

To list the newly created paths, use the command

lspprc

, which is described in 26.11.1,

“Query status of the paths” on page 395.

26.10.3 Create Global Copy volume pairs

To create Global Copy volume pairs, first list the volumes that may become Global Copy
pairs. Once the volumes are identified, establish the Global Copy relationships for these pairs
with the corresponding DS CLI commands.

The first step is to see which Fixed Block volumes are available for Global Copy on the
source and the target LSS. For this, we use the following commands:

dscli lsfbvol -lss <Source_LSS_ID> -cfg <Source device configuration file>
dscli lsfbvol -lss <Target_LSS_ID> -cfg <Target device configuration file>

Example 26-49 shows the commands and the corresponding output information: the volumes
that are available on the source LSS

65

in the storage disk subsystem at site 1, and the

potential target volumes in the storage disk subsystem at site 2.

Example 26-49 lsfbvol command example

dscli lsfbvol -lss 65 -cfg $DSCLI/profile/DS-01.profile
Date/Time: June 14, 2005 7:11:56 PM EDT IBM DSCLI Version: 5.0.3.134 DS: IBM.2107-7506551

Name ID accstate datastate configstate deviceMTM datatype extpool cap (2^30B) cap (10^9B) cap (blocks)
================================================================================================================
GM_SRC_GC01 6500 Online Normal Normal 2107-900 FB 512 P5 1.0 - 2097152
GM_SRC_GC02 6501 Online Normal Normal 2107-900 FB 512 P5 1.0 - 2097152

dscli lsfbvol -lss 65 -cfg $DSCLI/profile/DS-02.profile
Date/Time: June 14, 2005 7:12:30 PM EDT IBM DSCLI Version: 5.0.3.134 DS: IBM.2107-7573731

Name ID accstate datastate configstate deviceMTM datatype extpool cap (2^30B) cap (10^9B) cap (blocks)
================================================================================================================
GM_TGT_GC01 6500 Online Normal Normal 2107-900 FB 512 P5 1.0 - 2097152
GM_TGT_GC02 6501 Online Normal Normal 2107-900 FB 512 P5 1.0 - 2097152
GM_TGT_JFC01 6502 Online Normal Normal 2107-900 FB 512 P5 1.0 - 2097152
GM_TGT_JFC02 6503 Online Normal Normal 2107-900 FB 512 P5 1.0 - 2097152

Note: The

consistgrp

option is intended for Metro Mirror.

Note: The following examples cover FB volumes. This is very similar for CKD volumes.
The command sequence and structure are identical for both volume types. The focus here
is rather on which DS CLI commands to use and on the sequence of these commands.

Advertising