Disaster recovery rehearsal in Continentalclusters
15
3. Copy the recovery package configuration file and the control file to the rehearsal package
directory and rename it for the rehearsal package.
#cp /tmp/
sales_rac9i_recpkg_1.conf /etc/cmcluster/sales_rac9i_rhpkg_1/sales_rac9i_rhpkg_1.conf
#cp sales_rac9i_recpkg_1.cntl /etc/cmcluster/
sales_rac9i_rhpkg_1/sales_rac9i_rhpkg_1.cntl
Note: If ECMT Oracle toolkit is used for creating recovery package, copy the files related to Oracle toolkit from
recovery package directory to rehearsal package directory.
4. Edit the package configuration file saved in the rehearsal package directory and change
PACKAGE_NAME, RUN_SCRIPT and HALT_SCRIPT as follows:
PACKAGE_NAME ”sales_rac9i_rhpkg_1”
RUN_SCRIPT /etc/cmcluster/
sales_rac9i_rhpkg_1/sales_rac9i_rhpkg_1.cntl
HALT_SCRIPT /etc/cmcluster/
sales_rac9i_rhpkg_1/sales_rac9i_rhpkg_1.cntl
Also modify the SERVICE_NAME parameter.
5. Edit the package control file saved in the rehearsal package directory, and ensure that the
package directory paths are changed to rehearsal package directory paths. Modify the
SERVICE_NAME parameter. Also modify the IP[] parameter, to use a different IP address.
6. Apply the rehearsal package configuration on the recovery cluster as follows:
#cmapplyconf –P /etc/cmcluster/sales_rac9i_rhpkg_1/sales_rac9i_rhpkg_1.conf
Configure the rehearsal package
sales_rac9i_rhpkg_2 (for recovery group sales_rac9i_recgp_2) on the
recovery Houston cluster. For configuring
sales_rac9i_rhpkg_2 in modular style, follow the steps in the
section
Configuring Continentalclusters rehearsal packages as modular packages.
From HOUnode2, complete the following procedure for the 9i RAC instance 2 rehearsal package for
configuring in legacy style:
1. Create the rehearsal package directory.
#mkdir /etc/cmcluster/
sales_rac9i_rhpkg_2/
2. Get the recovery package configuration.
#cd /etc/cmcluster/
sales_rac9i_recpkg_2/
#cmgetconf –p
sales_rac9i_recpkg_2 /tmp/sales_rac9i_recpkg_2.conf
3. Copy the recovery package configuration file and the control file to rehearsal package directory
and rename it for the rehearsal package.
#cp /tmp/
sales_rac9i_recpkg_2.conf /etc/cmcluster/sales_rac9i_rhpkg_2/sales_rac9i_rhpkg_2.conf
#cp sales_rac9i_recpkg_2.cntl /etc/cmcluster/
sales_rac9i_rhpkg_2/sales_rac9i_rhpkg_2.cntl
Note: If ECMT Oracle toolkit is used for creating recovery package, copy the files related to Oracle toolkit from
recovery package directory to rehearsal package directory.