重庆思庄Oracle、Redhat认证学习论坛

标题: 11.2.0.3 rac增加节点执行root.sh报 ORA-15018,ORA-15072,ORA-15080 [打印本页]

作者: 郑全    时间: 2016-7-5 21:24
标题: 11.2.0.3 rac增加节点执行root.sh报 ORA-15018,ORA-15072,ORA-15080
在rac增加节点时,在新节点执行root.sh报错:

[root@rac03 ~]# /u01/app/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g
The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/11.2.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
OLR initialization - successful
Adding Clusterware entries to upstart
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac03'
CRS-2676: Start of 'ora.mdnsd' on 'rac03' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac03'
CRS-2676: Start of 'ora.gpnpd' on 'rac03' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac03'
CRS-2672: Attempting to start 'ora.gipcd' on 'rac03'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac03' succeeded
CRS-2676: Start of 'ora.gipcd' on 'rac03' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac03'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac03'
CRS-2676: Start of 'ora.diskmon' on 'rac03' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac03' succeeded
未能创建磁盘组DATA, 返回消息如下:
ORA-15018: diskgroup cannot be created
ORA-15072: command requires at least 2 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 6811.
/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


作者: 郑全    时间: 2016-7-5 21:50
这个是oracleasm 磁盘 新节点和老节点的 的主版本不一样导致的



作者: 郑全    时间: 2016-7-5 21:53
具体修改新的节点的 /etc/sysconfig/oracleasm 文件ORACLEASM_SCANORDER="dm"
修改后,再重起新节点,磁盘的主版本就一样了.

作者: 郑全    时间: 2016-7-6 12:37
看存在节点的磁盘主版本:
ls -ltr /dev/oracleasm/disks
total 0
brw-rw---- 1 grid asmadmin 253, 10 Jul  5 00:29 ASM_DATA02
brw-rw---- 1 grid asmadmin 253, 11 Jul  5 00:29 ASM_DATA01
brw-rw---- 1 grid asmadmin 253, 12 Jul  5 00:29 OCR_VOTE01
brw-rw---- 1 grid asmadmin 253, 13 Jul  5 00:29 OCR_VOTE02
brw-rw---- 1 grid asmadmin 253, 14 Jul  5 00:29 OCR_VOTE03
brw-rw---- 1 grid asmadmin 253, 15 Jul  5 00:29 ASMDATA03
brw-rw---- 1 grid asmadmin 253, 16 Jul  5 16:30 OCR_TEMP
新节点的磁盘主版本:
ls -ltr /dev/oracleasm/disks/
总用量 0
brw-rw---- 1 grid asmadmin 8,  17 7月   5 12:29 OCR_VOTE03
brw-rw---- 1 grid asmadmin 8,  33 7月   5 12:29 OCR_VOTE02
brw-rw---- 1 grid asmadmin 8,  49 7月   5 12:29 OCR_VOTE01
brw-rw---- 1 grid asmadmin 8,  65 7月   5 12:29 ASM_DATA01
brw-rw---- 1 grid asmadmin 8,  81 7月   5 12:29 ASM_DATA02
brw-rw---- 1 grid asmadmin 8,  97 7月   5 12:29 ASMDATA03
brw-rw---- 1 grid asmadmin 8, 112 7月   5 17:07 OCR_TEMP
两者明显不一样,这个需要修改 asm扫描的顺序:
具体修改新节点的 /etc/sysconfig/oracleasm 文件:
ORACLEASM_SCANORDER="mpath dm"
修改后,再重起新节点,磁盘的主版本就一样了.
该问题解决参见: note 1670374.1





欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2