oracle 11gR2 安裝grid完成後預設的資源組狀態
在11gR2版本中,rac安裝完成後,資源組的狀態不是全部online的,有部分是offline的
$ ./crsctl status resource -t
[grid@p520:/grid/app/11.2.0/grid/bin]$./crsctl status resource -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.CRS.dg
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.LISTENER.lsnr
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.asm
ONLINE ONLINE p520 Started
ONLINE ONLINE p650 Started
ora.eons
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.gsd
OFFLINE OFFLINE p520
OFFLINE OFFLINE p650
ora.net1.network
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.ons
ONLINE ONLINE p520
ONLINE ONLINE p650
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE p520
ora.oc4j
1 OFFLINE OFFLINE
ora.p520.vip
1 ONLINE ONLINE p520
ora.p650.vip
1 ONLINE ONLINE p650
ora.scan1.vip
1 ONLINE ONLINE p520
從上面可以看出,gsd和oc4j服務都是offline的
我們可以用srvctl status命令看出具體狀態都是disable的
srvctl status oc4j
oc4j is disabled
oc4j is not running
srvctl status nodeapps
[grid@p520:/grid/app/grid]$srvctl status nodeapps
VIP p520-vip is enabled
VIP p520-vip is running on node: p520
VIP p650-vip is enabled
VIP p650-vip is running on node: p650
Network is enabled
Network is running on node: p520
Network is running on node: p650
GSD is disabled
GSD is not running on node: p520
GSD is not running on node: p650
ONS is enabled
ONS daemon is running on node: p520
ONS daemon is running on node: p650
eONS is enabled
eONS daemon is running on node: p520
eONS daemon is running on node: p650
命令看出,oc4j和gsd
如果我們想改為enable,自動啟動,則用srvctl enable 命令即可
srvctl enable oc4j
srvctl enable nodeapps
啟動oc4j和gsd服務
srvctl start oc4jsrvctl start nodeapps -n p520
srvctl start nodeapps -n p650
然後檢視狀態,全是online
[grid@p520:/grid/app/grid]$crsctl status resource -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.CRS.dg
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.DGDATA1.dg
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.DGRECOVER.dg
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.DGSYSTEM.dg
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.LISTENER.lsnr
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.asm
ONLINE ONLINE p520 Started
ONLINE ONLINE p650 Started
ora.eons
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.gsd
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.net1.network
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.ons
ONLINE ONLINE p520
ONLINE ONLINE p650
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE p650
ora.oc4j
1 ONLINE ONLINE p650
ora.p520.vip
1 ONLINE ONLINE p520
ora.p650.vip
1 ONLINE ONLINE p650
ora.scan1.vip
1 ONLINE ONLINE p650
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7199859/viewspace-628050/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 在GI安裝完成後檢視叢集狀態時發現,磁碟組狀態不對
- Oracle grid 11gR2 安裝報錯PRVF-5636Oracle
- zt_Oracle 11gR2 grid infrastructure安裝配置系列OracleASTStruct
- oracle 11gR2 rac grid和oracle所屬的組資訊Oracle
- 解除安裝 11gR2 Grid ClusterWare
- 【安裝】AIX安裝單例項11gR2 GRID+DBAI單例
- oracle 11gR2 新增deinstall命令來解除安裝grid和databaseOracleDatabase
- oracle 11gR2 grid 叢集資源設定跟隨叢集自動啟動Oracle
- 11gR2 grid安裝最後報錯[INS-20802] Oracle Cluster Verification Utility failedOracleAI
- 【Solaris】Virtualbox 安裝 Oracle Solaris 10(三) 安裝完成後初始配置Oracle
- Oracle grid infrastructure 解除安裝OracleASTStruct
- Oracle 12.2 GRID的安裝方式Oracle
- 重新配置與解除安裝11gR2 Grid InfrastructureASTStruct
- 重新配置與解除安裝 11gR2 Grid InfrastructureASTStruct
- oracle 11gr2 rac 安裝Oracle
- 11gR2中安裝Grid Infrastructure出現的IPMI簡介ASTStruct
- 【oracle】靜默安裝 oracle 11gr2Oracle
- 【Oracle】11gR2的安裝Grid執行root.sh出現ohasd failed解決方案OracleAI
- oracle 11gR2 asm磁碟組存放grid叢集裡面的內容OracleASM
- 【RAC安裝】 AIX下安裝Oracle 11gR2 RACAIOracle
- 安裝oracle 11GR2 手記Oracle
- ORACLE RAC的FLASHBACK後期安裝設定Oracle
- 一步一步搭建 oracle 11gR2 rac+dg之grid安裝(四)Oracle
- 簡述oracle日誌組的四種狀態Oracle
- oracle grid 其中一個節點asm 磁碟組後設資料損壞處理案例OracleASM
- oracle 11gR2 grid 使用者所屬的幾個作業系統組Oracle作業系統
- Solaris 10.5 安裝Oracle 11gR2Oracle
- Ext.grid.CheckboxSelectionModel狀態設定
- MDM -Oracle PIM Demo System 安裝完成Oracle
- CentOS 6.x安裝完成後的優化CentOS優化
- PostgreSQL安裝完成後,引數調整SQL
- oracle資料庫狀態Oracle資料庫
- Oracle資料庫的靜默狀態和掛起狀態Oracle資料庫
- hive的安裝(後設資料庫: MySQL)Hive資料庫MySql
- 在redhat 5.8下安裝11gR2在安裝grid時報錯:INS-32026Redhat
- Oracle DBA的資源和組織Oracle
- 【配置上線】靜默安裝資料庫Oracle 11gR2資料庫Oracle
- oracle 11gR2 資料庫功能選件安裝情況Oracle資料庫