 |
Installation Of Oracle
11g R1
(11.1.0.6) Real Application Cluster
(RAC) Software on CentOS
EL 4 Update 5 x86
By Bhavin Hingu
|
This
document explains the step by step process of installing Oracle 11g
Real Application Cluster (RAC) with OUI.
Installing
Oracle 11g R1
(11.1.0.6) Real Application Cluster
(RAC)
Software
32-bit on CentOS EL 4 Update 5:
You MUST install this software
from one node only.
I usually prefer
to install the Oracle software
without creating the starter database.
So, here I have selected the "Software
Only" option.
Start the runInstaller command as
oracle user from any one node When OUI displays the Welcome page, click
Next
[oracle@node2-pub oracle]$
/mnt/cdrom/runInstaller
Xlib:
connection to ":0.0" refused by server
Xlib: No protocol specified
Can't connect to X11 window server using
':0.0' as the value of the DISPLAY variable.
If you get the above error,
please execute the below command as
root and then start the runInstaller by connecting as oracle.
[root@node2-pub
root]# xhost +
access control disabled, clients can connect from any host
[root@node2-pub root]# su - oracle
[oracle@node2-pub oracle]$ /mnt/cdrom/runInstaller

Click
Next

Select
"Custom" and Click Next.

Click
Next

Select
all the nodes and Click Next

Click
Next

At
this step, you should not receive any
error. If you have configured the Pre-Installation
steps correctly, then you will not
get any errors. I get one warning here as you can see which
is complaining about the low memory
than required. I had only 512 MB ram and the required memory
is 1GB but I would not worry about
this warning and will check the status box.
Click
Next

Leave the Default values (dba, dba) and Click
Next

Select "Install database Software Only" and Click
Next

Click
Install


Execute the mentioned script on
all the nodes.


Click
Exit
At this time, you need to update the .bash_profile file with the
ORACLE_HOME and PATH value as shown below.
please update this file an all the nodes.
oracle@node2-pub ~]$ cat .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
unset USERNAME
export CRS_HOME=/u01/app/crs
export ASM_BASE=/u01/app/asm
export ASM_HOME=$ASM_BASE/product/11gr1
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11gr1
PATH=$PATH:$CRS_HOME/bin:$ORACLE_HOME/bin
export PATH
# The below piece of code avoid the RAC installation error due to stty
if [ -t 0 ]; then
stty intr ^C
fi
umask 022
[oracle@node2-pub ~]$