Building Disaster Recovery Serviceguard Solutions Using Metrocluster with EMC SRDF

Installing Oracle RAC software
The Oracle RAC software must be installed twice in the Metrocluster, once at every site. Also, the
RAC software must be installed in the local file system in all the nodes in a site. To install Oracle
RAC, use the Oracle Universal Installer (OUI). After installation, the installer prompts you to create
the database. Do not create the database until you install Oracle RAC at both sites. You must
create identical RAC databases only after installing RAC at both sites. For information about
installing Oracle RAC, see the documents available at the Oracle documentation site.
Creating the RAC database with ASM
After installing Oracle RAC, create the RAC database from the site which has the source disks of
the replication. In this manual, this site is referred as the local site. The RAC database creation is
replicated to the remote site through physical replication and the identical RAC database can be
configured on the remote site from the replication target disks.
Configuring the ASM disk group
After installing Oracle RAC software installation, configure the ASM disk group for RAC database
from the site which has the source disks of the replication. In this manual, this site is referred as
the Source Disk Site. The ASM disk group configuration is replicated to the remote site through
physical replication. To configure the storage device for configuring ASM disk group, see the latest
edition of the Using Serviceguard Extension for RAC manual, available at http://www.hp.com/
go/hpux-serviceguard-docs->HP Serviceguard Extension for RAC.
Configuring SGeRAC toolkit packages for the ASM disk group
To configure SADTA in Metrocluster for Oracle RAC database with ASM, the ASM disk group
must be packaged in Serviceguard MNP packages in both sites. Configure ASM Disk group MNP
package dependency on site’s Clusterware sub cluster MNP package.
For information about configuring the ASM disk group in the Serviceguard MNP packages, see
the HP SGeRAC Toolkit README.
Creating the Oracle RAC database
After setting up the ASM disk group for the RAC database data files, you must 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 Automatic Storage Management option as the
storage mechanism for the database and select the Use Oracle-managed files option to store
database files and provide the ASM DG that you created earlier.
Configuring and testing the RAC MNP stack at the Source Disk Site
To configure Oracle RAC Database with ASM in SADTA, the RAC database must be packaged
in Serviceguard MNP packages in both sites. 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 and the site’s ASM disk group MNP package.
This step completes the configuration of the RAC MNP stack at the Source Disk Site. Ensure that
in RAC MNP package, the 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 Source Disk Site
After creating the RAC database on the source disk site, you must halt it to replicate it on the target
disk site. If you are using 11g R2 RAC, you must change the remote_listener for the database
before halting the RAC database MNP stack as explained in step 1.
122 Configuring Oracle RAC in SADTA