I Sample input and output files for cmswitchconcl command

The following is a sample of input and output files for running cmswitchconcl -C sample.input -c clusterA -F Sample.out

sample.input

============

### Section 1. Cluster Information

CONTINENTAL_CLUSTER_NAME

Sample_CC_Cluster

CLUSTER_NAME

ClusterA

CLUSTER_DOMAIN

 

cup.hp.com

NODE_NAME

node1

NODE_NAME

node2

MONITOR_PACKAGE_NAME

ccmonpkg

CLUSTER_NAME

ClusterB

CLUSTER_DOMAIN

cup.hp.com

NODE_NAME

 

node3

NODE_NAME

 

node4

MONITOR_PACKAGE_NAME

ccmonpkg

MONITOR_INTERVAL

 

60 SECONDS

### Section 2. Recovery Groups

RECOVERY_GROUP_NAME RG1

PRIMARY_PACKAGE ClusterA/pkgX

RECOVERY_PACKAGE ClusterB/pkgX'

RECOVERY_GROUP_NAME RG2

PRIMARY_PACKAGE ClusterA/pkgY

RECOVERY_PACKAGE ClusterB/pkgY'

DATA_RECEIVER_PACKAGE ClusterB/pkgR1

RECOVERY_GROUP_NAME RG3

PRIMARY_PACKAGE ClusterB/pkgZ

RECOVERY_PACKAGE ClusterA/pkgZ'

RECOVERY_GROUP_NAME RG4

PRIMARY_PACKAGE ClusterB/pkgW

RECOVERY_PACKAGE ClusterA/pkgW'

DATA_RECEIVER_PACKAGE ClusterA/pkgR2

###Section 3. Monitoring Definitions

CLUSTER_EVENT ClusterA/DOWN MONITORING_CLUSTER ClusterB

CLUSTER_ALERT

60 SECONDS

 

NOTIFICATION

TEXTLOG /var/opt/resmon/log/data/events.log

“CC alert: DOWN”

NOTIFICATION

SYSLOG “CC alert: DOWN”

 

CLUSTER_ALARM

90 SECONDS

 

NOTIFICATION

TEXTLOG /var/opt/resmon/log/data/events.log

“CC alarm: DOWN”

NOTIFICATION

SYSLOG

 

“CC alarm: DOWN”

 

 

Sample output

###Section1. Cluster Information

CONTINENTAL_CLUSTER_NAME Sample_CC_Cluster

CLUSTER_NAMEClusterA

CLUSTER_DOMAINcup.hp.com

NODE_NAMEnode1

NODE_NAMEnode2

MONITOR_PACKAGE_NAME ccmonpkg

MONITOR_INTERVAL

60 SECONDS

CLUSTER_NAME

ClusterB

CLUSTER_DOMAIN

cup.hp.com

NODE_NAME

node3

NODE_NAME

node4

###Section 2. Recovery Groups

RECOVERY_GROUP_NAMERG1

123

Page 123
Image 123
HP Serviceguard Metrocluster manual Sample input and output files for cmswitchconcl command, Recoverygroupname RG2