Performing a Rehearsal Operation in your Environment

Use the cmrecovercl -r-gcommand to start the disaster recovery rehearsal process in your environment. This command checks for the following prerequisites before starting the rehearsal process:

The recovery group is in the maintenance mode.

The data receiver package, if configured in the recovery group, is halted and disabled in the recovery cluster.

The rehearsal package runs regardless of the state of the primary cluster. When the rehearsal is in progress, any attempt to start the recovery package is prevented as the recovery group is in the maintenance mode. This prevents the recovery and the rehearsal packages from running at the same time on the recovery cluster.

Following is an example of running the cmrecovercl -rcommand to rehearse the recovery group oracle_rac1 on a cluster called secondary cluster.

atlanta:/opt/cmconcl/admin/instances>cmrecovercl -r -g oracle_rac1

Warning: For this recovery group ensure that the replication environment has been prepared for rehearsal. Before proceeding further, verify that a business copy has been prepared at the recovery cluster. This command does not verify that a business copy has been prepared.Do you want to proceed with rehearsing the recovery group? [y/n]? ycmrecovercl:

Attempting to rehearse Recovery Group oracle_rac1 on cluster secondary_cluster.Note: The configuration file /etc/cmconcl/ccrac/ccrac.config for cluster shared storage exists. If the primary package in the target group is configured within this file,the replication environment preparation will be verified before starting the rehearsal package. If you choose "n" make sure that the required storage for the rehearsal package has been properly prepared and that the replication environment has being prepared.Is this what you intended to do? [y/n]? yEnabling rehearsal package racp-cfs-rehearsal on recovery cluster secondary_cluster Running package racp-cfs-rehearsal on node atlanta Successfully started package racp-cfs-rehearsal on node atlanta Running package racp-cfs-rehearsal on node miami Successfully started package racp-cfs-rehearsal on node miami Successfully started package racp-cfs-rehearsal.

cmrecovercl -r Completed rehearsal process for each recovery group. Rehearsal packages have been started. Use cmviewcl or check package log file to verify that the rehearsal packages are successfully started.

Warning: Once the rehearsal is complete and the rehearsal package is halted ensure that replication environment is restored for recovery and move recovery group out of Maintenance Mode.

During rehearsal, if a primary site failure occurs, Continentalclusters detects it and you need to complete a recovery process. You need to restore the environment for recovery and complete the recovery processes. In case the recovery group data cannot be synchronized with the latest data from the primary cluster, you can use the business copy (BC/BCV) prepared during the preparation phase. However, this results in a delta data loss corresponding to the time the rehearsal was started.

For more information on performing disaster recovery (DR) rehearsal for different types of applications and replication in a Continentalclusters environment, see “Data Replication Rehearsal in a Sample Environment” (page 104). That section describes how to set up and run data replication (DR) rehearsal with the example of a single instance Oracle application with Continentalclusters with Continuous Access P9000 or XP integration.

Performing a Rehearsal Operation in your Environment 103