安装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 就可以了。