Disaster recovery rehearsal in Continentalclusters

26
#/usr/sbin/cmdrprev -e “/etc/sales_rac9i_recpkg_2_srdf.env”
2. Move the recovery group sales_rac9i_recgp_1 and sales_rac9i_recgp_2 into maintenance mode.
#cmrecovercl -d -g sales_rac9i_recgp_1
#cmrecovercl -d -g sales_rac9i_recgp_2
Note: Using the cmviewconcl command, verify that the recovery groups sales_rac9i_recgp_1 and
sales_rac9i_recgp_2 are in maintenance mode.
3. Prepare the replication environment for DR rehearsal.
Manually suspend the replication and enable write access to the secondary mirror copy.
#symrdf g sales_rac9i_dg split
To change the cluster ID on the CVM DG, run the following command on the CVM master
node.
#vxdg fCs import sales_rac9i_cvmdg
Split the BCV pair, at recovery cluster, which is configured for the package
#symmir g sales_rac9i_dg split
4. Start rehearsal for both the recovery groups.
$) cmrecovercl -r -g sales_rac9i_recgp_1
$) cmrecovercl -r -g sales_rac9i_recgp_2
Caution: Users are cautioned against putting only the partial set of the recovery groups of Oracle 9i RAC
application into maintenance mode. For more details refer to section
Rehearsing recovery of Oracle 9i RAC
recovery groups.
Note: Use the “cmviewcl” command to verify that the rehearsal package sales_rac9i_rhpkg_1 is started on
HOUnode1 and the rehearsal package sales_rac9i_rhpkg_2 is started on HOUnode2.
Note: Before starting rehearsal, reconfigure the listener on nodes HOUnode1 and HOUnode2 to use the package
IP address configured for sales_rac9i_rhpkg_1 and sales_rac9i_rhpkg_2, respectively.
5. Stop both the rehearsal packages.
$) cmhaltpkg sales_rac9i_rhpkg_1
$) cmhaltpkg sales_rac9i_rhpkg_2
6. Restore replication environment for recovery.
First synchronize the secondary mirror copy with the primary mirror copy and then synchronize the
BCV with the secondary mirror copy.
$) symrdf g sales_rac9i_dg establish
$) symmir g sales_rac9i_dg establish