Building Disaster Recovery Serviceguard Solutions Using Metrocluster with Continuous Access for P9000 and XP A.11.00

5. Test the RAC database in the recovery cluster
6. Resume replication to the recovery cluster
Suspend replication to the recovery cluster
A RAC database using the replicated disk in the recovery cluster must be configured with the RAC
MNP stack. Prior to preparing a RAC database in the recovery cluster, first split the data replication
such that the disk at the recovery cluster is in the Read/Write mode. When using 3DC CAJ/CAJ
Tri-Link configuration, delete the Delta Resync pair before splitting the replication using the
pairsplit -S command. Split the Active-CAJ pair using the pairsplit command as shown
below to make the disk read-write at the recovery cluster.
# pairsplit g <Active-CAJ-pair> -rw
Configure the Storage Device for RAC database in the recovery cluster
The storage device must be configured for the data of the RAC database from the replicated disks
in the recovery cluster. The procedure to configure the storage device differs if CFS, CVM and
SLVM is used. For more information on configuring the storage device for the RAC database at
the recovery cluster, see section “Configuring the Storage Device for the Complex Workload at
the Recovery Cluster”.
To activate LVM and SLVM volume groups in the recovery cluster, the cluster ID of the LVM or SLVM
volume groups must be changed as shown in the sample. For LVM volume groups, run the following
commands to modify the cluster ID:
# vgchange -c n <vg_name>
# vgchange -c y <vg_name>
For SLVM volume groups, run the following commands to modify the cluster ID:
# vgchange -c n -S n <vg_name>
# vgchange -c y -S y <vg_name>
Prepare the RAC database in the recovery cluster
After setting up the file systems for the RAC database data files, you must prepare the RAC database
in the recovery cluster.
Complete the following procedure to prepare the RAC database in the recovery cluster:
1. Copy the first RAC database instance pfile from Site 1 in the primary cluster to the recovery
cluster (Site 3) first RAC database instance node.
# cd <Oracle_Home_directory>/dbs
# rcp -p inithrdb1.ora <Site 3 node name 1>:$PWD
2. Setup the first RAC database instance on the recovery cluster.
In this example, run the following commands from the first RAC database instance node in
Site 3.
# cd <Oracle_Home_directory>/dbs
# ln -s <cfs mount point>/oradata/hrdb/orapwhrdb orapwhrdb1
# chown -h oracle:oinstall orapwhrdb1
# chown oracle:oinstall inithrdb1.ora
3. Copy the second RAC database instance pfile from the Site 1 in the primary cluster to the
recovery cluster second RAC database instance node.
# cd <Oracle_Home_directory>/dbs
# rcp -p inithrdb2.ora <Site 3 node name 2>:$PWD
The -p option retains the permissions of the file.
134 Designing a Three Data Center Disaster Recovery Solution