RAC安裝gird,第一個節點執行root.sh報"The ora.asm resource is not ONLINE"錯誤

RAC版本:11.2.0.4css

OS版本:linux 6.4linux

 

RAC安裝gird,第一個節點執行root.sh運行失敗,報"The ora.asm resource is not ONLINE"錯誤。詳細日誌以下:bash

# /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
Installing Trace File Analyzer
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 upstart
CRS-2672: Attempting to start 'ora.mdnsd' on 'ysdb2'
CRS-2676: Start of 'ora.mdnsd' on 'ysdb2' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'ysdb2'
CRS-2676: Start of 'ora.gpnpd' on 'ysdb2' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'ysdb2'
CRS-2672: Attempting to start 'ora.gipcd' on 'ysdb2'
CRS-2676: Start of 'ora.cssdmonitor' on 'ysdb2' succeeded
CRS-2676: Start of 'ora.gipcd' on 'ysdb2' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'ysdb2'
CRS-2672: Attempting to start 'ora.diskmon' on 'ysdb2'
CRS-2676: Start of 'ora.diskmon' on 'ysdb2' succeeded
CRS-2676: Start of 'ora.cssd' on 'ysdb2' succeeded

ASM created and started successfully.

Disk Group CRS created successfully.

The ora.asm resource is not ONLINE
Did not succssfully configure and start ASM at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 6912.
/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

解決過程:
1.搜索MOS
在MOS中發現這篇文章:root.sh Fails as the ora.asm resource is not ONLINE or PROTL-16 Reports [ID 1259874.1]
可是版本不對,在11.2.0.4中不該該有這個bug問題。
不過仍是按照文中說明檢查瞭如下日誌信息,可是沒有發現有用信息:網絡

$GRID_HOME/cfgtoollogs/crsconfig/rootcrs_$HOSTNAME.log
$GRID_HOME/log/$HOSTNAME/agent/ohasd/oraagent_$GRID_USER/oraagent_$GRID_USER.log

2.嘗試從新安裝,問題繼續重現。app

3.google出一篇文章,文中說若是網卡設置了NOARP的話,會出現這個錯誤。
 本環境並無配置NOARP。不過這篇文章卻將個人思路轉移到了網絡配置上。google

4.感受public網絡問題不大,就重點往心跳網絡上想。嘗試將兩個節點心跳線直接互聯進行安裝,竟然安裝成功了,腳本順利運行結束。日誌

和網絡溝通,原來網絡工程師將兩個心跳線和其中一個節點的public網絡接在同一個交換機上。最終的解決方案是心跳線使用專用的交換機。orm

鑑於工程師的"執着",期間還嘗試了其它鏈接方式,至於過程嗎,有撕逼經歷的都懂。blog

相關文章
相關標籤/搜索