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

If editing of the default values are desired, do it with file
NewContinentalclusterConfigFileName” if -F is specified, or with file,
CurrentContinentalclustersConfigFileName” if -F is not specified. If editing of
the new configuration file is needed, do not use the -a option. If option -a is specified the
new configuration will be applied automatically.
3. If option -a is specified with cmswitchconcl in step 2, skip this step. Otherwise manually
apply the new Continentalclusters configuration.
# cmapplyconcl -v -c newContinentalclustersConfigFileName (if -F is specified
in step 2)
# cmapplyconcl -v -c \ CurrentContinentalcusterConfigFileName (if -F is
not specified in step 2)
4. Restart the monitor packages on each cluster.
# cmmodpkg -e ccmonpkg
5. View the status of the Continentalcluster.
# cmviewconcl
NOTE: The cluster shared storage configuration file /etc/cmconcl/ccrac/ccrac.config
is not updated by cmswitchconcl. The CCRAC_CLUSTER and CCRAC_INSTANCE_PKGS
variables in the cluster shared storage configuration file must be manually updated on all nodes
in the clusters to reflect the new primary cluster and package names.
The cmswitchconcl command is also used to switch the package role of a recovery group. If
only a subset of the primary packages will remain running on the surviving (recovery) cluster, a
new option -g is provided with the cmswitchconclcommand. This option reconfigures the roles
of the packages of a recovery group and helps retain recovery protection after a failover.
Usage of option -g(recovery group based role switch reconfiguration) is the same as the one for
-c(cluster based role switch reconfiguration). Note, option -c and -g of the cmswitchconcl
command are mutually exclusive.
# cmswitchconcl \
-C currentContinentalclustersConfigFileName \
-g RecoverGroupName \
[-a] [-F NewContinentalclustersConfigFileName]
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
100 Designing Continentalclusters