CRSCTL Commands for Managing Oracle Clusterware Services

Share

ADVERTISEMENT

This guide provides essential CRSCTL commands for managing Oracle Clusterware services, including starting, stopping, and checking the status of components, as well as managing voting disks, OCR, and cluster configurations.

TaskCommand
1. Stop & Start CRS (run from root user)$GRID_HOME/bin/crsctl stop crs
$GRID_HOME/bin/crsctl start crs
2. Enable/Disable Auto Restart of CRS$GRID_HOME/bin/crsctl disable crs
$GRID_HOME/bin/crsctl enable crs
3. Find Cluster Name$GRID_HOME/bin/cemutlo -n
$GRID_HOME/bin/olsnodes -c
4. Find Grid Version$GRID_HOME/bin/crsctl query crs softwareversion <hostname>
5. Check Cluster Component Status$GRID_HOME/bin/crsctl stat res -t
$GRID_HOME/bin/crsctl check crs
$GRID_HOME/bin/crsctl check cssd
$GRID_HOME/bin/crsctl check crsd
$GRID_HOME/bin/crsctl check evmd
6. Find Voting Disk Location$GRID_HOME/bin/crsctl query css votedisk
7. Find OCR Location$GRID_HOME/bin/ocrcheck
8. Find Cluster Interconnect Details$GRID_HOME/bin/oifcfg getif
SELECT NAME, IP_ADDRESS FROM v$cluster_interconnects;
9. Check CRS Status of Local Nodecrsctl check crs
10. Check Status of All CRS Resources$GRID_HOME/bin/crsctl stat res -t
$GRID_HOME/bin/crsctl stat res -t -init
11. Check Active Version of Clustercrsctl query crs activeversion
12. Stop & Start High Availability Servicecrsctl stop has
crsctl start has
13. Check CRS Status of Remote Nodescrsctl check cluster
crsctl check cluster -all
14. Disk Timeout from Node to Voting Diskcrsctl get css disktimeout
15. Network Latency in Node Interconnectcrsctl get css misscount
16. Move Voting Disk to Another Diskgroupcrsctl replace votedisk +OCRVD
17. Add Another Voting Diskcrsctl add css votedisk
18. Delete Voting Diskcrsctl delete css votedisk
19. Get OCR Disk Backup Detailsocrconfig -showbackup
20. Check Whether Standard or Flex ASMcrsctl get cluster mode status
21. Check CRS Configurationcrsctl config crs
22. Find Cluster Configuration Informationcrsctl get cluster configuration
23. Find Node Roles in Clustercrsctl get node role status -all
24. CRSCTL Commands for Standalone Grid Infrastructurecrsctl check has
crsctl config has
crsctl disable has
crsctl enable has
crsctl query has releaseversion
crsctl query has softwareversion
crsctl start has
crsctl stop has

ADVERTISEMENT

You might like

Leave a Reply

Your email address will not be published. Required fields are marked *