ITPub博客

首页 > 数据库 > Oracle > RAC安装在节点2执行root.sh报错处理

RAC安装在节点2执行root.sh报错处理

Oracle 作者:scau2 时间:2013-09-04 20:07:56 0 删除 编辑

RAC安装在节点2执行root.sh报错处理
今天在网上帮人处理RAC安装故障
环境是centos5.8,RAC11.2.0
节点1很好,节点2执行root.sh后报错
2013-09-03 19:10:38: ADVM/ACFS is not supported on centos-release-5-8.el5.centos

2013-09-03 19:10:38:

2013-09-03 19:10:38: ADVM/ACFS is not configured
2013-09-03 19:10:38: Successfully created CRS resources for cluster daemon and ASM
2013-09-03 19:10:38: Checking if initial configuration has been performed
2013-09-03 19:10:38: Starting CSS in exclusive mode
2013-09-03 19:11:05: CRS-2672: Attempting to start 'ora.gipcd' on 'wodmdb2'
2013-09-03 19:11:05: CRS-2672: Attempting to start 'ora.mdnsd' on 'wodmdb2'
2013-09-03 19:11:05: CRS-2676: Start of 'ora.gipcd' on 'wodmdb2' succeeded
2013-09-03 19:11:05: CRS-2676: Start of 'ora.mdnsd' on 'wodmdb2' succeeded
2013-09-03 19:11:05: CRS-2672: Attempting to start 'ora.gpnpd' on 'wodmdb2'
2013-09-03 19:11:05: CRS-2676: Start of 'ora.gpnpd' on 'wodmdb2' succeeded
2013-09-03 19:11:05: CRS-2672: Attempting to start 'ora.cssdmonitor' on 'wodmdb2'
2013-09-03 19:11:05: CRS-2676: Start of 'ora.cssdmonitor' on 'wodmdb2' succeeded
2013-09-03 19:11:05: CRS-2672: Attempting to start 'ora.cssd' on 'wodmdb2'
2013-09-03 19:11:05: CRS-2672: Attempting to start 'ora.diskmon' on 'wodmdb2'
2013-09-03 19:11:05: CRS-2676: Start of 'ora.diskmon' on 'wodmdb2' succeeded
2013-09-03 19:11:05: CRS-2676: Start of 'ora.cssd' on 'wodmdb2' succeeded
2013-09-03 19:11:05: Querying for existing CSS voting disks
2013-09-03 19:11:05: Performing initial configuration for cluster
2013-09-03 19:11:06: Start of resource "ora.ctssd -init" Succeeded
2013-09-03 19:11:06: Configuring ASM via ASMCA
2013-09-03 19:11:06: Executing as grid: /u01/app/11.2.0/grid/bin/asmca -silent -diskGroupName OCR -diskList ORCL:ORC1,ORCL:ORC2 -redundancy EXTERNAL -configureLocalASM
2013-09-03 19:11:06: Running as user grid: /u01/app/11.2.0/grid/bin/asmca -silent -diskGroupName OCR -diskList ORCL:ORC1,ORCL:ORC2 -redundancy EXTERNAL -configureLocalASM
2013-09-03 19:11:06:   Invoking "/u01/app/11.2.0/grid/bin/asmca -silent -diskGroupName OCR -diskList ORCL:ORC1,ORCL:ORC2 -redundancy EXTERNAL -configureLocalASM" as user "grid"
2013-09-03 19:11:15: Configuration of ASM failed, see logs for details
2013-09-03 19:11:15: Did not succssfully configure and start ASM
2013-09-03 19:11:15: Exiting exclusive mode
2013-09-03 19:11:15: Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.crsd -init
2013-09-03 19:11:15: Stop of resource "ora.crsd -init" failed
2013-09-03 19:11:15: Failed to stop CRSD
2013-09-03 19:11:49: Initial cluster configuration failed.  See /u01/app/11.2.0/grid/cfgtoollogs/crsconfig/rootcrs_wodmdb2.log for details
ASM配置有问题,先让他查看权限是否正确
ll /dev/mapper/
这里没有问题,是oracle 和 oinstall
检查grid用户也在oinstall组里
后面检查发现有报错
DiskGroup OCR 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
于是确认了问题,之前在david的博客里看到过
具体的可以去
http://blog.csdn.net/tianlesoftware/article/details/6001696查看
我这里仅记录下处理步骤,先尝试在节点2上操作,不行就在所有节点均做操作
1、修改/etc/sysconfig/oracleasm文件,将文件中ORACLEASM_SCANORDER和ORACLEASM_SCANEXCLUDE参数改为ORACLEASM_SCANORDER="dm",ORACLEASM_SCANEXCLUDE="sd"
2、重启ASMLIB #/etc/init.d/oracleasm restart
3、清除之前的注册信息 #/oracle/grid/crs/install/roothas.pl -delete -force -verbose
4、重新在节点2执行root.sh文件 ----这里可真就是节点2了

<!-- 正文结束 -->

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22630639/viewspace-1115672/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 没有了~
下一篇: 没有了~
请登录后发表评论 登录
全部评论

注册时间:2009-10-01