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


RAC版本:11.2.0.4

OS版本:linux 6.4

 

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

# /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.嘗試重新安裝,問題繼續重現。

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

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

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

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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM