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

to configure replication. After configuring replication in your environment, configure the replica
RAC database.
For example, complete the following procedure to prepare the replication environment:
1. Ensure the replication is in PAIR state at the replication Target Disk Site node. The STATUS
field should have PAIR value.
In this example, run the following command from the SJC_1 or SJC_2 node:
pairdisplay -g hrdb_devgroup
This command is an illustration for Metrocluster with Continuous Access for P9000 and XP.
This command will be different for Metrocluster with Continuous Access EVA and Metrocluster
with EMC SRDF.
2. Perform a replication swap take over from the Target Disk Site node.
In this example, run the following command from the SJC_1 or SJC_2 node.
horctakeover -g hrdb_devgroup -t 360
3. From the CVM master node at this site, import the disk groups used by RAC database.
vxdg -stfC import hrdbdg
vxdg -stfC import flashdg
4. Create the Serviceguard Disk Group MNP packages on this site.
cfsdgadm add hrdbdg sjc_hrdb_dg all=sw SJC_1 SJC_2
cfsdgadm add flashdg sjc_flash_dg all=sw SJC_1 SJC_2
5. Activate the RAC database disk groups in the CFS sub-cluster.
cfsdgadm activate hrdbdg
cfsdgadm activate flashdg
6. Create the mount point directories for the RAC database cluster file systems.
mkdir /cfs
chmod 775 /cfs
mkdir /cfs/rac
mkdir /cfs/flash
7. Create the Mount Point MNP packages for the RAC database cluster file systems.
cfsmntadm add hrdbdg rac_vol /cfs/rac sjc_hrdb_mp all=rw SJC_1 SJC_2
cfsmntadm add flashdg flash_vol /cfs/flash sjc_flash_mp all=rw SJC_1
SJC_2
8. Mount the cluster file systems in this CFS sub-cluster.
cfsmount /cfs/rac
cfsmount /cfs/flash
Configuring the Replica RAC Database
Complete the following procedure to configure the replica RAC database.
1. Copy the first RAC database instance pfile from the source site to the target site first RAC
database instance node.
In this example, copy the RAC database instance pfile from the SFO_1 node to the SJC_1
node.
cd /opt/app/oracle/product/10.2.0/db_1/dbs
rcp -p inithrdb1.ora SJC_1:$PWD
376 Designing a Disaster Recovery Solution Using Site Aware Disaster Tolerant Architecture