Designing Disaster Recovery Clusters using Metroclusters and Continentalclusters, Reprinted October 2011 (5900-1881)

If you specify any other location for logging, the following error message appears:
The target after textlog is not valid.
Please specify a file under /var/opt/resmon/log directory
If you upgraded Continentalclusters but are still using the old configuration file, the textlog location
is still specified as /var/adm/cmconcl. As a result, the following error message appears:
The file path s specified for textlog is invalid.
The destination file must be under /var/opt/resmon/log directory. Please change the path
and restart the ccmon package.
IMPORTANT: For TEXTLOG notification, the destination log file must be in the /var/opt/
resmon/log directory. If the destination file is not available in this directory, Continentalclusters
will not work properly.
Selecting Notification Intervals
The monitor interval determines the amount of time between distinct attempts by the monitor to
obtain the status of a cluster. The intervals associated with notifications need to be chosen to work
in combination with the monitor interval to give a realistic picture of cluster events.
Some combinations are not useful. For example, notification intervals that are smaller than the
monitor interval do not make sense, and should be avoided. In the following example, the cluster
event will always result in two alerts followed by an alarm. No change of state could possibly be
detected at the one-minute, two-minute and three-minute intervals, because the monitor does not
check for changes until the monitor interval (5 minutes) has been reached.
MONITOR_PACKAGE_NAME ccmonpkg
MONITOR_INTERVAL 5 MINUTES...
CLUSTER_EVENT LACluster/UNREACHABLE
CLUSTER_ALERT 1 MINUTE
NOTIFICATION CONSOLE
"1 Minute Alert: LACluster Unreachable"
CLUSTER_ALERT 2 MINUTES
NOTIFICATION CONSOLE
"2 Minute Alert: LACLuster Still Unreachable"
CLUSTER_ALRAM 3 MINUTES
NOTIFICATION CONSOLE
"ALARM: LACluster Unreachable after 3 Minutes: Recovery Enabled"
The following sequence could provide meaningful notifications, since a change of state is possible
between notification intervals:
MONITOR_PACAGE_NAME ccmonpkg
MONITOR_INTERVAL 1 minute
...
CLUSTER_EVENT LACluster/UNREACHABLE
CLUSTER_ALERT 3 MINUTES
NOTIFCATION CONSOLE
"5 Minute Alert: LACluster Still Unreachable
CLUSTER_ALARM 10 MINUTES
NOTIFICATION CONSOLE
"ALARM: LACluster Unreachable after 10 Minutes: Recovery Enabled"
NOTE: The notification intervals should be multiples of the monitor interval.
The following is a sample Continentalclusters configuration file with two recovery pairs. Both
cluster1 and cluster2 are configured to have cluster3 as their recovery cluster for package
pkg1 and pkg2, and cluster3 is configured to have cluster1 as its recovery cluster for pkg3.
# Section1: Cluster Information
CONTINENTAL_CLUSTER_NAME sampleCluster
CONTINENTAL_CLUSTER_STATE_DIR /opt/cmconcl/statedir
CLUSTER_NAME cluster1
86 Designing Continentalclusters