crsctl Using this command we can enable or disable oracle clusterware damemons. Run the following command to enable startup of all oracle clusterware daemons
crsctl enable crs
Run the following command to disable startup for all oracle clusterware daemons
crsctl diable crs
Usually we're enabling/disableing oracle clusterware daemons status using crsctl but no one checking wheather cluster already disabled/enabled or not ?
I just found YES we can check oracle clusterware daemons startup status in scls_scr directory from /etc/oracle
Example:
Enable:
[root@linux1 ~]# cd /u01/app/oracle/product/10.2.0/crs/bin
[root@linux1 bin]# ./crsctl enable crs
[root@linux1 bin]# cat /etc/oracle/scls_scr/linux1/root/crsstart
enable
[root@linux1 ~]# cd /u01/app/oracle/product/10.2.0/crs/bin
[root@linux1 bin]# ./crsctl enable crs
[root@linux1 bin]# cat /etc/oracle/scls_scr/linux1/root/crsstart
enable
After executing crsctl enable crs command clusterware daemons status updated in crsstart file "enable"
Disable:
[root@linux1 bin]# ./crsctl disable crs
[root@linux1 bin]# cat /etc/oracle/scls_scr/linux1/root/crsstart
disable
[root@linux1 bin]# ./crsctl disable crs
[root@linux1 bin]# cat /etc/oracle/scls_scr/linux1/root/crsstart
disable
After executing crsctl disable crs command clusterware daemons status updated in crsstart file "disable". Have a great day to found oracle clusterware daemons status :-) ..
No comments:
Post a Comment