Monitoring pprc copy pairs – HP XP P9500 Storage User Manual
Page 337
Example of a script that determines the Compatible FlashCopy copy status
An example of a script that monitors the Compatible FlashCopy copy status follows:
ADDRESS TSO 'YKFCSTAT STEM(DEVICE.QUERY.) MSG(MS.) DEVN(7310)';
if DEVICE.QUERY.Target.State0 = '0' Then processing-for-successful-operation
1
;
if DEVICE.QUERY.Target.State0 = '1' & ,
DEVICE.QUERY.Target.State2 = '1' Then processing-for-error-operation
2
;
if DEVICE.QUERY.Target.State0 = '1' & ,
DEVICE.QUERY.Target.State6 = '1' Then processing-for-error-operation
3
;
if DEVICE.QUERY.Target.State0 = '1' & ,
DEVICE.QUERY.Target.State7 = '1' Then processing-for-error-operation
4
;
ADDRESS TSO 'YKSLEEP MIN(1)'; /* Wait for 1 minute and then reacquire the status */
1
Specify the processing that is performed when the copy operation has ended
normally.
2
Specify the processing that is performed when an error occurs (NOCOPY mode).
3
Specify the processing that is performed when an error occurs (failure suspension).
4
Specify the processing that is performed when an error occurs (Incremental
Compatible FlashCopy).
Monitoring PPRC copy pairs
When the function for generating copy group definitions is used to generate copy group definition
files for a PPRC copy pair, the PPRC copy pair status can be monitored from Business Continuity
Manager. When Business Continuity Manager and Replication Manager Software are linked,
PPRC copy pair statuses can also be monitored from open environments.
shows a flow of monitoring the status of PPRC copy pairs.
Figure 125 Flow of Monitoring the Status of PPRC Copy Pairs
To monitor PPRC copy pairs from Business Continuity Manager:
1.
Make sure that copy pairs are running on the PPRC.
2.
Use Business Continuity Manager to scan the storage system with the PPRC copy pairs, and
then generate the disk configuration definition file.
3.
Use the Copy Group Definition Generation Function to generate copy group definition files
for the PPRC copy pairs.
4.
Monitor the PPRC copy pair statuses from Business Continuity Manager.
Monitoring PPRC copy pairs 337