HP XP7 Storage User Manual
Page 51
FLASHCPY ESTABLISH UNIT(X'7000')
TARGETVOL(X'00',X'01',7001) CHANOERECORDINO(YES)
The relationship is created.
5.
Execute the FLASHCPY ESTABLISH command (Reverse Restore), specify the RESTORE
parameter, and reverse the S-VOL and the T-VOL, for example:
FLASHCPY ESTABLISH UNIT(X'7001') TARGETVOL(X'00',X'00',7000) RESTORE
If the S-VOL is updated before executing the Reverse Restore command, then only the data of the
updated part of the S-VOL (differential data) is copied to the T-VOL. When the T-VOL is updated,
before performing Reverse Restore, only the data of the updated part of the T-VOL is copied from
the S-VOL.
Set the CHANOERECORDINO parameter to YES to maintain the relationship after the copying
process is completed and to manage the differential data between the S-VOL and the T-VOL. If the
CHANOERECORDINO parameter is not specified, then the relationship is deleted after the copying
process is completed.
Creating relationships using Incremental FlashCopy (Fast Reverse Restore): FLASHCPY ESTABLISH
You can create relationships with the Incremental FlashCopy function. You can then copy the
differential data by reversing the S-VOL and the T-VOL with the Fast Reverse Restore function.
To create relationships and copy differential data:
1.
Set the T-VOL to offline.
2.
Specify the JCL statement in the DDNAME parameter, or specify the S-VOL device number in
the UNITADDRESS parameter.
3.
Specify the CU number, LDEV number, and device number of the T-VOL for the TARGETVOL
parameter.
4.
Execute the FLASHCPY ESTABLISH command (Incremental FlashCopy), specifying YES for
the CHANOERECORDINO parameter. See the following example:
FLASHCPY ESTABLISH UNIT(X'7000')
TARGETVOL(X'00',X'01',7001) CHANOERECORDINO(YES)
The relationship is created.
5.
Execute the FLASHCPY ESTABLISH command (Fast Reverse Restore), specifying the
FASTREVREST parameter and reversing the S-VOL and the T-VOL. See the following example:
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 an S-VOL.
After that, the data of the resulting S-VOL is copied to the resulting T-VOL in the following
manner:
•
If the S-VOL was updated before performing Fast Reverse Restore, Fast Reverse Restore
copies only the updated data to the resulting T-VOL.
•
If the T-VOL was updated before performing Fast Reverse Restore, Fast Reverse Restore
copies only the updated data from the resulting S-VOL to the resulting T-VOL.
Recreating relationships with Incremental FlashCopy (Restore): FLASHCPY ESTABLISH
To recreate relationships and copy the differential data:
1.
Set the T-VOL to offline.
2.
Specify the JCL statement in the DDNAME parameter or specify the S-VOL device number in
the UNITADDRESS parameter.
3.
Specify the CU number, LDEV number, and device number of the T-VOL for the TARGETVOL
parameter.
4.
Specify YES for the CHANOERECORDINO parameter and execute the FLASHCPY ESTABLISH
command (Incremental FlashCopy), for example:
Establishing relationships for Compatible FlashCopy
51