Building Disaster Recovery Serviceguard Solutions Using Metrocluster with EMC SRDF

Node : SFO_1
Cluster Manager : up
CVM state : up (MASTER)
Node : SFO_2
Cluster Manager : up
CVM state : up
Installing and configuring Oracle clusterware
After you set up replication in your environment and configuring the Metrocluster, install Oracle
Clusterware. Use the Oracle Universal Installer to install and configure the Oracle Clusterware.
SADTA requires two Oracle Clusterware sub-clusters, one at each site, therefore you must install
and configure Oracle Clusterware twice in the Serviceguard cluster.
When you install Oracle Clusterware at a site, the sub-cluster installation is confined to a site and
the Clusterware storage is not replicated. As a result, Oracle Clusterware must be installed on a
local file system at each node in the site. The Oracle Cluster Registry (OCR) and Voting disks must
be shared only among the nodes in the site. In this example, CFS is shared between the site nodes
for the OCR and Voting disks.
Install Oracle Clusterware, one site at a time. The following sections describe the procedure to
install and configure Oracle Clusterware sub-cluster at both sites.
Configuring the network
To configure the network:
1. Identify the Oracle virtual IP and private IP to be used in the site Clusterware sub-cluster and
enter them in the /etc/hosts file on all the nodes in the site. All the nodes in the site CRS
sub-cluster must be able to resolve the private and virtual IP of all other nodes in the site CRS
sub-cluster.
In this sample configuration, for the SFO CRS sub-cluster, the following entries must be made
in the /etc/hosts file of SFO_1 and SFO_2 nodes.
192.1.7.1 SFO_1p.hp.com SFO_1p
192.1.7.2 SFO_2p.hp.com SFO_2p
16.89.140.202 SFO_1v.hp.com SFO_1v
16.89.140.204 SFO_2v.hp.com SFO_2v
2. Configure the appropriate host equivalence for the oracle user. When installing Oracle
RAC and the database software, host equivalence for the oracle user must be configured
only among the nodes in the same site.
Add entries in the .rhosts file of the Oracle user for every network address of nodes in the
site. Do not include the nodes in the other site.
In this example, the following entries are included in the .rhosts file:
SFO_1 oracle
SFO_2 oracle
SFO_1p oracle
SFO_2p oracle
SFO_1v oracle
SFO_2v oracle
After installing and configuring all Oracle software, the host equivalence for the oracle user
across the sites can be configured.
3. Update the /home/oracle/.profile file for the Oracle user and set the ORACLE_SID
environment variable using the RAC database instance name that will run in the node.
The following is the .profile file for this example:
export ORACLE_BASE=/opt/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
export ORA_CRS_HOME=/opt/crs/oracle/product/10.2.0/crs
106 Configuring Oracle RAC in SADTA