Stop rehearsal package
After performing the rehearsal operations, the rehearsal package must be halted using the cmhatlpkg command.
# cmhaltpkg <rehearsal_pkg>
nl
Restore replication environment for recovery
First, synchronize the secondary mirror copy with the primary mirror copy and then synchronize the BC with the secondary mirror copy.
#pairresync
#symrdf
#export HORCC_MRCF=1
#pairresync
#symrdf
#unset HORCC_MRCF
nl
Move the recovery group out of maintenance mode
After the rehearsal operations are completed, the recovery groups must be taken out of maintenance mode. If not, an actual recovery using the cmrecovercl command might fail to start up the recovery packages in the recovery groups.
# cmrecovercl
Run the cmviewconcl command to verify that the recovery group is not in maintenance mode.
# cmviewconcl -v
Cleanup of secondary mirror copy
After the rehearsal is completed and before the recovery groups are moved out of maintenance mode, the operator must ensure that the rehearsal changes on the secondary mirror copy are cleaned up.
During rehearsal, the rehearsal application will have invalidated the secondary mirror copy with
Recovering the primary cluster disaster during DR Rehearsal
In case of a disaster at the primary cluster while performing DR Rehearsal, follow the below steps to recover the application at the recovery cluster:
•Halt the rehearsal package.
#cmhaltpkg <rehearsal_package_name>
•Restore the recovery cluster data using the BC.
#export HORCC_MRCF=1
#pairresync
#unset HORCC_MRCF
Cleanup of secondary mirror copy | 41 |