【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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- RAC 管理(crs_stat、crsctl、srvctl)
- rac中 crsctl start/stop crs and crsctl start/stop cluster 區別
- [20210506]RAC crsctl status ... -v 獲取last started or status changes資訊.txtAST
- [20190507]crs_stat與crsctl.txt
- [20210804]oracle rac執行命令crs_stat -t -v緩慢的分析.txtOracle
- CRS Resource Introduction In Oracle 19c RAC-20220125Oracle
- python使用cx_Oracle連線oracle資料庫獲取常用資訊PythonOracle資料庫
- Oracle Linux 6.7中 Oracle 11.2.0.4 RAC叢集CRS異常處理OracleLinux
- 獲取app版本號相關資訊APP
- Oracle獲取所有表名資訊和獲取指定表名欄位資訊Oracle
- Oracle 元件資訊獲取途徑整理Oracle元件
- 11.2.0.1.0 RAC啟動使用root使用者啟動crs報錯CRS-4535
- MFC中獲取程式自身的版本資訊
- 【VMware ESXi】使用 smbiosDump 命令獲取伺服器硬體資訊。iOS伺服器
- 在Oracle資料庫中使用XML資料獲取業務資訊XHOracle資料庫XML
- 【Python】獲取機器使用資訊Python
- 使用捕獲 獲取身份證號的資訊
- 使用Python獲取ECS相關資訊Python
- 如何優雅獲的獲取不同系統版本中的程式資訊
- 使用URLConnection物件獲取網路資源資訊物件
- ORACLE 19C RAC叢集安裝與PRCR-1079&CRS-5017&ORA-03113Oracle
- 獲取位置資訊
- 獲取微信使用者基本資訊
- SAP ABAP使用CDS獲取系統資訊
- thinkphp6 使用FFMpeg獲取影片資訊PHP
- 【RAC】Oracle rac修改IP地址及埠號命令參考Oracle
- Oracle database 19c中獲取當前資料庫版本的方法OracleDatabase資料庫
- python使用ldap3獲取使用者資訊PythonLDA
- vmware + 裸裝置 + crs + oracle10g RAC搭建步驟(二):安裝linuxOracleLinux
- 使用 C# 獲取 Kubernetes 叢集資源資訊C#
- 微信小程式 獲取使用者資訊微信小程式
- 使用PHP獲取影像檔案的EXIF資訊PHP
- oracle RAC 診斷叢集狀態命令Oracle
- 【RAC】Oracle10g rac新增刪除節點命令參考Oracle
- 使用uwolfer gerrit-rest-java-client獲取Gerrit資訊RESTJavaclient
- 微信小程式獲取使用者資訊方法微信小程式
- 使用和風天氣介面獲取天氣資訊
- .NET Core如何全域性獲取使用者資訊?
- 微信小程式 getUserProfile 獲取使用者資訊微信小程式