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

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3726|回复: 3
打印 上一主题 下一主题

[安装] 11.2.0.3 rac增加节点执行root.sh报 ORA-15018,ORA-15072,ORA-15080

[复制链接]
跳转到指定楼层
楼主
发表于 2016-7-5 21:24:25 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
在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

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

沙发
 楼主| 发表于 2016-7-5 21:50:37 | 只看该作者
这个是oracleasm 磁盘 新节点和老节点的 的主版本不一样导致的


回复 支持 反对

使用道具 举报

板凳
 楼主| 发表于 2016-7-5 21:53:54 | 只看该作者
具体修改新的节点的 /etc/sysconfig/oracleasm 文件ORACLEASM_SCANORDER="dm"
修改后,再重起新节点,磁盘的主版本就一样了.
回复 支持 反对

使用道具 举报

地板
 楼主| 发表于 2016-7-6 12:37:26 | 只看该作者
看存在节点的磁盘主版本:
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
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-5 05:46 , Processed in 0.097152 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表