Oracle Database 11g Release 2 Real Application Clusters with SLVM/RAW on HP-UX Installation Cookbook, September 2010
11
12 Open a terminal window of both nodes (bike and cycle), Log in as “oracle”, Open file
/var/opt/product/crs_r2/crs/install/crsconfig_params and edit following fields.
ORACLE_HOME=/var/opt/product/crs_r2 # Oracle Home dir
ORACLE_BASE=/var/opt/oracle # Oracle Base dir
OCR_LOCATIONS=/dev/vg_oracle/ora_ocr_1024m
CLUSTER_NAME=bike-cluster # Any name can be given
HOST_NAME_LIST=bike,cycle # All hosts of the cluster
NODE_NAME_LIST=bike,cycle # All nodes of the cluster
PRIVATE_NAME_LIST=bike-priv,cycle-priv # Private host names
VOTING_DISKS=/dev/vg_oracle/ora_vote_512m # Voting disk
CRS_NODEVIPS='bike-vip/255.255.255.0/lan0,cycle-
vip/255.255.255.0/lan0'
# VIPs
NODELIST=bike,cycle # Node list
NETWORKS="lan0"/15.154.62.0:public,"lan2"/192.76.1.0
:cluster_interconnect
#Public interface
SCAN_NAME=bike-cluster-scan #Cluster scan host name
SCAN_PORT=1521 #Cluster scan port no.
13 Execute rootcrs.pl. command on both node (bike and cycle) as follows.
/var/opt/product/crs_r2/perl/bin/perl -I/var/opt/product/crs_r2/perl/lib
-I/var/opt/product/crs_r2/crs/install
/var/opt/product/crs_r2/crs/install/rootcrs.pl
14 Execute following commands on both node (bike and cycle) to link oracle binary with RAC enabled.
export ORACLE_HOME = /var/opt/product/crs_r2 (CRS HOME)
cd CRSHOME/rdbms/lib
make -f ins_rdbms.mk rac_on ioracle
20