Installing and Configuring Oracle Clusterware
After setting up replication in your environment and configuring the Metrocluster, you must install Oracle Clusterware. Use the Oracle Universal Installer to install and configure the Oracle Clusterware. As SADTA requires two Oracle Clusterware
When you install Oracle Clusterware at a site, the
Install Oracle Clusterware, one site at a time. Following sections describe the steps to install and configure Oracle Clusterware
Configuring the Network
Complete the following procedure to configure the network:
1.Identify the Oracle virtual IP and private IP to be used in the site Clusterware
In this sample configuration, for the SFO CRS
192.1.7.1SFO_1p.hp.com SFO_1p
192.1.7.2SFO_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, following are the entries that 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.
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 LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:
$ORACLE_HOME/rdbms/lib SHLIB_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/rdbms/lib32 export LD_LIBRARY_PATH SHLIB_PATH
export PATH=$PATH:$ORACLE_HOME/bin:$ORA_CRS_HOME/bin: /usr/local/bin:
CLASSPATH=$ORACLE_HOME/jre:$ORACLE_HOME/jlib: $ORACLE_HOME/rdbms/jlib:$ORACLE_HOME/network/jlib
Configuring Oracle RAC Database in a Site Aware Disaster Tolerant Architecture 369