Disaster recovery rehearsal in Continentalclusters

13
c. service_name
3. For all other parameters, provide the same values as specified in the recovery
package configuration.
4. Validate the package configuration.
# cmcheckconf P <package_name>
5. Apply the package configuration.
# cmapplyconf P <package_name>
Configure the rehearsal package billing_rhpkg (for recovery group billing_recgp) on the recovery
Houston cluster. For configuring billing_rhpkg in modular style, follow the steps in the section
Configuring Continentalclusters rehearsal packages as modular packages.
From HOUnode1 (or from any of the nodes in Houston cluster), complete the following steps for
configuring billing_rhpkg in legacy style:
1. Create the rehearsal package directory:
#mkdir /etc/cmcluster/billing_rhpkg/
2. Get the recovery package configuration:
#cd /etc/cmcluster/billing_recpkg/
#cmgetconf p billing_recpkg /tmp/billing_recpkg.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/billing_recpkg.conf /etc/cmcluster/billing_rhpkg/billing_rhpkg.conf
#cp billing_recpkg.cntl /etc/cmcluster/billing_rhpkg/billing_rhpkg.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 ”billing_rhpkg”
RUN_SCRIPT /etc/cmcluster/billing_rhpkg/billing_rhpkg.cntl
HALT_SCRIPT /etc/cmcluster/billing_rhpkg/billing_rhpkg.cntl
Also modify the SERVICE_NAME parameter, because Serviceguard does not allow two different
packages to be configured with the same SERVICE_NAME.
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, because Serviceguard does not allow two different packages to be
configured with the same SERVICE_NAME. Also modify the IP[] parameter, to use a different
IP address. For more information on IP addresses for rehearsal packages, refer to the section,
Client access IP address.
6. Distribute the rehearsal package files to all the nodes on the recovery cluster.
7. Apply the rehearsal package configuration on the recovery cluster as follows:
#cmapplyconf P /etc/cmcluster/billing_rhpkg/billing_rhpkg.conf