Determining the compatible flashcopy copy status – HP XP P9500 Storage User Manual
Page 317
During Compatible FlashCopy processing, copy pairs in the DUPLEX status will change to the
Pending status. The copy pairs will return to the DUPLEX status after the Compatible FlashCopy
process ends.
4.
Resynchronize the copy pairs suspended in step 1.
After confirming the completion of Compatible FlashCopy, resynchronize the suspended copy
pairs.
Determining the Compatible FlashCopy Copy Status
To resynchronize a Compatible FlashCopy linkage copy pair that is in the suspend status, monitor
the completion of the Compatible FlashCopy operation. Use the YKFCSTAT command to acquire
the status of the Continuous Access Synchronous Z P-VOL, Continuous Access Asynchronous P-VOL,
or Continuous Access Journal Z P-VOL that is the copy destination for Compatible FlashCopy, and
determine the copy status.
How to determine the Compatible FlashCopy copy status
outlines how to determine the Compatible FlashCopy copy status. After verifying
that Compatible FlashCopy execution has ended normally, run a script that includes the YKFCSTAT
command and determine the copy status from the value of the REXX variable in the Compatible
FlashCopy information structure.
Table 98 Determining the Compatible FlashCopy Copy Status
Copy status
REXX variable in the Compatible
FlashCopy information structure
Normal termination
Target.State0 = 0
Copying was performed in NOCOPY mode.
Error
Target.State0 = 1
and
Target.State2 = 1
Copying encountered an error or other event that
prevented copying from continuing.
Target.State0 = 1
and
Target.State6 = 1
Incremental Compatible FlashCopy was used.
Target.State0 = 1
and
Target.State7 = 1
Use the YKSLEEP command to suspend script execution for a certain period of time, and then
repeatedly acquire the copy status to monitor the REXX variable Target.State0 in the Compatible
FlashCopy information structure until the value becomes 0.
Using Compatible FlashCopy linkage configurations
317