互联网服务AIX部署rac

aix安装oracle11g时,第二个节点执行root.sh失败

aix安装grid,第一个节点安装成功,第二个节点安装失败

lspv

hdisk0 00c2cb4045ee27b8 rootvg active
hdisk1 00c3b164345bc77d rootvg active
hdisk2 none None
hdisk3 none None

ls -al /dev/rhdisk*

crw------- 2 root system 23, 0 May 08 13:41 /dev/rhdisk0
crw------- 1 root system 23, 1 May 08 13:41 /dev/rhdisk1
crw-rw---- 1 grid dba 23, 2 May 09 15:09 /dev/rhdisk2
crw-rw---- 1 grid dba 23, 3 May 09 15:09 /dev/rhdisk3

./root.sh

Running Oracle 11g root.sh script...

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 file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n) [n]:
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]:
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]:

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.sh script.
Now product-specific root actions will be performed.
2017-05-09 19:48:59: Parsing the host name
2017-05-09 19:48:59: Checking for super user privileges
2017-05-09 19:48:59: User has super user privileges
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
User grid has the required capabilities to run CSSD in realtime mode
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'system'..
Operation successful.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-2672: Attempting to start 'ora.gipcd' on 'rc2'
CRS-2672: Attempting to start 'ora.mdnsd' on 'rc2'
CRS-2676: Start of 'ora.gipcd' on 'rc2' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'rc2' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rc2'
CRS-2676: Start of 'ora.gpnpd' on 'rc2' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rc2'
CRS-2676: Start of 'ora.cssdmonitor' on 'rc2' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rc2'
CRS-2672: Attempting to start 'ora.diskmon' on 'rc2'
CRS-2676: Start of 'ora.diskmon' on 'rc2' succeeded
CRS-2676: Start of 'ora.cssd' on 'rc2' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'rc2'
CRS-2676: Start of 'ora.ctssd' on 'rc2' succeeded

DiskGroup OCR creation failed with the following message:
ORA-15018: diskgroup cannot be created
ORA-15031: disk specification '/dev/rhdisk2' matches no disks
ORA-15025: could not open disk '/dev/rhdisk2'
ORA-27041: unable to open file

Configuration of ASM failed, see logs for details
Did not succssfully configure and start ASM
CRS-2500: Cannot stop resource 'ora.crsd' as it is not running
CRS-4000: Command Stop failed, or completed with errors.
Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.crsd -init
Stop of resource "ora.crsd -init" failed
Failed to stop CRSD
CRS-2673: Attempting to stop 'ora.asm' on 'rc2'
CRS-2677: Stop of 'ora.asm' on 'rc2' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'rc2'
CRS-2677: Stop of 'ora.ctssd' on 'rc2' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'rc2'
CRS-2677: Stop of 'ora.cssdmonitor' on 'rc2' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'rc2'
CRS-2677: Stop of 'ora.cssd' on 'rc2' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'rc2'
CRS-2677: Stop of 'ora.gpnpd' on 'rc2' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'rc2'
CRS-2677: Stop of 'ora.gipcd' on 'rc2' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'rc2'
CRS-2677: Stop of 'ora.mdnsd' on 'rc2' succeeded
Initial cluster configuration failed. See /u01/app/11.2.0/grid/cfgtoollogs/crsconfig/rootcrs_rc2.log for details

参与20

5同行回答

desert_xudesert_xu数据库运维工程师杭州xxxx有限公司
两边的路径不一样吗,权限不对吧 应该是 grid.asmadmin可以确认一下节点1 的磁盘是什么权限 ls -l /dev/rhdisk2在节点1 执行crsctl query css votedisk ocrcheck 显示全部

两边的路径不一样吗,权限不对吧 应该是 grid.asmadmin
可以确认一下节点1 的磁盘是什么权限 ls -l /dev/rhdisk2
在节点1 执行crsctl query css votedisk

       ocrcheck 
收起
医药 · 2017-05-10
浏览5061
wangkedongwangkedong数据库管理员盛京银行
你不应该创建裸设备,在aix下要使用裸盘,lspv要能看到pvid才行,每个节点看到的pvid要一致chdev -l hdisk* -a pv=yes,在两个节点分别执行,然后改权限660&grid:asmadmin,还要确认多路径访问显示全部

你不应该创建裸设备,在aix下要使用裸盘,lspv要能看到pvid才行,每个节点看到的pvid要一致
chdev -l hdisk* -a pv=yes,在两个节点分别执行,然后改权限660&grid:asmadmin,还要确认多路径访问

收起
银行 · 2017-05-10
浏览5045
renxucongrenxucongQA工程师上海浪擎
谢谢大家,找到问题了http://www.linuxidc.com/Linux/2015-02/113610.htm,就是又出现新问题了显示全部

谢谢大家,找到问题了http://www.linuxidc.com/Linux/2015-02/113610.htm,就是又出现新问题了

收起
互联网服务 · 2017-05-12
浏览4707
hong2611hong2611系统工程师北京银信长远科技股份有限公司
chdev -l hdisk2 -a reserve_policy=no_reserver 2=3显示全部

chdev -l hdisk2 -a reserve_policy=no_reserve
r 2=3

收起
系统集成 · 2017-05-11
浏览4728
  • 磁盘的共享属性没改,在第2个节点执行root.sh就会失败,检查一下,reserve_policy是不是reserve_lock
    2017-05-11
AcdanteAcdante技术总监SHFY
题主在安装GRID集群包时,执行,.root.sh脚本时,是否严格按照要求,现在一个节点执行,且等待该节点执行完毕后,再在另一个节点执行root.sh脚本?如果同时或者在节点1执行过程中,同时在另一节点执行root.sh脚本,可能会导致root.sh执行失败。...显示全部

题主在安装GRID集群包时,执行,.root.sh脚本时,是否严格按照要求,现在一个节点执行,且等待该节点执行完毕后,再在另一个节点执行root.sh脚本?如果同时或者在节点1执行过程中,同时在另一节点执行root.sh脚本,可能会导致root.sh执行失败。

收起
互联网服务 · 2017-05-10
浏览5061
  • 是的,等节点1安装成功,之后再安装节点2的,但是节点2安装失败
    2017-05-10

提问者

renxucong
QA工程师上海浪擎
擅长领域: AIX服务器Unix

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2017-05-10
  • 关注会员:5 人
  • 问题浏览:9028
  • 最近回答:2017-05-12
  • X社区推广