IBM DS6000 User Manual

Page 219

Advertising
background image

Chapter 16. Metro Mirror examples

195

Establish a volume pair

Similar to System z volumes, we first have to collect the required information. In this example,
we already had a path defined to the secondary subsystem. We issued a CQUERY command
with the ODEVN parameter to check the status of the volume, as seen in Example 16-8. Note
that we have to direct the command (using the DEVN parameter) to a z/OS device with the
same server affinity as the open systems volume (therefore, in this example, we direct it to a
volume in LSS

00

, which has the same server affinity as LSS

16

).

Example 16-8 CQUERY for open systems device

CQUERY DEVN(6030) ODEVN(AAGXA X'00' X'16') VOLUME

The serial number of the DS subsystem is supplied, along with the LUN number (x’00’) and
the LSS number (x’16’). The output appears similar to that shown in Example 16-9.

Example 16-9 CQUERY for open systems device output

ANTP8802I CQUERY DEVN(6030) ODEVN(AAGXA X'00' X'16') VOLUME
ANTP0090I CQUERY FORMATTED LVL 3 472
VOLUME REPORT
************** PPRC REMOTE COPY CQUERY - VOLUME ********************
* (PRIMARY) (SECONDARY) *
* SSID LUN LSS SSID LUN LSS*
*DEVICE LEVEL STATE PATH STATUS SERIAL# SERIAL# *
*------ --------- ---------- ----------- --------- --------- *
* 6030 ......... SIMPLEX... INACTIVE FF16 00 16 .......... *
* ............... ........... 0000000AAGXA ............*
* PATHS SAID DEST STATUS: DESCRIPTION *
* ----- --------- ------ ------------------- *
* 0 ---- ---- 00 NO PATH............ *
* ---- ---- 00 NO PATH............ *
* ---- ---- 00 NO PATH............ *
* ---- ---- 00 NO PATH............ *
* SUBSYSTEM WWNN LIC LEVEL *
* ----------- ---------------- ----------- *
* PRIMARY.... 500507630EFFFC6F 5.0.00.0000 *
* SECONDARY.1 500507630EFFFCA0 *
* SECONDARY.2 500507630EFFFCA0 *
********************************************************************
ANTP0001I CQUERY COMMAND COMPLETED FOR DEVICE 6030. COMPLETION CODE: 00

The device is in simplex state. Note the SSID reports with special value

FF16

; this is the open

systems LSS number preceded with

FF

.

We want to establish a pair with the secondary device on LSS

16

, LUN number

00

. The

command format that we use is shown in Example 16-10.

Example 16-10 CESTPAIR command for open systems LUN

CESTPAIR DEVN(X'6030') PRIM(X'FF16' AAGXA X'00' X'16') -
SEC(X'FF16' AAVCA X'00' X'16') OPENDVCS(YES) -
OPTION(SYNC) MODE(COPY)

We used the OPENDVCS parameter and the special SSID value FF16 to identify that this is
an open systems device, on LSS 16, and that we want to direct the command to the open
systems LSS. The LUN number is supplied where we would normally supply the CCA, and
the LSS number is supplied in the normal position. The output from this command and a
subsequent CQUERY are shown in Example 16-11 on page 196.

Advertising