Install Oracle RAC 11gr2 On Redhat 6.6
Install Oracle RAC 11gr2 On Redhat 6.6
Install Oracle RAC 11gr2 On Redhat 6.6
6:
# vi /etc/hosts
127.0.0.1 localhost.localdomain localhost
# vi /etc/sysctl.conf
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 4294967295
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
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=1048586
# /sbin/sysctl -p
# vi /etc/security/limits.conf
# vi /etc/pam.d/login
# vi /etc/selinux/config
SELINUX=disabled
4. Make directory
mkdir -p /u01/app/grid
mkdir -p /u01/app/11.2.0/grid
chown -R grid:oinstall /u01
mkdir -p /u01/app/oracle
chown oracle:oinstall /u01/app/oracle
chmod -R 775 /u01
5.Config RSH
- Config:
# su -
# chkconfig rsh on
# chkconfig rlogin on
# service xinetd reload
Reloading configuration: [ OK ]
# touch /etc/hosts.equiv
# chmod 600 /etc/hosts.equiv
# chown root.root /etc/hosts.equiv
# vi /etc/hosts.equiv
rnd01 oracle
rnd01-priv oracle
rnd01-vip oracle
rnd02 oracle
rnd02-priv oracle
rnd02-vip oracle
rnd01 grid
rnd01-priv grid
rnd01-vip grid
rnd02 grid
rnd02-priv grid
rnd02-vip grid
# fdisk /dev/sdc
# fdisk /dev/sde
# fdisk /dev/sdg
# fdisk /dev/sdb
# fdisk /dev/sdd
# fdisk /dev/sdf
# vi /etc/udev/rules.d/60-raw.rules
# start_udev
# vi /etc/sysconfig/ntpd
- Restart NTP:
$ vi .bash_profile
ORACLE_SID=+ASM1
export ORACLE_SID
ORACLE_BASE=/u01/app/grid
export ORACLE_BASE
ORACLE_HOME=/u01/app/11.2.0/grid
export ORACLE_HOME
SHLIB_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/rdbms/lib32
export SHLIB_PATH
PATH=$PATH:$ORACLE_HOME/bin
export PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib/:
$ORACLE_HOME/network/jlib
export CLASSPATH
umask 022
$ vi .bash_profile
ORACLE_BASE=/u01/app/oracle
export ORACLE_BASE
ORACLE_HOME=/u01/app/oracle/11.2.0/db
export ORACLE_HOME
ORACLE_SID=DBRND1
export ORACLE_SID
SHLIB_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/rdbms/lib32
export SHLIB_PATH
PATH=$PATH:$ORACLE_HOME/bin
export PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib/:
$ORACLE_HOME/network/jlib
export CLASSPATH
umask 022
10. Run CVU Pre Clusterware Install Checks: Done on node1 with oracle
# cd /u01/setup/grid/rpm
# rpm -Uvh cvuqdisk-1.0.7-1.rpm
$ cd /u01/setup/grid
$ ./runcluvfy.sh stage -pre crsinst -n CNTT-RND-01,CNTT-RND-02 -fixup -verbose |
more
$ cd /u01/setup/grid
$ ./runcluvfy.sh stage -post hwos -n CNTT-RND-01,CNTT-RND-02 -verbose | more
---------------------------------------------------------------------------
For reference:
14. Create DB
dbca