INSTALL ORACLE RAC ON LINUX 6.6
Introduction
This document describe steps to install Oracle Grid Infrastructure on Linux 6.6.
Environment:-
Operating System: Oracle Linux 6.6
Database: - 11.2.0.4
Before this document I post how to configure ASMLIB On Oracle Linux 6.6 Check it here.
Software Needed:-
1- Oracle Grid Infrastructure 11.2.0.4.
2- Oracle Linux 6.6
INSTALL ORACLE RAC ON LINUX 6.6
About the Author
Osama Mustafa has progressive experience in Oracle Products, community. He recently served as
Oracle Database Administrator.
Provide Database Implementation Solutions, High Availability Solution, Infrastructure and Storage
Planning, Install, Configure, Implement and manage Oracle E-Business Suite environments. Architect,
build and support highly-available Oracle EBS, Database and Fusion Middleware environments including
appropriate reporting, Installs, configures, upgrades, tunes, and maintains production, development and
test databases.
He entered Oracle ACE Director Program in 2015, he is author for the book Oracle Penetration Testing,
Osama Mustafa Certified OCP 10g,11g, Linux Implementations , Certified Ethical hacker and LPT , and
Solaris Administrator.
Include to all this Osama Mustafa is international Speaker in Oracle User Group and Oracle OTN Tour,
Published Online Articles in His blog about Oracle Technology, Volunteer in Oracle User Group such as
IOUG, ODTUG and UKOUG , Volunteer Board member in RACSIG and Organizer for RACATTACK
Event around the world. Recently his article has been published on OTECH magazine about Real
Application Cluster Here.
Twitter: @OsamaOracle
G+: Osama Mustafa
SlidShare: Osama Mustafa
LinkedIn: http://www.linkedin.com/in/osamamustafa
Blog: https://osamamustafa.blogpsot.com.
INSTALL ORACLE RAC ON LINUX 6.6
To make it easier use Yum repository to install and configure pre requisites I post before how to create
local Yum repository using ISO image Read from here.
Using Yum
yum install oracle-rdbms-server-11gR2-preinstall
Manually follow the below steps:-
1- Create User On both Node
/usr/sbin/groupadd -g 501 oinstall
/usr/sbin/groupadd -g 502 dba
/usr/sbin/groupadd -g 503 oper
/usr/sbin/groupadd -g 504 asmadmin
/usr/sbin/groupadd -g 506 asmdba
/usr/sbin/groupadd -g 507 asmoper
2- Create the users that will own the Oracle software using the commands
/usr/sbin/useradd -u 501 -c "Oracle Grid Infrastructure Owner" -g oinstall -G
asmadmin,asmdba,asmoper grid
/usr/sbin/useradd -u 502 -c "Oracle RDBMS Owner" -g oinstall -G dba,oper,asmdba oracle
Set Password for Both users:-
passwd grid
passwd oracle
Note: Step #1, #2 should be even with yum.
3- Configure /etc/hosts.
4- vi /etc/sysctl.conf
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 6553600
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
/sbin/sysctl –p
INSTALL ORACLE RAC ON LINUX 6.6
5- add these lines in /etc/security/limits.conf :-
grid soft nproc 2047
grid hard nproc 16384
grid soft nofile 1024
grid hard nofile 65536
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
6- add this line in /etc/pam.d/login
session required pam_limits.so
7- Create directories :-
# mkdir -p /u01/app/oraInventory
# chown -R grid:oinstall /u01/app/oraInventory
# chmod -R 775 /u01/app/oraInventory
# mkdir -p /u01/11.2.0/grid
# chown -R grid:oinstall /u01/11.2.0/grid
# chmod -R 775 /u01/11.2.0/grid
# mkdir -p /u01/app/oracle/product/11.2.0/db_1
# chown -R oracle:oinstall /u01/app/oracle/product/11.2.0/db_1
# chmod -R 775 /u01/app/oracle/product/11.2.0/db_1
Now follow the screenshots:-
INSTALL ORACLE RAC ON LINUX 6.6
After the above steps the RAC will be installed successfully don’t ignore any error message.
Now After Grid Installation, The ASM Configuration and Create DATA and FRA Disk like the
below.