Configuring Single Instance Applications in CFS/CVM Environments in Continentalclusters, November 2006

14
2) Apply the package configuration using cmapplyconf command.
$cmapplyconf –P /etc/cmcluster/ccmonpkg/ccmonpkg.config
5.3 Packaging Oracle
Continentalclusters supports recovery only for applications running in Serviceguard packages. Refer to
the previous section for configuring a Oracle instance using the ECMT toolkit.
5.4 Editing the Continentalclusters
Configuration file
Generate a Continentalclusters configuration template file using the following command.
$cmqueryconcl –C cmconcl.config
Add the primary and the recovery cluster names to the Continentalclusters configuration file and the
Continentalclusters name. Add the recovery group names and the monitoring definitions to the
Continentalclusters configuration file. Following is a sample configuration file:
CONTINENTAL_CLUSTER_NAME ccluster1
CLUSTER_NAME primary_cluster
CLUSTER_DOMAIN hp.com
NODE_NAME ccia1
NODE_NAME ccia2
CLUSTER_NAME recovery_cluster
CLUSTER_DOMAIN hp.com
NODE_NAME ccia3
NODE_NAME ccia4
MONITOR_PACKAGE_NAME ccmonpkg
MONITOR_INTERVAL 60 SECONDS
RECOVERY_GROUP_NAME recoverygp1
PRIMARY_PACKAGE primary_cluster/primary_package
RECOVERY_PACKAGE recovery_cluster/recovery_package
CLUSTER_EVENT primary_cluster/UP
MONITORING_CLUSTER recovery_cluster
CLUSTER_ALERT 10 MINUTES
NOTIFICATION EMAIL admin@secondary.site
"Cluster primary_cluster is up."
CLUSTER_EVENT primary_cluster/DOWN