Building Disaster Recovery Serviceguard Solutions Using Metrocluster with EMC SRDF

8. Create Mount Point MNP package for the cluster file system.
# cfsmntadm add flashdg flash_vol /cfs/flash sfo_flash_mp all=rw
SFO_1\
SFO_2
9. Mount the RAC database flash recovery file system in the site CFS sub-cluster.
# cfsmount /cfs/flash
10. Create directory structure in the cluster file system for the RAC database flash recovery area.
# chmod 775 /cfs/flash
# cd /cfs/flash
# mkdir flash
# chmod 775 flash
# chown oracle:oinstall flash
Creating the RAC database using the Oracle Database Configuration Assistant
After you set up the file systems for the RAC database data files, create the RAC database. You
can use the Oracle Database Configuration Assistant (DBCA) to create the RAC database. After
you login to the DBCA, select the Cluster File System option as the storage mechanism for the
database and select the Common Location for all Database Files option to store database files.
Configuring and testing RAC MNP stack at the local disk site
To configure Metrocluster for RAC, the RAC database that is configured on both sites must be
managed by Serviceguard. As a result, the RAC database must be packaged in Serviceguard
MNP packages. Also, automatic startup of RAC database instances and services at Clusterware
startup must be disabled. For more information about disabling automatic startup of RAC databases,
see the How To Remove CRS Auto Start and Restart for a RAC Instance document available at the
Oracle documentation site. For information about configuring the RAC database in the MNP
packages, see the HP SGeRAC Toolkit README.
Configure the RAC MNP package to have dependency on the site’s Clusterware sub-cluster MNP
package. This step creates the RAC MNP stack at this site that is configured to be managed by
the Site Controller Package. Ensure that the package service is configured to monitor the Oracle
RAC database. Before halting the RAC MNP Stack, test the configuration to ensure that the packages
are configured appropriately and can be started.
Halting the RAC database on the local disk site
After you create the RAC database on the local disk site, halt it to replicate it on the recovery
cluster. You must halt the RAC MNP stack on the node in the source disk and then use the vxdg
deport command to deport the disk groups at the nodes in the replication source disk.
For example:
1. Halt the RAC MNP Stack on the replication source disk site node.
# cmhaltpkg sfo_hrdb sfo_hrdb_mp sfo_hrdb_dg sfo_flash_mp
sfo_flash_dg
2. Deport the disk groups at the replication source disk site nodes.
# vxdg deport hrdbdg
# vxdg deport flashdg
Creating identical RAC database at the remote site
In the earlier procedures, the RAC database was created at the site with the source disk of the
replication disk group. A RAC MNP stack was also created at the site. Now, an identical RAC
database using the target replicated disk must be configured with the RAC MNP stack at the remote
site.
112 Configuring Oracle RAC in SADTA