互联网服务AIX部署rac

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

aix安装grid,第一个节点安装成功,第二个节点安装失败lspvhdisk0 00c2cb4045ee27b8 rootvg active hdisk1 00c3b164345bc77d rootvg active hdisk2 none ...显示全部

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

查看其它 4 个回答hong2611的回答

hong2611hong2611系统工程师北京银信长远科技股份有限公司

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

系统集成 · 2017-05-11
浏览4717
  • 磁盘的共享属性没改,在第2个节点执行root.sh就会失败,检查一下,reserve_policy是不是reserve_lock
    2017-05-11

回答者

hong2611
系统工程师北京银信长远科技股份有限公司
擅长领域: 服务器系统管理脑裂

hong2611 最近回答过的问题

回答状态

  • 发布时间:2017-05-11
  • 关注会员:5 人
  • 回答浏览:4717
  • X社区推广