Example of failure monitoring, Example configuration of failure monitoring – HP XP P9500 Storage User Manual

Page 696

Advertising
background image

Example of creating the YKMONCG file used for a backup operation

For this operation example, create the YKMONCG file as follows:

#Copy Group MYUR # First Copy Group definition
CGID=MYUR # Copy Group ID
CGPREFIX=BCM.DEMO # Prefix
CGDAD=DADP # Host DADID
CGROUTE=DEMORLST # Route list ID
CGMONSTAT=ACTIVE # MYUR will be monitored
CGSTARTUPSTATUS=DUPLEX,EXIT(32) # DUPLEX is expected as start status.
# If not, BCM Monitor will terminate.

# If the Copy Group status is SUSPOP, do the following actions:
# Perform backup procedures.
STATUS=SUSPOP,ACTION=RESYNC(MYSI,0,'FORWARD');
STATUS=SUSPOP,ACTION=WAITFOR(MYSI,DUPLEX);
STATUS=SUSPOP,ACTION=SUSPEND(MYSI,'FORWARD');
STATUS=SUSPOP,ACTION=WAITFOR(MYSI,SUSPEND);
STATUS=SUSPOP,ACTION=RESYNC(MYUR,0,'FORWARD');
STATUS=SUSPOP,ACTION=WAITFOR(MYUR,DUPLEX);
# Report successful completion of backup procedure.
STATUS=SUSPOP,ACTION=SENDMSG('Backup procedure completed.',STATUS);
STATUS=SUSPOP,ACTION=REPORT(MYUR,SUMMARY,STATUS);
STATUS=SUSPOP,ACTION=REPORT(MYSI,SUMMARY,STAUTS);

#Copy Group MYSI # Second Copy Group definition
CGID=MYSI # Copy Group ID
CGPREFIX=BCM.DEMO # Prefix
CGDAD=DADP # Host DADID
CGROUTE=DEMORLST # Route list ID
CGMONSTAT=INACTIVE # MYSI will not be monitored
CGSTARTUPSTATUS=SUSPOP,EXIT(32) # SUSPOP is expected as start status.
# If not, BCM Monitor will terminate.

Example of failure monitoring

This section describes a procedure for a 2DC configuration that uses Continuous Access Synchronous
to monitor the status of copy groups and send messages to the administrator if the status changes.
In this example, the following are operations that can be performed for BCM Monitor while copy
groups are being monitored:

The cycle time can be changed from 180 seconds to 300 seconds during failure monitoring

A command can be executed to put BCM Monitor to sleep for 2 hours, and then wake BCM
Monitor up before 2 hours have passed.

Example configuration of failure monitoring

This section describes the procedure for failure monitoring, using the example configuration shown
in

“Example configuration of failure monitoring using BCM Monitor” (page 697)

. In this example,

create a Continuous Access Synchronous copy group (MYTC) and operate BCM Monitor with the
MYTC in DUPLEX status.

696 Automatic operation using BCM Monitor

Advertising