Commands for Checking Cluster Services:
** Run as user "oracle":
/u01/app/11.2.0/grid/bin/cluvfy stage -post crsinst -n rac1,rac2 -verbose
/u01/app/11.2.0/grid/bin/crsctl check crs
/u01/app/11.2.0/grid/bin/crs_stat -t
or
/u01/app/11.2.0/grid/bin/crsctl stat res
/u01/app/11.2.0/grid/bin/srvctl status nodeapps -n rac1
/u01/app/11.2.0/grid/bin/srvctl status nodeapps -n rac2
** Shut down the clusterstack forcelly:
/u01/app/11.2.0/grid/bin/crsctl stop crs -f
** Starting the crs:
/u01/app/11.2.0/grid/bin/crsctl start crs
** Starting the cluster:
/u01/app/11.2.0/grid/bin/crsctl start cluster
** Run as user "root"
/u01/app/11.2.0/grid/bin/ocrcheck
** Finding the location of all Voting Files within Oracle Clusterware:
/u01/app/11.2.0/grid/bin/crsctl query css votedisk
** Adding RAC1-VIP
srvctl add vip -n rac1 -A 192.168.100.103/255.255.255.0/eth0 -k 1
** Starting RAC1-VIP
srvctl start vip -n rac1
try to ping again:
ping 192.168.100.103
** Checking RAC1-VIP
srvctl status nodeapps -n rac1