AIX6.1安装oracle11g RAC 运行root.sh错误分析

安装grid时候在节点rjsoft1上运行root.sh成功,在节点rjsoft2运行root.sh后,节点1自动重启。节点rjsoft2 运行root.sh失败etc/hosts内容:192.168.230.10        rjsoft1192.168.230.11        rjsoft2192.168.2...显示全部
安装grid时候在节点rjsoft1上运行root.sh成功,在节点rjsoft2运行root.sh后,节点1自动重启。节点rjsoft2 运行root.sh失败

etc/hosts内容:


192.168.230.10        rjsoft1

192.168.230.11        rjsoft2

192.168.230.12      rjsoft1-vip

192.168.230.13        rjsoft2-vip

10.0.0.1            rjsoft1-priv

10.0.0.2            rjsoft2-priv

192.168.230.14      scanip

--------------------------------------

节点rjsoft1运行root.sh:

# ./orainstRoot.sh
Changing permissions of /oracle/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /oracle/oraInventory to oinstall.
The execution of the script is complete.
# /oracle/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=  /oracle/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
Creating /usr/local/bin directory...
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...


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: /oracle/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
User grid has the required capabilities to run CSSD in realtime mode
OLR initialization - successful
  root wallet
  root wallet cert
  root cert export
  peer wallet
  profile reader wallet
  pa wallet
  peer wallet keys
  pa wallet keys
  peer cert request
  pa cert request
  peer cert
  pa cert
  peer root cert TP
  profile reader root cert TP
  pa root cert TP
  peer pa cert TP
  pa peer cert TP
  profile reader pa cert TP
  profile reader peer cert TP
  peer user cert
  pa user cert
Adding Clusterware entries to inittab
CRS-2672: Attempting to start 'ora.mdnsd' on 'rjsoft1'
CRS-2676: Start of 'ora.mdnsd' on 'rjsoft1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rjsoft1'
CRS-2676: Start of 'ora.gpnpd' on 'rjsoft1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rjsoft1'
CRS-2672: Attempting to start 'ora.gipcd' on 'rjsoft1'
CRS-2676: Start of 'ora.cssdmonitor' on 'rjsoft1' succeeded
CRS-2676: Start of 'ora.gipcd' on 'rjsoft1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rjsoft1'
CRS-2672: Attempting to start 'ora.diskmon' on 'rjsoft1'
CRS-2676: Start of 'ora.diskmon' on 'rjsoft1' succeeded
CRS-2676: Start of 'ora.cssd' on 'rjsoft1' succeeded

ASM created and started successfully.

Disk Group OCRDG created successfully.

clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'system'..
Operation successful.
CRS-4256: Updating the profile
Successful addition of voting disk 7f491f0bdcac4f38bf0f7d46d11f5138.
Successfully replaced voting disk group with +OCRDG.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
1. ONLINE   7f491f0bdcac4f38bf0f7d46d11f5138 (/dev/rhdisk8) [OCRDG]
Located 1 voting disk(s).
CRS-2672: Attempting to start 'ora.asm' on 'rjsoft1'
CRS-2676: Start of 'ora.asm' on 'rjsoft1' succeeded
CRS-2672: Attempting to start 'ora.OCRDG.dg' on 'rjsoft1'
CRS-2676: Start of 'ora.OCRDG.dg' on 'rjsoft1' succeeded
CRS-2672: Attempting to start 'ora.registry.acfs' on 'rjsoft1'
CRS-2676: Start of 'ora.registry.acfs' on 'rjsoft1' succeeded
Configure Oracle Grid Infrastructure for a Cluster ... succeeded-

------------------===================================

节点2rjsoft2运行root.sh:

# /oracle/oraInventory/orainstRoot.sh
Changing permissions of /oracle/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /oracle/oraInventory to oinstall.
The execution of the script is complete.
# /oracle/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=  /oracle/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
Creating /usr/local/bin directory...
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...


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: /oracle/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
User grid has the required capabilities to run CSSD in realtime mode
OLR initialization - successful
Adding Clusterware entries to inittab
CRS-2672: Attempting to start 'ora.mdnsd' on 'rjsoft2'
CRS-2676: Start of 'ora.mdnsd' on 'rjsoft2' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rjsoft2'
CRS-2676: Start of 'ora.gpnpd' on 'rjsoft2' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rjsoft2'
CRS-2672: Attempting to start 'ora.gipcd' on 'rjsoft2'
CRS-2676: Start of 'ora.cssdmonitor' on 'rjsoft2' succeeded
CRS-2676: Start of 'ora.gipcd' on 'rjsoft2' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rjsoft2'
CRS-2672: Attempting to start 'ora.diskmon' on 'rjsoft2'
CRS-2676: Start of 'ora.diskmon' on 'rjsoft2' succeeded
CRS-2676: Start of 'ora.cssd' on 'rjsoft2' succeeded
PRCR-1035 : Failed to look up CRS resource ora.network.type for {1}
PRCR-1068 : Failed to query resources
Cannot communicate with crsd

add vip -n rjsoft2 -k 1 -A rjsoft2-vip/255.255.255.0/en1 on node=rjsoft2 ... failed
Failed to add Nodeapps at /oracle/11.2.0/grid/crs/install/crsconfig_lib.pm line 9208.
/oracle/11.2.0/grid/perl/bin/perl -I/oracle/11.2.0/grid/perl/lib -I/oracle/11.2.0/grid/crs/install /oracle/11.2.0/grid/crs/install/rootcrs.pl execution failed

---------------------------------------


运行到CRS-2676: Start of 'ora.cssd' on 'rjsoft2' succeeded时候节点rjsoft1自动重启。收起
参与6

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

lazymanlazyman系统工程师TG
NODE2 VIP 没有添加成功或VIP没有激活。请检查安装过程 。。
互联网服务 · 2013-09-02
浏览2119

回答者

lazyman
系统工程师TG
擅长领域: 服务器存储灾备

lazyman 最近回答过的问题

回答状态

  • 发布时间:2013-09-02
  • 关注会员:1 人
  • 回答浏览:2119
  • X社区推广