Oracle RAC 11gR2 INSTALLATION GUIDE
BY ALLAN
MAR, 29, 2011
EMC:
After FDISK , the following command needs to be run :
/etc/init.d/naviagent restart
partprobe
磁盘规划
+CRS 三个2G的盘(at least 3 for normal asm installation) 
+DGDATA 三个10G的盘
+DGRECOVERY 两个5G的盘
NETWORK CONFIGURATION:
Vi /etc/hosts
#public ip
172.28.250.220 rac1
172.28.250.221 rac2
#priv ip  (需对接[反]线inter-connect to each other)
10.10.10.211 rac1prv
10.10.10.212 rac2prv
linux系统安装oracle11g#vip ip    (failover to connect to other Rac node)
172.28.250.188 rac1vip
172.28.250.189 rac2vip
#scan ip (necessary)
172.28.250.190 racscan
vi /etc/sysconfig/network-scripts/ifcfg-eth1 & ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
HWADDR=84:2b:2b:49:77:34
ONBOOT=yes
NETMASK=255.255.255.0
IPADDR=172.28.250.221
GATEWAY=172.28.250.253
TYPE=Ethernet
vi /f
nameserver 172.28.250.210
nameserver 202.96.209.133
samples:
Ifconfig eth1 up/down
service network restart
/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 505 asmoper
/usr/sbin/groupadd -g 506 asmdba
/usr/sbin/useradd -g oinstall -G dba,asmdba,oper oracle
/usr/sbin/useradd -g oinstall -G asmadmin,asmdba,asmoper,oper,dba grid
passwd oracle/grid
(ora123/grid123)
mkdir /oracle/app/
chown -R grid:oinstall /oracle/app/
chmod -R 775 /oracle/app/
mkdir -p /oracle/app/oraInventory
chown -R grid:oinstall /oracle/app/oraInventory
chmod -R 775 /oracle/app/oraInventory
mkdir -p /oracle/app/grid
mkdir -p /oracle/app/oracle
chown -R grid:oinstall /oracle/app/grid
chown -R oracle:oinstall /oracle/app/oracle
chmod -R 775 /oracle/app/oracle
chmod -R 775 /oracle/app/grid
修改系统参数:
vi /etc/f
#ORACLE SETTING
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
vi /etc/pam.d/login
#ORACLE SETTING
session required pam_limits.so
# vi /f
#ORACLE SETTING
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
_default = 262144
_max = 4194304
wmem_default = 262144
wmem_max = 1048586
gird时间同步所需要的设置(11gR2新增检查项)
#Network Time Protocol Setting
/sbin/service ntpd stop
chkconfig ntpd off
rm /f
mv /f to /f.org
参考文档e10812 –page 66 :
Oracle® Grid Infrastructure

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。