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

NOTE: Starting with Continentalclusters version A.08.00, rehearsal packages can be configured
as modular packages. For more information on configuring rehearsal packages as modular
packages, see “Configuring Continentalclusters Rehearsal packages as Modular Packages
(page 74).
Primary Package Metrocluster Environment File
If Continentalclusters is configured with MC/SRDF, then before starting rehearsal, set the
AUTOSPLITR1 variable to 1. This ensures that during rehearsal, the primary packages continue
to be highly available at the primary cluster. However, for Continentalclusters with Continuous
Access P9000 and XP integration, no changes to the primary package are required.
Continentalclusters Configuration
In this example, Continentalclusters is configured with the rehearsal package name billing_rhpkg
used for rehearsing the recovery group billing_recgp. In the recovery group section, configure
the REHEARSAL_PACKAGE field for recovery groups, billing_recgp with the rehearsal package
names billing_rhpkg. Apply the Continentalclusters configuration information using the
cmapplyconcl command from any cluster.
NOTE: As the cluster level setup is already done, the Continentalcluster state directory name
/opt/cmconcl/statedir used on the clusters is already configured.
Rehearsing Failure for a Single Instance Application
This sections describes the procedure to rehearse failure of a specific recovery group. The following
steps can be executed from any of the recovery cluster nodes. It is assumed that the primary package
billing_primpkg is up on Cluster1 and replication is in progress.
1. Verify the data replication environment.
Use the cmdrprev command to preview the data replication environment preparation for an
actual recovery. Run the following command on every node in the recovery cluster to determine
if the return value is always 0:
#/usr/sbin/cmdrprev -p billing_recpkg
2. Move the recovery group billing_recgp into maintenance mode:
# cmrecovercl -d -g billing_recgp
3. Verify that the recovery group billing_recgp is in maintenance mode:
# cmviewconcl -v
4. Prepare the replication environment for DR rehearsal:
a. Manually suspend replication and enable write access to recovery disk, for disk group
configured for the package:
$) pairsplit -g billing_dg -rw
b. For each volume group configured on the recovery disk, change the cluster ID by running
the following command from any of the recovery cluster nodes:
# vgchange -c n billing_vg
# vgchange -c y billing_vg
c. Split the business recovery copy pair, at recovery cluster, which is configured for the
package:
$) export HORCC_MRCF=1
$) pairsplit -g billing_dg
$) unset HORCC_MRCF
Performing a Rehearsal Operation in your Environment 105