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 setting up the file systems 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 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 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. 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 creating the RAC database on the local disk site, you must halt it to replicate it on the recovery cluster. You need to first 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.

Prior to creating an identical RAC database at the remote site, you must first prepare the replication environment. The replication setup depends on the type of arrays that are configured in your environment. Based on the arrays in your environment, see the respective chapters of this manual

Configuring Oracle RAC Database in a Site Aware Disaster Tolerant Architecture 375