oracle 11gR2 rac for aix 第二個節點執行root.sh不成功問題處理
今天幫客戶規劃安裝一套11gR2 rac for aix 資料庫,在安裝grid叢集軟體時,第一個節點執行
root.sh成功,執行第二個節點root.sh不成功,主要原因是忘記更改兩個節點磁碟的
reserve_policy=no_reserve屬性,即沒修改成併發屬性。
第二個節點root.sh報錯如下:
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.sh script.
Now product-specific root actions will be performed.
2010-10-11 16:05:43: Parsing the host name
2010-10-11 16:05:43: Checking for super user privileges
2010-10-11 16:05:43: User has super user privileges
Using configuration parameter file: /oracle/app/grid/product/11.2.0/crs/install/crsconfig_params
Creating trace directory
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 'blade12'
CRS-2672: Attempting to start 'ora.mdnsd' on 'blade12'
CRS-2676: Start of 'ora.gipcd' on 'blade12' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'blade12' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'blade12'
CRS-2676: Start of 'ora.gpnpd' on 'blade12' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'blade12'
CRS-2676: Start of 'ora.cssdmonitor' on 'blade12' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'blade12'
CRS-2672: Attempting to start 'ora.diskmon' on 'blade12'
CRS-2676: Start of 'ora.diskmon' on 'blade12' succeeded
CRS-2676: Start of 'ora.cssd' on 'blade12' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'blade12'
CRS-2676: Start of 'ora.ctssd' on 'blade12' succeeded
DiskGroup DATA creation failed with the following message:
ORA-15018: diskgroup cannot be created
ORA-15031: disk specification '/dev/rhdisk1' matches no disks
ORA-15025: could not open disk '/dev/rhdisk1'
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: /oracle/app/grid/product/11.2.0/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 'blade12'
CRS-2677: Stop of 'ora.asm' on 'blade12' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'blade12'
CRS-2677: Stop of 'ora.ctssd' on 'blade12' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'blade12'
CRS-2677: Stop of 'ora.cssdmonitor' on 'blade12' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'blade12'
CRS-2677: Stop of 'ora.cssd' on 'blade12' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'blade12'
CRS-2677: Stop of 'ora.gpnpd' on 'blade12' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'blade12'
CRS-2677: Stop of 'ora.gipcd' on 'blade12' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'blade12'
CRS-2677: Stop of 'ora.mdnsd' on 'blade12' succeeded
Initial cluster configuration failed. See /oracle/app/grid/product/11.2.0/cfgtoollogs/crsconfig/rootcrs_blade12.log for details
解決方法:
修改磁碟的reserve_policy=no_reserve屬性,第二個節點啟動crs叢集,切換到grid使用者,手工啟動asm例項
$ crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.DATA.dg ora....up.type ONLINE ONLINE blade12
ora....ER.lsnr ora....er.type ONLINE ONLINE blade14
ora....N1.lsnr ora....er.type ONLINE ONLINE blade14
ora.asm ora.asm.type ONLINE ONLINE blade12
ora....SM2.asm application ONLINE ONLINE blade12
ora....12.lsnr application OFFLINE OFFLINE
ora....e12.gsd application OFFLINE OFFLINE
ora....e12.ons application ONLINE ONLINE blade12
ora....SM1.asm application ONLINE ONLINE blade14
ora....14.lsnr application ONLINE ONLINE blade14
ora....e14.gsd application OFFLINE OFFLINE
ora....e14.ons application ONLINE ONLINE blade14
ora....e14.vip ora....t1.type ONLINE ONLINE blade14
ora.eons ora.eons.type ONLINE ONLINE blade12
ora.gsd ora.gsd.type OFFLINE OFFLINE
ora....network ora....rk.type ONLINE ONLINE blade12
ora.oc4j ora.oc4j.type OFFLINE OFFLINE
ora.ons ora.ons.type ONLINE ONLINE blade12
ora.scan1.vip ora....ip.type ONLINE ONLINE blade14
發現少了第二個節點的vip資源,透過以下方式手工註冊第二個節點VIP資源
blade12[root]#./srvctl add vip -n blade12 -A 172.17.7.247/255.255.255.192/en0 -k 1
blade12[root]#./srvctl start vip -n blade12
blade12[root]#./srvctl start listener -n blade12
ora.DATA.dg ora....up.type ONLINE ONLINE blade12
ora.DGDATA.dg ora....up.type ONLINE ONLINE blade12
ora....OVER.dg ora....up.type ONLINE ONLINE blade12
ora....ER.lsnr ora....er.type ONLINE ONLINE blade12
ora....N1.lsnr ora....er.type ONLINE ONLINE blade14
ora.OCRBAK.dg ora....up.type ONLINE ONLINE blade12
ora.asm ora.asm.type ONLINE ONLINE blade12
ora....SM2.asm application ONLINE ONLINE blade12
ora....12.lsnr application ONLINE ONLINE blade12
ora....e12.gsd application ONLINE ONLINE blade12
ora....e12.ons application ONLINE ONLINE blade12
ora....e12.vip ora....t1.type ONLINE ONLINE blade12
ora....SM1.asm application ONLINE ONLINE blade14
ora....14.lsnr application ONLINE ONLINE blade14
ora....e14.gsd application ONLINE ONLINE blade14
ora....e14.ons application ONLINE ONLINE blade14
ora....e14.vip ora....t1.type ONLINE ONLINE blade14
ora.eons ora.eons.type ONLINE ONLINE blade12
ora.gsd ora.gsd.type ONLINE ONLINE blade12
ora.gzyj.db ora....se.type ONLINE ONLINE blade14
ora....network ora....rk.type ONLINE ONLINE blade12
ora.oc4j ora.oc4j.type ONLINE ONLINE blade14
ora.ons ora.ons.type ONLINE ONLINE blade12
ora.scan1.vip ora....ip.type ONLINE ONLINE blade14
資源全部正常。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7199859/viewspace-675772/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle 11gR2 rac 執行root.sh建立diskgroup 不成功問題總結Oracle
- oracle 11gR2 rac 兩節點有一個節點down掉問題處理Oracle
- oracle 11gR2 RAC for linux x86_64 grid執行root.sh 失敗問題處理OracleLinux
- oracle em節點啟動不成功問題處理總結Oracle
- 【故障處理】RAC環境第二節點無法歸檔的詭異問題處理
- oracle 11gR2 crs 其中一個節點grid叢集啟動不成功處理案例Oracle
- oracle install 11gR2 RAC 執行root.sh時出現missing CAP_NUMA_ATTACH 問題Oracle
- oracle 10g cluster rac vip始終在節點2的問題處理Oracle 10g
- Oracle RAC重新執行root.sh指令碼Oracle指令碼
- RAC中job會在哪個節點執行
- 10g rac資料庫節點2 dgdata磁碟組裝載不成功問題處理詳細步驟資料庫
- 安裝oracle10gRAC在node2節點上執行root.sh失敗的問題Oracle
- Oracle RAC 一個節點不能自動啟動 怪問題Oracle
- oracle 10g crs啟動不成功問題處理Oracle 10g
- 索引節點(inode)爆滿問題處理索引
- oracle rac 其中第一個節點監聽偶爾中斷處理案例Oracle
- RAC系統當中,job在哪個節點執行?
- IBM AIX rlogin 到另一主機有時不成功問題處理IBMAI
- 11gR2 rac安裝別忘記在hosts裡設定localhost,否則安裝grid執行root.sh不成功localhost
- Oracle 11gR2 RAC 執行root.sh時遭遇 CRS-0184/PRCR-1070Oracle
- 處理rac資料庫一個節點監聽異常資料庫
- 處理Oracle 11gR2 RAC資料庫資源不能自動啟動的問題Oracle資料庫
- 【RAC安裝】 AIX下安裝Oracle 11gR2 RACAIOracle
- RAC節點之間通訊問題 兩節點 11g RAC
- Oracle RAC 安裝 執行 root.sh時報Failed to upgrade Oracle Cluster Registry configuration問題的解決OracleAI
- 處理Oracle 11gR2 RAC資料庫資源不能自動啟動的問題 (轉)Oracle資料庫
- oracle 10G rac 執行dbca 報錯處理方法Oracle 10g
- 關於Oracle 11G RAC雙節點之間存在防火牆導致只能一個節點執行Oracle防火牆
- ORACLE問題處理十個指令碼Oracle指令碼
- Oracle Enterprise Linux 5.6下安裝Oracle 10g RAC執行root.sh報錯問題解決LinuxOracle 10g
- Oracle RAC新增節點Oracle
- Oracle RAC 新增節點Oracle
- 11g R2執行root.sh 不成功的處理及解除安裝 11g grid
- Oracle 11gr2修改RAC叢集的scan ip,並處理ORA-12514問題Oracle
- oracle 11gr2 rac 虛擬安裝問題Oracle
- oracle 11gR2 rac 安裝問題總結Oracle
- oracle 11gR2 rac for aix 5310 安裝OracleAI
- oracle 11gR2 srvctl 命令啟動資料庫不成功處理總結Oracle資料庫