IBM DS6000 Computer Drive User Manual


 
404 IBM System Storage DS6000 Series: Copy Services with IBM System z
4. If some FlashCopy pairs are revertible and at least one is not revertible, but all their
sequence numbers are equal, it means that some FlashCopy pairs are running in a
Consistency Group process and some have already finished their incremental process.
We need to commit data to a target volume to form a consistency between the source and
target. Only the FlashCopy pairs that have not already finished their incremental process
will have to commit the changes because nonrevertible pairs have already committed
theirs. For this use the commitflash command of the DS CLI. If you use this command on
FlashCopy pairs that are not revertible, it will only display error messages.
The syntax of the revertflash and the commitflash commands is as follows:
dscli revertflash -seqnum <FlashCopy_Sequence_NB> -cfg <Device configuration
file> <Source_Volume> <Source_Volume> ...
dscli commitflash -seqnum <FlashCopy_Sequence_NB> -cfg <Device configuration
file> <Source_Volume> <Source_Volume> ...
Example 26-72 shows the revertflash command on the FlashCopy pairs with the source
volumes 6500 and 6501, which are on the storage disk subsystem that is at site 2, and the
lsflash command that displays the sequence number 9D9B as the actual sequence number
for both pairs,
Example 26-72 revertflash command
dscli revertflash -seqnum 9D9B 6500 6501 -cfg $DSCLI/profile/DS-02.profile
Date/Time: June 15, 2005 5:31:34 PM EDT IBM DSCLI Version: 5.0.3.134 DS: IBM.2107-7573731
CMUC00171I revertflash: FlashCopy volume pair 6500:6500 successfully reverted.
CMUC00171I revertflash: FlashCopy volume pair 6501:6501 successfully reverted.
To reverse the FlashCopy relationship, and copy the data from the target volume to the
source volume, do a Fast Reverse Restore (FRR) process. To do this, use the following
command:
dscli reverseflash -fast -tgtpprc -seqnum <FlashCopy_Sequence_NB> -cfg <Device
configuration file> <Source_Volume> <Source_Volume> ...
Example 26-73 shows the reverseflash command on the FlashCopy pairs with source
volumes 6500 and 6501, which are on the storage disk subsystem that is at site 2.
Example 26-73 reverseflash
dscli reverseflash -fast -tgtpprc 6500:6502 6501:6503 -cfg $DSCLI/profile/DS-02.profile
Date/Time: June 15, 2005 6:23:50 PM EDT IBM DSCLI Version: 5.0.3.134 DS: IBM.2107-7573731
CMUC00169I reverseflash: FlashCopy pair 6500:6502 successfully reverse.
CMUC00169I reverseflash: FlashCopy pair 6501:6503 successfully reverse.
To query the FlashCopy session status, use the command lsflash as described in 26.11.3,
“Query FlashCopy pairs” on page 396.
26.13 Remove the Global Mirror environment with the DS CLI
In this section we provide the details on how to remove a Global Mirror environment with the
DS Command-Line Interface.
The components to be removed, as well as the procedure to clean up the environment, are
similar to other interfaces. See also discussions in 26.5, “Remove Global Mirror environment
using TSO” on page 360 and 26.7, “Remove a Global Mirror environment using ICKDSF” on
page 368.