oracle11gRAC之crsctl命令
oracle11gRAC之crsctl命令:
完整的crsctl命令:
# su - grid
[grid@dbserver1:/home/grid]$crsctl -h
Usage: crsctl add - add a resource, type or other entity
crsctl check - check a service, resource or other entity
crsctl config - output autostart configuration
crsctl debug - obtain or modify debug state
crsctl delete - delete a resource, type or other entity
crsctl disable - disable autostart
crsctl enable - enable autostart
crsctl get - get an entity value
crsctl getperm - get entity permissions
crsctl lsmodules - list debug modules
crsctl modify - modify a resource, type or other entity
crsctl query - query service state
crsctl pin - Pin the nodes in the nodelist
crsctl relocate - relocate a resource, server or other entity
crsctl replace - replaces the location of voting files
crsctl setperm - set entity permissions
crsctl set - set an entity value
crsctl start - start a resource, server or other entity
crsctl status - get status of a resource or other entity
crsctl stop - stop a resource, server or other entity
crsctl unpin - unpin the nodes in the nodelist
crsctl unset - unset a entity value, restoring its default
1、常用crsctl start命令
啟動crs服務:
[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client]$crsctl start crs
啟動crs所有資源:
[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client]$crsctl start -all
啟動單個資源(如果部分資源不能自動啟動,需要手工啟動如下)
[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client]$crsctl start res ora.crsd -init
2、常用crsctl stop命令
停止crs服務:
[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client]$crsctl stop crs
停止crs所有資源:
[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client]$crsctl stop -all
啟動單個資源(如果部分資源不能自動啟動,需要手工啟動如下)
[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client]$crsctl stop res ora.crsd -init (-f)
3、常用crsctl check命令
檢查crs服務情況:
[grid@dbserver1:/home/grid]$crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
檢查crs叢集服務情況:
[grid@dbserver1:/home/grid]$crsctl check cluster -all
**************************************************************
dbserver1:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
dbserver2:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
4、常用crsctl query命令
檢查votedisk狀態:
[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client]$crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 0b12969addea4f8fbf61eeaa0df697e6 (/dev/rhdisk6) [CRS]
Located 1 voting disk(s).
檢查crs版本:
[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client]$crsctl query crs releaseversion
Oracle High Availability Services release version on the local node is [11.2.0.1.0]
檢查crs各節點版本:
[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client]$crsctl query crs softwareversion dbserver1
Oracle Clusterware version on node [dbserver1] is [11.2.0.1.0]
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29209863/viewspace-2126225/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle11gRAC之srvctl命令:Oracle
- Oracle11gRAC中關於srvctl和crsctl的解釋?Oracle
- oracle rac crsctl 命令大全Oracle
- CRSCTL和SRVCTL的命令用法
- oracle11gRAC之asm管理OracleASM
- 【RAC】使用crsctl命令獲取Oracle CRS版本資訊Oracle
- oracle11gRAC之log日誌體系Oracle
- crsctl工具
- RAC常用開啟關閉命令 - CRSCTL和SRVCTL 用法
- oracle 11gR2 RAC crsctl 命令的增強Oracle
- crsctl start/stop crs and crsctl start/stop cluster 區別
- oracle10g rac(rhel4)__crsctl_srvctl_ocrctl命令Oracle
- rac中 crsctl start/stop crs and crsctl start/stop cluster 區別
- oracle 11g 中 (oracle 10g) crsctl 的 替換命令Oracle 10g
- oracle11grac安裝Oracle
- [Oracle] crsctl stat res -tOracle
- oracle11grac基礎結構Oracle
- 使用crsctl工具診斷cluster問題
- oracle11gRAC環境使用RMAN備份方案Oracle
- linux命令 之 du 命令Linux
- Linux命令之lldptool命令Linux
- Oracle11gRAC跨節點 並行查詢的控制Oracle並行
- Linux命令之rz命令與sz命令Linux
- 批處理命令之tree命令
- DOS命令之Date命令的用法
- 【RAC】使用crsctl工具控制Oracle RAC叢集的啟停Oracle
- rac維護工具集系列(三)--叢集層crsctl系列
- liunx之:ln命令
- aix 命令之fuserAI
- redis命令之-listRedis
- Git基礎命令之git rebase命令Git
- Linux系統命令之systemctl命令。Linux
- Linux命令之rpm安裝命令Linux
- Redis命令參考之INFO命令詳解Redis
- 【運維必看】Linux命令之lsblk命令運維Linux
- Linux命令之fdiskLinux
- linux命令之grepLinux
- EFCore之命令列工具命令列