Building Disaster Recovery Serviceguard Solutions Using Continentalclusters for Linux B.01.00.00

of recovery groups. It might also be necessary to re-create data sender and data receiver
packages.
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 must be
prepared to match the new role. In addition, the data replication direction must 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 27). 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 fails.
When switching roles for a recovery group configured with a rehearsal package, you must remove
the rehearsal package in the old recovery cluster must be removed before applying the configuration.
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 the 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 must be prepared properly to match the new role. In addition, the data replication direction
must 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 using the cmswitchconcl command while continuing to run the
packages on the surviving cluster:
1. Halt the monitor package on every cluster.
# cmhaltpkg ccmonpkg
2. Run this command.
# cmswitchconcl -C currentContinentalclustersConfigFileName -c
oldPrimaryClusterName [-a] [-F NewContinentalclustersConfigFileName]
This 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 you want to change the default values, do it with the file
NewContinentalclusterConfigFileName” if -F is specified, or with file,
28 Restoring disaster recovery cluster after a disaster