Building Disaster Recovery Serviceguard Solutions Using Metrocluster with 3PAR Remote Copy

3. Create Serviceguard Disk Group MNP package for the disk group.
# cfsdgadm add flashdg sfo_flash_dg all=sw SFO_1 SFO_2
4. Activate the disk group in the site CFS sub-cluster.
# cfsdgadm activate flashdg
5. Create a volume from the entire disk group.
# vxassist -g flashdg make flash_vol 4500m
6. Create a file system using the created volume.
# newfs -F vxfs /dev/vx/rdsk/flashdg/flash_vol
7. Create mount points for the RAC database flash logs and flash area.
# mkdir /cfs
# chmod 775 /cfs
# mkdir /cfs/flash
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 DBCA
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 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 you create the RAC database on the local disk site, halt the database 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:
Configuring Oracle RAC database in a SADTA 87