Building Disaster Recovery Serviceguard Solutions Using Metrocluster with Continuous Access for P9000 and XP A.11.00

MNP packages must be configured using the critical_package attribute, and the CFS MP
MNP and CVM DG MNP database packages must be configured using the managed_package
attribute. As a result, the Site Controller Package monitors only the RAC database MNP package
and initiates a site failover when it fails. The Site Controller Package can be configured to monitor
all the RAC MNP stack packages and initiate a site failover only when all the packages in the
stack have failed or the site itself is lost in a disaster. In such a scenario, all RAC MNP stack
packages must be configured with the managed_package attribute and no package must be
configured with the critical_package attribute in the Site Controller Package configuration
file.
Configuring SADTA
This section describes the procedures that must be followed to configure SADTA with Oracle
Database 10gR2 RAC.
To configure SADTA with Oracle Database 10gR2 RAC:
1. Set up Replication.
2. Configure Metrocluster.
3. Install and Configure Oracle Clusterware.
4. Install and Configure Oracle Real Application Clusters (RAC).
5. Create the RAC database.
6. Create the identical RAC database at the remote site.
7. Configure the Site Controller Package and the Site Safety Latch.
8. Configure client access for Oracle Database 10gR2 RAC.
The subsequent sections discuss every step in detail.
Setting up replication
The RAC database data files and the flash recovery area must be replicated between the site disk
arrays. The underlying disks must be configured for replication. Create device groups for these
disks using paircreate command.
Configuring Metrocluster with sites
To configure SADTA, a Serviceguard cluster must be created that comprises nodes from both sites.
In this example, a Serviceguard cluster is created using nodes SFO_1, SFO_2, SJC_1, and SJC_2.
This example describes a cross-subnet Serviceguard cluster.
To configure Metrocluster:
1. Create a Serviceguard cluster with two sites.
2. Configure the Cluster File System Multi-node Package (SMNP).
The following sections describe each of these steps in detail.
Creating a Serviceguard cluster with sites configured
To create a Serviceguard cluster with sites configured:
1. Run the following command to create a cluster configuration file from any node:
# cmquerycl -v -C /etc/cmcluster/dbcluster.config -n SFO_1 -n SFO_2\
-n SJC_1 -n SJC_2 -w full -q quorum.abc.com
where quorum.abc.com is the host name of the Quorum Server.
2. Edit the /etc/cmcluster/dbcluster.config file to specify the site configuration.
Following is a sample of the configuration file:
SITE_NAME san_francisco
SITE_NAME san_jose
NODE_NAME sfo_1
SITE san_francisco
NETWORK_INTERFACE lan2 #SG HB 1
Configuring Oracle RAC database in a Site Aware Disaster Tolerant Architecture(SADTA) 195