#### #### MONITORING_CLUSTER eastcoast | #### | ||
#### #### CLUSTER_ALERT | 0 MINUTES | #### | |
#### #### NOTIFICATION | admin@secondary.site | #### | |
#### #### "Error in monitoring cluster westcoast." | #### | ||
#### #### |
|
| #### |
#### #### CLUSTER_EVENT | <cluster_name>/UNREACHABLE | #### | |
#### #### MONITORING_CLUSTER CLUSTER_ALERT | #### |
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
#Section1: Cluster Information CONTINENTAL_CLUSTER_NAME sampleCluster CONTINENTAL_CLUSTER_STATE_DIR /opt/cmconcl/statedir
CLUSTER_NAMEcluster1
CLUSTER_DOMAIN cup.hp.com
NODE_NAMEnode11
NODE_NAMEnode12 MONITOR_PACKAGE_NAME ccmonpkg
MONITOR_INTERVAL | 60 seconds | ||
CLUSTER_NAME |
| cluster2 | |
CLUSTER_DOMAIN |
| cup.hp.com | |
NODE_NAME |
|
| node21 |
NODE_NAME |
|
| node22 |
CLUSTER_NAME |
| cluster3 | |
CLUSTER_DOMAIN |
| cup.hp.com | |
NODE_NAME |
|
| node31 |
NODE_NAME |
|
| node32 |
MONITOR_PACKAGE_NAME | ccmonpkg | ||
MONITOR_INTERVAL | 60 seconds | ||
RECOVERY_GROUP_NAME | ccRG1 | ||
PRIMARY_PACKAGE |
| cluster1/pkg1 | |
RECOVERY_PACKAGE |
| cluster3/pkg1’ | |
REHEARSAL_PACKAGE |
| cluster3/pkg4’ | |
RECOVERY_GROUP_NAME |
| ccRG2 | |
PRIMARY_PACKAGE |
| cluster2/pkg2 | |
RECOVERY_PACKAGE |
| cluster3/pkg2’ | |
RECOVERY_GROUP_NAME |
| ccRG3 | |
RECOVERY_PACKAGE |
| cluster3/pkg3 | |
DATA_RECEIVER_PACKAGE | cluster1/pkg3’ | ||
# Section 3. Monitoring Definitions #### | |||
CLUSTER_EVENT | cluster1/DOWN | ||
MONITORING_CLUSTER |
| cluster3 | |
CLUSTER_ALERT |
|
| 30 SECONDS |
NOTIFICATION | TEXTLOG /var/opt/resmon/log/CCTextlog | ||
“DRT: | DOWN alert” | ||
NOTIFICATION |
| SYSLOG |
|
“DRT: | cluster1 DOWN alert” | ||
CLUSTER_ALARM |
|
| 30 SECONDS |
NOTIFICATION TEXTLOG /var/opt/resmon/log/CCTextlog “DRT:
NOTIFICATION SYSLOG
“DRT:
# Section1: Cluster Information 121