Designing Disaster Recovery Clusters using Metroclusters and Continentalclusters, Reprinted October 2011 (5900-1881)

Oracle RAC, see section “Installing and Configuring Oracle Real Application Clusters (RAC)”
(page 372).
Setup a RAC database in the recovery cluster using the replicated disks
You must setup a RAC database in the recovery cluster using the replicated disks and it must be
configured with the RAC MNP stack in the recovery cluster. Prior to setting up a RAC database in
the recovery cluster, you must first prepare the replication environment. After configuring replication
in your environment, setup the replica RAC database using the replicated disks in the recovery
cluster. This section describes the steps required to setup a RAC database in the recovery cluster.
Complete the following steps to setup a RAC database in the recovery cluster:
1. Suspend replication to the recovery cluster
2. Configure the Storage Device for RAC database in the recovery cluster
3. Prepare the RAC database in the recovery cluster
4. Configure the RAC MNP Stack at the recovery cluster
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
Deploying a Complex Workload in Three Data Center Solution using SADTA 455