For checking SYNTAX of any crsctl command on server - type command crsctl and then enter
>> crsctl commands to be run by root user
If you want to know the GRID home location, just do
ps -ef | grep d.bin >> You will find the cluster running processes GRID HOME location
crsctl stop crs >> Stop cluster on local node
crsctl start crs >> Start cluster on local node
crsctl stop cluster -all >> To stop cluster on all nodes part of cluster, OHASD will be running only and can be stopped by below command on all nodes
crsctl stop has >> To stop HAS on local node
crsctl enable crs >> ENABLE autostart of cluster after server reboot
crsctl disable crs >> DISABLE autostart of cluster after server reboot
>> Below commands can be run by root / grid owner
crsctl check crs >> To see CRS status on local node
crsctl check cluster -all >> To see cluster status on all the nodes part of Cluster
crsctl stat res -t >> To see all cluster resource status
crsctl stat res <<resource_name>> -t >> To see status of specific resource
crsctl query cssvotedisk >> To see the voting file details
ocrcheck >> To check the OCR location
ocrconfig -showbackup >> To show backup status of OCR
ocrconfig -manualbackup >> To take manual backup of OCR
Below commands to be used to adding / modifying resource of cluster
crsctl add resource -help
crsctl modify resource -help
We can use below command to see the detailed attributes of resource
crsctl stat res <<resource_name>> -p
>> crsctl commands to be run by root user
If you want to know the GRID home location, just do
ps -ef | grep d.bin >> You will find the cluster running processes GRID HOME location
crsctl stop crs >> Stop cluster on local node
crsctl start crs >> Start cluster on local node
crsctl stop cluster -all >> To stop cluster on all nodes part of cluster, OHASD will be running only and can be stopped by below command on all nodes
crsctl stop has >> To stop HAS on local node
crsctl enable crs >> ENABLE autostart of cluster after server reboot
crsctl disable crs >> DISABLE autostart of cluster after server reboot
>> Below commands can be run by root / grid owner
crsctl check crs >> To see CRS status on local node
crsctl check cluster -all >> To see cluster status on all the nodes part of Cluster
crsctl stat res -t >> To see all cluster resource status
crsctl stat res <<resource_name>> -t >> To see status of specific resource
crsctl query cssvotedisk >> To see the voting file details
ocrcheck >> To check the OCR location
ocrconfig -showbackup >> To show backup status of OCR
ocrconfig -manualbackup >> To take manual backup of OCR
Below commands to be used to adding / modifying resource of cluster
crsctl add resource -help
crsctl modify resource -help
We can use below command to see the detailed attributes of resource
crsctl stat res <<resource_name>> -p