Building Disaster Recovery Serviceguard Solutions Using Continentalclusters for Linux B.01.00.00

INTERFACE STATUS PATH NAME
PRIMARY up 4.1 lan0
PRIMARY up 56.1 lan1
PACKAGE STATUS STATE PKG_SWITCH NODE
ccmonpkg up running enabled nynode2
Script_Parameters:
ITEM NAME STATUS MAX_RESTARTS RESTARTS
Service ccmonpkg.srv up 20 0
Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled nynode2 (current)
Alternate up enabled nynode1
UNOWNED Packages:
PACKAGE STATUS STATE PKG_SWITCH NODE
salespkg_bak down unowned
Policy_Parameters:
POLICY_NAME CONFIGURED_VALUE
Failover unknown
Failback unknown
Script_Parameters:
ITEM STATUS NODE_NAME NAME
Subnet unknown nynode1 195.14.171.0
Subnet unknown nynode2 195.14.171.0
Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary down nynode1
Alternate down nynode2
Use the ps command to verify the status of the Continentalclusters monitor daemons cmclsentryd
which must be running on the cluster node where the monitor package is running.
Enabling and disabling maintenance mode
Any recovery group in Continentalclusters is moved into maintenance mode using cmrecovercl
command with —d option. The —d flag is used to disable recovery of the recovery groups.
For Example:
# cmrecovercl d recovery_group1
Any recovery group in Continentalclusters is moved out of maintenance mode using cmrecovercl
command with —e option. The —e flag is used to enable recovery of the recovery groups.
For Example:
# cmrecovercl e recovery_group1
Configuring targets for notifications sent by Continentalclusters
Continentalclusters sends notifications in XML format. Here is a sample XML notification message
is shown below:
<ContinentalclustersEventNotification> <NotificationTime> Fri Nov 9 01:25:56 2012
</NotificationTime><NotificationEvent> The cluster primary_cluster is at event level alert with status up for
0 second(s).
</NotificationEvent <NotificationMessage> Primary Cluster status up </NotificationMessage>
</ContinentalclustersEventNotification>
The user configured notification message in Continentalclusters configuration file is enclosed
between <NotificationMessage> and </NotificationMessage> tags. The notification targets must
be configured appropriately to parse this message.
40 Administering Continentalclusters