Applying the FlashCopy revertible option to existing FlashCopy relationships

Complete this task to prepare for disaster recovery of a FlashCopy consistency group in a Global Mirror configuration. Issue the setflashrevertible command to a FlashCopy® relationship with the persistent, change recording, target write inhibit, and no copy options enabled, and the revertible option disabled. It is not valid to issue the setflashrevertible command to a FlashCopy relationship that is already revertible.

The setflashrevertible command modifies a FlashCopy volume pair that is part of a Global Mirror relationship to revertible. If a failure occurs on the primary site during a Global Mirror create FlashCopy consistency group process and if that failure results in an inconsistency of the FlashCopy consistency group target volumes, you might be able to correct the inconsistency either by discarding changes or committing changes to the target volumes. The revertible option allows data to be committed to the target to form a new consistency group or to be reverted back to the last consistency group. The setflashrevertible command must be run before the FlashCopy pair can be committed or reverted. You must have previously created a FlashCopy relationship with the persistent, change recording, target write inhibit, and no copy options enabled. The FlashCopy Revertible option must be disabled prior to performing this task. It is not valid to perform the FlashCopy Revertible task on a FlashCopy relationship that is already revertible.

The FlashCopy Revertible task restarts an existing FlashCopy volume pair with the revertible option enabled for disaster recovery. The FlashCopy Revertible option remains in effect until the commit changes or discard changes task is performed. Both the commit changes and discard changes tasks disable the FlashCopy revertible option.

You can perform the FlashCopy Revertible task using either the DS CLI or the DS Storage Manager.

Perform the following steps to apply the revertible option to existing FlashCopy relationships with DS CLI commands. The example commands in this task are shown in two formats. The first format shows the type of information that the command requires. The second format is an example command with declared values for the variables.

Note: The -nocp, -record, -persist, and -tgtinhibit (target inhibit) parameters are included automatically when this command processes.
Issue the setflashrevertible command to apply the revertible option to existing FlashCopy relationships. Enter the setflashrevertible command at the dscli command prompt with the following parameters and variables:

dscli>setflashrevertible -dev storage_image_ID sourcevolumeID:targetvolumeID

Note: Specify the storage unit for the -dev storage_image_ID parameter. This parameter is required if you do not specify a fully qualified ID for the source and target volumes and you do not specify a value for the devid variable in your profile file.

Example

dscli>setflashrevertible
 IBM.1750-68FA120/0100:IBM.1750-68FA120/0200
The resulting output
Date/Time: Sun Aug 11 02:23:49 PST 2004 IBM DS CLI Version: 5.0.0.0  
DS: IBM.1750-68FA120

FlashCopy volume pair IBM.1750-68FA120/0100:IBM.1750-68FA120/0200 successfully
made revertible.
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.