HP XP7 for Compatible FlashCopy Mirroring User Guide (TK940-96001)

Using z/VM FLASHCOPY TGTWRITE command to remove write-protection from an
S-VOL
To remove write protection from the S-VOL of a relationship, use the FLASHCOPY TGTWRITE
command.
The following table shows the parameter that is available with the FLASHCOPY TGTWRITE
command:
Table 32 Parameters for the FLASHCOPY TGTWRITE command
DescriptionValueParameter
Specifies the device number (device address or mini disk
number), the starting cylinder, and the ending cylinder
of the copy destination.
Secondary device number, Starting
cylinder of target, Ending cylinder of
target
TARGET
Suspending Write Operations to S-VOLs while establishing relationships
for Compatible FlashCopy
When you use FCESTABL to establish Compatible FlashCopy relationships, you can suspend the
write operations to S-VOLs. Suspending write operations to S-VOLS helps to keep data consistent.
The ACTION parameter in the following table is available, in addition to the parameters in
Table 21 (page 43) and Table 25 (page 55).
Table 33 Parameters for the FCESTABL command (Compatible FlashCopy / In case of suspending
write operations to S-VOLs)
DescriptionValueParameter
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.
FREEZEACTION
The following example shows how to use the FCESTABL command (ACTION specified) to suspend
the write operation to an S-VOL when you establish a Compatible FlashCopy relationship. In this
example, the FCESTABL command establishes a relationship of the volumes (devices) numbered
4202 and 4203, and at the same time, suspends the write operation from the host to the source
device numbered 4202.
FCESTABL SDEVN(X'4202') TDEVN(X'4203') ACTION(FREEZE)
To resume the write operation to S-VOLs, you need to issue the FCWITHDR command with the
ACTION parameter specified.
If a timeout occurs, the write operation may be resumed although you do not issue the FCWITHDR
command. The default setting of timeout is 120 seconds (2 minutes), however, you can change it.
CAUTION: Remember that the state-change-pending time (SCP time) of Compatible FlashCopy
and Continuous Access Synchronous Z is the same. Therefore, when you are going to change the
state-change-pending time of Compatible FlashCopy, you need to decide the setting value,
considering that the state-change-pending time of Continuous Access Synchronous Z will also be
changed to the same value. For information about the state-change-pending time of Continuous
Access Synchronous Z, see the HP XP7 Continuous Access Synchronous for Mainframe Systems
User Guide.
Changing the SCP Time
Prerequisites
Required role: Storage Administrator (Local Copy) and Storage Administrator (Remote Copy)
1. In the tree, click Replications > Local Replications.
Suspending Write Operations to S-VOLs while establishing relationships for Compatible FlashCopy 61