共计 1703 个字符,预计需要花费 5 分钟才能阅读完成。
安装 Oracle 11.2.0.4 rac Linux
安装细节不过多赘述,和双节点安装并无明显区别,只是在配置 SSH 的时候节点选择位置,节点选择 rac1 自己,然后配置 SSH 互信。
另外,注意一个问题!
vm 测试环境下可能永远遇不到,但是生产环境下,如果你要将 一台独立的服务器拿出来安装 rac,以后再添加其他节点服务器。
这时要注意了,一定要保证 服务器的 public 网卡和 private 网卡是插着网线的,也就是必须是激活状态,否则在安装 grid soft,最后运行 root.sh 脚本的时候
会提示:
Installing Trace File Analyzer
OLR initialization – successful
Adding Clusterware entries to inittab
CRS-2672: Attempting to start ‘ora.mdnsd’ on ‘rac001’
CRS-2676: Start of ‘ora.mdnsd’ on ‘rac001’ succeeded
CRS-2672: Attempting to start ‘ora.gpnpd’ on ‘rac001’
CRS-2676: Start of ‘ora.gpnpd’ on ‘rac001’ succeeded
CRS-2672: Attempting to start ‘ora.cssdmonitor’ on ‘rac001’
CRS-2672: Attempting to start ‘ora.gipcd’ on ‘rac001’
CRS-2676: Start of ‘ora.cssdmonitor’ on ‘rac001’ succeeded
CRS-2676: Start of ‘ora.gipcd’ on ‘rac001’ succeeded
CRS-2672: Attempting to start ‘ora.cssd’ on ‘rac001’
CRS-2672: Attempting to start ‘ora.diskmon’ on ‘rac001’
CRS-2676: Start of ‘ora.diskmon’ on ‘rac001’ succeeded
CRS-2676: Start of ‘ora.cssd’ on ‘rac001’ succeeded
ASM created and started successfully.
Disk Group CRS created successfully.
The ora.asm resource is not ONLINE
Did not succssfully configure and start ASM at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 6912.
/u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed
同时群集的 alert 日志里:
crs-2757 command start timed out waiting for response from the resource ora.cluster_interconnect.haip
CRSD & HAIP Resources Remain In OFFLINE as Private Network Interface is Partially Up (文档 ID 1529721.1)
这是因为这时往往心跳上是没插网线的。
插上网线,哪怕网络不通。
运行 #/u01/app/11.2.0/grid/crs/install/rootcrs.pl -verbose -deconfig -force 后,重新执行 root.sh 就可以了。
更多 Oracle 相关信息见 Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12
本文永久更新链接地址 :http://www.linuxidc.com/Linux/2016-11/137683.htm