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

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
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
export CLASSPATH
export ORACLE_SID=<set RAC database instance SID>
Configuring the storage device for installing Oracle Clusterware
When Oracle Clusterware is installed in a site, it is installed only on a local file system on the
Clusterware sub-cluster nodes of that site. Complete the following steps on all nodes at the site:
1. Create a directory path for Oracle Clusterware Home, set an owner, and then specify
appropriate permissions.
2. Create an Oracle directory to save installation logs, set an owner, and then specify appropriate
permissions.
3. Create mount points on all nodes in the site for a CFS file system, where the Clusterware
sub-cluster OCR and Voting files will be stored.
Setting Up CRS OCR and VOTING directories
The shared storage for storing OCR and VOTING data can be configured using SLVM, or CVM,
or CFS. When using SLVM or CVM, a separate SLVM volume group or CVM disk groups, with all
required raw volumes must be configured using non replicated disks. For more information on
using raw devices for OCR and VOTING storage, see the Oracle® Clusterware Installation Guide
available at the Oracle documentation site. This CRS storage is however not required to be
replicated in SADTA.
NOTE: The following example shows how to configure CFS for OCR and VOTING data in a
legacy package style. HP recommends you to follow modular style of packaging wherever possible.
82 Configuring Oracle RAC in SADTA