Installing Oracle Real Application Clusters (RAC) Software

The Oracle RAC software must be installed twice in the Metrocluster, once at each 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 on 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 to 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 to 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.

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 on 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 on 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 on 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.

386 Designing a Disaster Recovery Solution Using Site Aware Disaster Tolerant Architecture