[Oracle] crsctl stat res -t
oracle10g的時候檢視resource用 crs_stat -t比較多.
到了oracle11g後檢視resource 用 crsctl stat res -t
[root@xxxxxdb2 ~]# crsctl stat res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.FRA.dg
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.LISTENER.lsnr
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.OCR_VOT.dg
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.ORADATA.dg
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.asm
ONLINE ONLINE xxxxxdb1 Started
ONLINE ONLINE xxxxxdb2
ora.eons
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.gsd
OFFLINE OFFLINE xxxxxdb1
OFFLINE OFFLINE xxxxxdb2
ora.net1.network
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.ons
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE xxxxxdb2
ora.oc4j
1 OFFLINE OFFLINE
ora.scan1.vip
1 ONLINE ONLINE xxxxxdb2
ora.xxxxxdb.db
1 OFFLINE OFFLINE
2 OFFLINE OFFLINE Instance Shutdown
ora.xxxxxdb1.vip
1 ONLINE ONLINE xxxxxdb1
ora.xxxxxdb2.vip
1 ONLINE ONLINE xxxxxdb2
其中ora.xxxxxdb.db顯示為offline狀態,其實用sqlplus 登入兩個節點檢視instance的狀態都為open
這個應該和srvctl config配置有關係。
[root@xxxxxdb2 ~]# srvctl start instance -d xxxxxdb -n xxxxxdb2 -o open
執行這個命令後xxxxxdb2 的狀態為online,並且為open.
[root@xxxxxdb2 ~]# crsctl stat res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.FRA.dg
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.LISTENER.lsnr
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.OCR_VOT.dg
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.ORADATA.dg
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.asm
ONLINE ONLINE xxxxxdb1 Started
ONLINE ONLINE xxxxxdb2
ora.eons
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.gsd
OFFLINE OFFLINE xxxxxdb1
OFFLINE OFFLINE xxxxxdb2
ora.net1.network
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.ons
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE xxxxxdb2
ora.oc4j
1 OFFLINE OFFLINE
ora.scan1.vip
1 ONLINE ONLINE xxxxxdb2
ora.xxxxxdb.db
1 OFFLINE OFFLINE
2 ONLINE ONLINE xxxxxdb2 Open
ora.xxxxxdb1.vip
1 ONLINE ONLINE xxxxxdb1
ora.xxxxxdb2.vip
1 ONLINE ONLINE xxxxxdb2
[root@xxxxxdb2 ~]# srvctl start instance -d xxxxxdb -i xxxxxdb1 -o open
執行這個命令後xxxxxdb1 的狀態為online,並且為open. 但是檢視 xxxxxdb1 的alert log,instance會突然abort,讓後重新啟動。
[root@xxxxxdb2 ~]# crsctl stat res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.FRA.dg
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.LISTENER.lsnr
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.OCR_VOT.dg
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.ORADATA.dg
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.asm
ONLINE ONLINE xxxxxdb1 Started
ONLINE ONLINE xxxxxdb2
ora.eons
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.gsd
OFFLINE OFFLINE xxxxxdb1
OFFLINE OFFLINE xxxxxdb2
ora.net1.network
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.ons
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE xxxxxdb2
ora.oc4j
1 OFFLINE OFFLINE
ora.scan1.vip
1 ONLINE ONLINE xxxxxdb2
ora.xxxxxdb.db
1 ONLINE ONLINE xxxxxdb1 Open
2 ONLINE ONLINE xxxxxdb2 Open
ora.xxxxxdb1.vip
1 ONLINE ONLINE xxxxxdb1
ora.xxxxxdb2.vip
1 ONLINE ONLINE xxxxxdb2
到了oracle11g後檢視resource 用 crsctl stat res -t
[root@xxxxxdb2 ~]# crsctl stat res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.FRA.dg
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.LISTENER.lsnr
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.OCR_VOT.dg
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.ORADATA.dg
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.asm
ONLINE ONLINE xxxxxdb1 Started
ONLINE ONLINE xxxxxdb2
ora.eons
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.gsd
OFFLINE OFFLINE xxxxxdb1
OFFLINE OFFLINE xxxxxdb2
ora.net1.network
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.ons
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE xxxxxdb2
ora.oc4j
1 OFFLINE OFFLINE
ora.scan1.vip
1 ONLINE ONLINE xxxxxdb2
ora.xxxxxdb.db
1 OFFLINE OFFLINE
2 OFFLINE OFFLINE Instance Shutdown
ora.xxxxxdb1.vip
1 ONLINE ONLINE xxxxxdb1
ora.xxxxxdb2.vip
1 ONLINE ONLINE xxxxxdb2
其中ora.xxxxxdb.db顯示為offline狀態,其實用sqlplus 登入兩個節點檢視instance的狀態都為open
這個應該和srvctl config配置有關係。
[root@xxxxxdb2 ~]# srvctl start instance -d xxxxxdb -n xxxxxdb2 -o open
執行這個命令後xxxxxdb2 的狀態為online,並且為open.
[root@xxxxxdb2 ~]# crsctl stat res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.FRA.dg
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.LISTENER.lsnr
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.OCR_VOT.dg
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.ORADATA.dg
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.asm
ONLINE ONLINE xxxxxdb1 Started
ONLINE ONLINE xxxxxdb2
ora.eons
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.gsd
OFFLINE OFFLINE xxxxxdb1
OFFLINE OFFLINE xxxxxdb2
ora.net1.network
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.ons
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE xxxxxdb2
ora.oc4j
1 OFFLINE OFFLINE
ora.scan1.vip
1 ONLINE ONLINE xxxxxdb2
ora.xxxxxdb.db
1 OFFLINE OFFLINE
2 ONLINE ONLINE xxxxxdb2 Open
ora.xxxxxdb1.vip
1 ONLINE ONLINE xxxxxdb1
ora.xxxxxdb2.vip
1 ONLINE ONLINE xxxxxdb2
[root@xxxxxdb2 ~]# srvctl start instance -d xxxxxdb -i xxxxxdb1 -o open
執行這個命令後xxxxxdb1 的狀態為online,並且為open. 但是檢視 xxxxxdb1 的alert log,instance會突然abort,讓後重新啟動。
[root@xxxxxdb2 ~]# crsctl stat res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.FRA.dg
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.LISTENER.lsnr
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.OCR_VOT.dg
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.ORADATA.dg
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.asm
ONLINE ONLINE xxxxxdb1 Started
ONLINE ONLINE xxxxxdb2
ora.eons
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.gsd
OFFLINE OFFLINE xxxxxdb1
OFFLINE OFFLINE xxxxxdb2
ora.net1.network
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
ora.ons
ONLINE ONLINE xxxxxdb1
ONLINE ONLINE xxxxxdb2
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE xxxxxdb2
ora.oc4j
1 OFFLINE OFFLINE
ora.scan1.vip
1 ONLINE ONLINE xxxxxdb2
ora.xxxxxdb.db
1 ONLINE ONLINE xxxxxdb1 Open
2 ONLINE ONLINE xxxxxdb2 Open
ora.xxxxxdb1.vip
1 ONLINE ONLINE xxxxxdb1
ora.xxxxxdb2.vip
1 ONLINE ONLINE xxxxxdb2
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24237320/viewspace-2106995/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 11.2 RAC:"crsctl stat res -t" State Details May Missing or Incorrect_1086563.1AI
- about Res folder doesn't exist in android projectAndroidProject
- oracle rac crsctl 命令大全Oracle
- oracle11gRAC之crsctl命令Oracle
- 處理crs_stat -t顯示host列為空
- crsctl工具
- 處理crs_stat -t狀態unknown一例
- 【MySQL】Can't get stat of './mysql/slow_log.CSV' (Errcode: 2)MySql
- crsctl start/stop crs and crsctl start/stop cluster 區別
- 【RAC】使用crsctl命令獲取Oracle CRS版本資訊Oracle
- [20210804]oracle rac執行命令crs_stat -t -v緩慢的分析.txtOracle
- return isPlainObject(res) || Array.isArray(res) ? observer(res, cb) : res; 這個的執行順序是什麼AIObjectServer
- crs_stat -t CRS-0184: Cannot communicate with the CRS daemon
- oracle 11gR2 RAC crsctl 命令的增強Oracle
- oracle 11g 中 (oracle 10g) crsctl 的 替換命令Oracle 10g
- 解決crs_stat -t看到資源為UNKNOWN的情況
- rac中 crsctl start/stop crs and crsctl start/stop cluster 區別
- Oracle10gRAC crs_stat 工具用法Oracle
- 【RAC】使用crsctl工具控制Oracle RAC叢集的啟停Oracle
- 認識 Express 的 res.send() 和 res.end()Express
- Oracle11gRAC中關於srvctl和crsctl的解釋?Oracle
- oracle10g rac(rhel4)__crsctl_srvctl_ocrctl命令Oracle
- 【STAT】Oracle 表統計資訊被鎖,如何建立索引Oracle索引
- ORACLE 閃回檢視v$flashback_database_log/statOracleDatabase
- CRSCTL和SRVCTL的命令用法
- top命令之RES,DATA
- tryhackme-Res(資源)
- MySQL 5.7向表匯入資料包錯"ERROR 13 (HY000): Can't get stat of"MySqlError
- 【RAC】如何讓Oracle RAC crs_stat 命令顯示完整Oracle
- linux ps STATLinux
- ORACLE opatch 打補丁fuser command output for /u01/.../crsctl.bin is FailureOracleAI
- 使用crsctl工具診斷cluster問題
- Oracle 11g RAC crs_stat 命令結果完整顯示Oracle
- oracle dbms_stat與analyze 獲取有效的統計資訊(5)Oracle
- oracle dbms_stat與analyze 獲取有效的統計資訊(4)Oracle
- oracle dbms_stat與analyze 獲取有效的統計資訊(3)Oracle
- oracle dbms_stat與analyze 獲取有效的統計資訊(2)Oracle
- oracle dbms_stat與analyze 獲取有效的統計資訊(1)Oracle