Security Solutions

3. Check and apply the Continentalclusters configuration.
# cmcheckconcl -v -C cmconcl.config
# cmapplyconcl -v -C cmconcl.config
4. Restart the monitor packages on every cluster.
# cmmodpkg -e ccmonpkg
5. View the status of the Continentalclusters.
# cmviewconcl
Before applying the edited configuration, the data storage associated with every cluster needs to
be prepared to match the new role. In addition, the data replication direction needs to be changed
to mirror data from the new primary cluster to the new recovery cluster.
Switching the Primary and Recovery Cluster Roles using cmswitchconcl
Continentalclusters provides the command cmswitchconcl to facilitate steps two and three
described in the section “Switching the Primary and Recovery Cluster Roles” (page 32). The
command cmswitchconcl is used to switch the roles of primary and recovery packages of the
Continentalclusters recovery groups for which the specified cluster is defined as the primary cluster.
Do not use the cmswitchconcl command in a multiple recovery pair configuration where more
than one primary cluster is sharing the same recovery cluster. Otherwise, the command will fail.
When switching roles for a recovery group configured with a rehearsal package, the rehearsal
package in the old recovery cluster must be removed before the configuration is applied. The newly
generated recovery group configuration will not have any rehearsal package configured.
WARNING! When you configure the maintenance mode for a recovery group, you must move
all recovery groups, whose roles have been switched out of the maintenance mode before applying
the new configuration.
NOTE: Before running the cmswitchconcl command, the data storage associated with every
cluster needs to be prepared properly to match the new role. In addition, the data replication
direction needs to be changed to mirror data from the new primary cluster to the new recovery
cluster.
The cmswitchconcl command cannot be used for the recovery groups that have both data
sender and data receiver packages specified.
To restore disaster tolerance with cmswitchconcl while continuing to run the packages on the
surviving cluster, use the following procedures:
1. Halt the monitor package on every cluster.
# cmhaltpkg ccmonpkg
2. Run this command.
# cmswitchconcl -C currentContinentalclustersConfigFileName -c
oldPrimaryClusterName [-a] [-F NewContinentalclustersConfigFileName]
The above command switches the roles of the primary and recovery packages of the
Continentalclusters recovery groups for which “OldPrimaryClusterName” is defined as
the primary cluster.
The default values of monitoring package name (ccmonpkg) and interval (60 seconds), and
notification scheme (SYSLOG) with notification delay (0 seconds) added for cluster
OldPrimaryClusterName, which will serve as the recover-only cluster.
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
Retaining the original roles for primary and recovery cluster 33