Oracle 11g RAC 二節點root.sh執行報錯故障一例
僅記錄一次Oracle 11g rac安裝過程
1. 採用RHEL6.5 multipath多重路徑軟體安裝採用udev方式配置ASM共用磁碟不成功,當時因為時間關係沒有過多的分析與嘗試。
OEL6.X IBM v3500儲存多重路徑配置
2. 採用RHEL6.5 multipath多重路徑軟體安裝採用ASMLIB方式配置ASM共用磁碟成功,但是在第二節點執 行root.sh報如下錯誤提示,解決方式見3.
Disk Group CRS creation failed with the following message:
ORA-15018: diskgroup cannot be created
ORA-15072: command requires at least 1 regular failure groups, discovered only 0
ORA-15080: synchronous I/O operation to a disk failed
Configuration of ASM ... failed
see asmca logs at /u01/app/grid/cfgtoollogs/asmca for details
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
3. 解決方式如下
node1,node2 下:
# vi /etc/sysconfig/oracleasm
ORACLEASM_ENABLED=true
ORACLEASM_UID=grid
ORACLEASM_GID=asmdba
ORACLEASM_SCANBOOT=true
ORACLEASM_SCANORDER="dm"
ORACLEASM_SCANEXCLUDE="sd"
ORACLEASM_USE_LOGICAL_BLOCK_SIZE=false
# /etc/init.d/oracleasm restart
第二節點先執行清除配置,再執行root.sh即可:
# /u01/app/11.2.0/grid/crs/install/roothas.pl -delete -force -verbose
# /u01/app/11.2.0/grid/root.sh