HP P9000 for Compatible FlashCopy Mirroring User Guide (AV400-96388, October 2011)

5. Execute the FLASHCPY ESTABLISH command, specifying the FASTREVREST parameter and
reversing the S-VOL and the T-VOL. See the following example.
Example 13 FLASHCPY ESTABLISH Command (Fast Reverse Restore)
FLASHCPY ESTABLISH UNIT(X'7001') TARGETVOL(X'00',X'00',7000) FASTREVREST
By using Fast Reverse Restore, the S-VOL becomes a T-VOL and T-VOL becomes a S-VOL, and
then the data of the resulting S-VOL is copied to the resulting T-VOL in the following ways:
If the S-VOL before performing Fast Reverse Restore was updated, Fast Reverse Restore
copies only the data corresponding to the updated part from the resulting S-VOL to the
resulting T-VOL.
If the T-VOL was updated before performing Fast Reverse Restore, Fast Reverse Restore
copies only the data of the updated part from the resulting S-VOL to the resulting T-VOL.
Establishing Compatible FlashCopy relationships by volumes using ANTRQST macro
command
The following table lists the parameters you can use with the ANTRQST command when you establish
Compatible FlashCopy relationships by volumes.
Table 24 ANTRQST macro command parameters (REQUEST=FCESTABLISH)
DescriptionValueParameter
Specifies the device number (device address) of the S-VOL on which
you want to perform the FCESTABLISH command.
Source device numberSDEVN
Specifies the device number (device address) of the T-VOL on which
you want to perform the FCESTABLISH command.
Target device numberTDEVN
Establishes a relationship including all the tracks in the volume. If
you specify YES for this parameter and COPY for the MODE
YESINCREMENTAL
parameter, the relationship will be maintained even after the
background copying process is completed, and the differential data
between the S-VOL and the T-VOL will be managed. As long as the
relationship is maintained, you cannot update the T-VOL.
The differential data between the S-VOL and the T-VOL will be
copied when you execute the FCESTABL command with
INCREMENTAL parameter specified.
The relationship will be deleted after the background copying
process is completed.
NO
NO is the default setting.
Specify this parameter to use the Compatible FlashCopy T-VOL as
the Cnt Ac-S Z M-VOL.
YESTGTPPRIM
Specify this parameter not to use the Compatible FlashCopy T-VOL
as the Cnt Ac-S Z M-VOL (or Cnt Ac-J Z P-VOL).
NO
NO is the default setting.
Obtains the return code and the reason code of the execution
results. For details about the codes, see the IBM manual.
Return valueRETINFO
All the data in the copy range of the volume specified as the source
by SDEVN is copied in the background to the volume specified as
COPYMODE
the target by TDEVN. The relationship ends automatically, and the
Compatible FlashCopy pair is deleted when all the data is copied.
COPY is the default setting.
50 Performing Compatible FlashCopy operations