Establishing relationships for flashcopy se, Commands for establishing relationships, Using pprc tso to establish relationships – HP XP P9500 Storage User Manual

Page 99

Advertising
background image

Establishing relationships for FlashCopy SE

Keeping data consistent while establishing relationships

When you use the FCESTABL command to establish FlashCopy SE relationships, you can keep
data consistent by suspending write operations to S-VOLs using the ACTION parameter. The
ACTION parameter, which is a parameter for the FCESTABL command, is described in the
following table.

Table 54 Parameters for the FCESTABL command (FlashCopy SE / Suspending write operations to
S-VOLs)

Description

Value

Parameter

Suspend the write operations from the host to S-VOLs. Although if you establish a
relationship specifying extents, the ACTION parameter will suspend the write operation
to the whole volume.

FREEZE

ACTION

The following example shows how to use the FCESTABL command to suspend write operations
to an S-VOL when you establish a FlashCopy SE relationship. In this example, the FCESTABL
command creates a relationship between volumes (devices) numbered 4202 and 4203, and at
the same time suspends write operations from the host to the source device numbered 4202.

Example 10 FCESTABL command (Compatible FlashCopy SE / ACTION specified)

FCESTABL SDEVN(X'4202') TDEVN(X'4203') ACTION(FREEZE)
SETGTOK(YES) MODE(NOCOPY)

To resume writing to S-VOLs, issue the FCWITHDR command with the ACTION parameter specified.

If a timeout occurs before you issue the FCWITHDRAW command, write operations resume. The
default setting of timeout is 120 seconds (2 minutes). For details about changing the timeout setting,
see

“FC Z/FCSE window” (page 136)

.

Commands for establishing relationships

To establish Compatible FlashCopy SE relationships, you use one of the following sets of commands:

PPRC TSO

DFSMSdss

ICKDSF

z/VM CP

Using PPRC TSO to establish relationships

The following steps show how to use PPRC TSO with the FCESTABL command when you establish
Compatible FlashCopy SE relationships.
1.

Specify FCSETGTOK(YES) and MODE(NOCOPY), and then execute the FCESTABL command.
The EXTENTS, XTNTLST, and XXTNTLST parameters cannot be specified for Compatible
FlashCopy SE.

2.

Change the VOLSER of the T-VOL.

When the VTOC is copied, the VOLSER of the S-VOL and T-VOL become the same. The VOLSER
of the T-VOL must be changed before varying the T-VOL back online.

The following example shows how the FCESTABL command is used. In this example, the FCESTABL
command establishes a relationship to copy the data from the source device, numbered 4202, to
the target device, numbered 4203. This relationship is established in NOCOPY mode after 4203
is offline.

Establishing relationships for FlashCopy SE

99

Advertising