确认网络及心跳都设置正确
[root@rac3 ~]# ping rac1
[root@rac3 ~]# ping rac2
[root@rac3 ~]# ping rac1-priv
[root@rac3 ~]# ping rac2-priv
[root@rac3 ~]# rlogin rac1
[root@rac3 ~]# rlogin rac2
[root@rac3 ~]# rlogin rac1-priv
[root@rac3 ~]# rlogin rac1-priv
l Oracle软件相关配置
在操作系统装好以后,需要启动rsh、rlogin、rexec服务,打上安装ORACLE需要的补丁,修改内核参数,并正确定设置环境变量,目录要求和其它节点一样。
export LD_ASSUME_KERNEL=2.4.1
export ORACLE_BASE=/u01/oracle
export ORACLE_HOME=/u01/oracle/product/9.2
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/Apache/Apache/bin:$PATH
export ORACLE_OWNER=oracle
export ORACLE_SID=rac3
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib:$LD_LIBRARY_PATH
export DISPLAY=192.168.88.10:0.0;
export DBCA_RAW_CONFIG=/home/oracle/filename
复制rac2点的软件目录至rac3
[oracle@rac3 ~]$ cd /u01/oracle/product/9.2/
[oracle@rac3 9.2]$ rcp -rp rac1:/u01/oracle/product/9.2/* .
[oracle@rac3 9.2]$ cd /u01/oracle/product/9.2/oracm/admin/
l 识别共享磁盘
在rac3上识别共享磁盘并挂载裸设备。
raw /dev/raw/raw1 /dev/sdc1
raw /dev/raw/raw2 /dev/sdc2
raw /dev/raw/raw3 /dev/sdc3
raw /dev/raw/raw4 /dev/sdc5
raw /dev/raw/raw5 /dev/sdc6
raw /dev/raw/raw6 /dev/sdc7
raw /dev/raw/raw7 /dev/sdc8
raw /dev/raw/raw8 /dev/sdc9
raw /dev/raw/raw9 /dev/sdc10
raw /dev/raw/raw10 /dev/sdc11
raw /dev/raw/raw11 /dev/sdc12
raw /dev/raw/raw12 /dev/sdc13
raw /dev/raw/raw13 /dev/sdc14
raw /dev/raw/raw14 /dev/sdc15
raw /dev/raw/raw15 /dev/sdd1
raw /dev/raw/raw16 /dev/sdd2
raw /dev/raw/raw17 /dev/sdd3
raw /dev/raw/raw18 /dev/sdd5
raw /dev/raw/raw19 /dev/sdd6
raw /dev/raw/raw20 /dev/sdd7
raw /dev/raw/raw21 /dev/sdd8
raw /dev/raw/raw22 /dev/sdd9
raw /dev/raw/raw23 /dev/sdd10
raw /dev/raw/raw24 /dev/sdd11
raw /dev/raw/raw25 /dev/sdd12
for i in `seq 1 25`
do
chmod 660 /dev/raw/raw$i
chown oracle.dba /dev/raw/raw$i
done
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/104152/viewspace-201782/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/104152/viewspace-201782/