【RAC】使用crsctl命令獲取Oracle CRS版本資訊
1.檢視Oracle CRS的版本
命令位於$ORA_CRS_HOME/bin $ORACLE_HOME/bin
1)獲取當前節點的CRS版本
RACDB1@rac1 /home/oracle$ /oracle/app/crs/bin/crsctl query crs softwareversion
CRS software version on node [rac1] is [10.2.0.4.0]
2)檢視指定節點上CRS的版本
RACDB1@rac1 /home/oracle$ /oracle/app/crs/bin/crsctl query crs softwareversion rac1
CRS software version on node [rac1] is [10.2.0.4.0]
RACDB1@rac1 /home/oracle$ /oracle/app/crs/bin/crsctl query crs softwareversion rac2
CRS software version on node [rac2] is [10.2.0.4.0]
2.有關crsctl命令的幫助資訊
crsctl命令不帶任何引數的情況下便會給出該命令的使用幫助及示例。
RACDB1@rac1 /home/oracle$ /oracle/app/crs/bin/crsctl
Usage: crsctl check crs - checks the viability of the CRS stack
crsctl check cssd - checks the viability of CSS
crsctl check crsd - checks the viability of CRS
crsctl check evmd - checks the viability of EVM
crsctl set css - sets a parameter override
crsctl get css - gets the value of a CSS parameter
crsctl unset css - sets CSS parameter to its default
crsctl query css votedisk - lists the voting disks used by CSS
crsctl add css votedisk - adds a new voting disk
crsctl delete css votedisk - removes a voting disk
crsctl enable crs - enables startup for all CRS daemons
crsctl disable crs - disables startup for all CRS daemons
crsctl start crs - starts all CRS daemons.
crsctl stop crs - stops all CRS daemons. Stops CRS resources in case of cluster.
crsctl start resources - starts CRS resources.
crsctl stop resources - stops CRS resources.
crsctl debug statedump evm - dumps state info for evm objects
crsctl debug statedump crs - dumps state info for crs objects
crsctl debug statedump css - dumps state info for css objects
crsctl debug log css [module:level]{,module:level} ...
- Turns on debugging for CSS
crsctl debug trace css - dumps CSS in-memory tracing cache
crsctl debug log crs [module:level]{,module:level} ...
- Turns on debugging for CRS
crsctl debug trace crs - dumps CRS in-memory tracing cache
crsctl debug log evm [module:level]{,module:level} ...
- Turns on debugging for EVM
crsctl debug trace evm - dumps EVM in-memory tracing cache
crsctl debug log res turns on debugging for resources
crsctl query crs softwareversion [] - lists the version of CRS software installed
crsctl query crs activeversion - lists the CRS software operating version
crsctl lsmodules css - lists the CSS modules that can be used for debugging
crsctl lsmodules crs - lists the CRS modules that can be used for debugging
crsctl lsmodules evm - lists the EVM modules that can be used for debugging
If necesary any of these commands can be run with additional tracing by
adding a "trace" argument at the very front.
Example: crsctl trace check css
3.小結
crsctl命令本身功能比較強大,本文給出了獲取Oracle CRS版本的方法用以輔助Oracle CRS升級及故障排查。
Good luck.
secooler
10.11.12
-- The End --
命令位於$ORA_CRS_HOME/bin $ORACLE_HOME/bin
1)獲取當前節點的CRS版本
RACDB1@rac1 /home/oracle$ /oracle/app/crs/bin/crsctl query crs softwareversion
CRS software version on node [rac1] is [10.2.0.4.0]
2)檢視指定節點上CRS的版本
RACDB1@rac1 /home/oracle$ /oracle/app/crs/bin/crsctl query crs softwareversion rac1
CRS software version on node [rac1] is [10.2.0.4.0]
RACDB1@rac1 /home/oracle$ /oracle/app/crs/bin/crsctl query crs softwareversion rac2
CRS software version on node [rac2] is [10.2.0.4.0]
2.有關crsctl命令的幫助資訊
crsctl命令不帶任何引數的情況下便會給出該命令的使用幫助及示例。
RACDB1@rac1 /home/oracle$ /oracle/app/crs/bin/crsctl
Usage: crsctl check crs - checks the viability of the CRS stack
crsctl check cssd - checks the viability of CSS
crsctl check crsd - checks the viability of CRS
crsctl check evmd - checks the viability of EVM
crsctl set css
crsctl get css
crsctl unset css
crsctl query css votedisk - lists the voting disks used by CSS
crsctl add css votedisk
crsctl delete css votedisk
crsctl enable crs - enables startup for all CRS daemons
crsctl disable crs - disables startup for all CRS daemons
crsctl start crs - starts all CRS daemons.
crsctl stop crs - stops all CRS daemons. Stops CRS resources in case of cluster.
crsctl start resources - starts CRS resources.
crsctl stop resources - stops CRS resources.
crsctl debug statedump evm - dumps state info for evm objects
crsctl debug statedump crs - dumps state info for crs objects
crsctl debug statedump css - dumps state info for css objects
crsctl debug log css [module:level]{,module:level} ...
- Turns on debugging for CSS
crsctl debug trace css - dumps CSS in-memory tracing cache
crsctl debug log crs [module:level]{,module:level} ...
- Turns on debugging for CRS
crsctl debug trace crs - dumps CRS in-memory tracing cache
crsctl debug log evm [module:level]{,module:level} ...
- Turns on debugging for EVM
crsctl debug trace evm - dumps EVM in-memory tracing cache
crsctl debug log res
crsctl query crs softwareversion [
crsctl query crs activeversion - lists the CRS software operating version
crsctl lsmodules css - lists the CSS modules that can be used for debugging
crsctl lsmodules crs - lists the CRS modules that can be used for debugging
crsctl lsmodules evm - lists the EVM modules that can be used for debugging
If necesary any of these commands can be run with additional tracing by
adding a "trace" argument at the very front.
Example: crsctl trace check css
3.小結
crsctl命令本身功能比較強大,本文給出了獲取Oracle CRS版本的方法用以輔助Oracle CRS升級及故障排查。
Good luck.
secooler
10.11.12
-- The End --
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/519536/viewspace-678150/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle rac crsctl 命令大全Oracle
- rac中 crsctl start/stop crs and crsctl start/stop cluster 區別
- [20210506]RAC crsctl status ... -v 獲取last started or status changes資訊.txtAST
- oracle 11gR2 RAC crsctl 命令的增強Oracle
- 【RAC】使用crsctl工具控制Oracle RAC叢集的啟停Oracle
- 獲取資訊版本1
- 【RAC】使用一條“ps”命令獲取Linux環境下全部RAC叢集程式資訊Linux
- 如何查詢Oracle10g RAC CRS版本Oracle
- crsctl start/stop crs and crsctl start/stop cluster 區別
- 【RAC】如何讓Oracle RAC crs_stat 命令顯示完整Oracle
- oracle10g rac(rhel4)__crsctl_srvctl_ocrctl命令Oracle
- ORACLE-RAC的CRS維護命令總結Oracle
- 常用OS獲取資訊命令
- 總結:ORACLE RAC 常用命令之CRS(1)Oracle
- oracle11gRAC之crsctl命令Oracle
- RAC中的srvctl和crs命令
- 獲取app版本號相關資訊APP
- Oracle使用普通變數獲取遊標資訊Oracle變數
- RAC常用開啟關閉命令 - CRSCTL和SRVCTL 用法
- MFC中獲取程式自身的版本資訊
- Oracle Rac crs無法啟動Oracle
- Oracle10g RAC管理 - CRSOracle
- Oracle RAC 日常管理之CRS篇Oracle
- 靈活使用getconf命令來獲取系統資訊
- 【RAC】使用頻率較高的CRS維護命令總結
- Oracle獲取所有表名資訊和獲取指定表名欄位資訊Oracle
- 【RAC】Oracle11g RAC 你不懂crs_*Oracle
- Oracle 11g RAC crs_stat 命令結果完整顯示Oracle
- Oracle使用行型別變數獲取遊標資訊Oracle型別變數
- Oracle 元件資訊獲取途徑整理Oracle元件
- 獲取Oracle隱含引數資訊Oracle
- 【VMware ESXi】使用 smbiosDump 命令獲取伺服器硬體資訊。iOS伺服器
- Oracle RAC 日常管理之CRS篇-3Oracle
- Oracle RAC 日常管理之CRS篇-2Oracle
- 利用WinAPI(GetFileVersionInfo)獲取檔案版本資訊API
- 使用ORACLE RAC GUARD命令——RAC GUARD概念和管理Oracle
- 【Python】獲取機器使用資訊Python
- python使用cx_Oracle連線oracle資料庫獲取常用資訊PythonOracle資料庫