How to view the current CRS is in the enable or disable in

MOS under document information from official documents, after careful testing to confirm

From 10g CRS is the default operating system boot time from start
sometimes in order to facilitate maintenance operations, we generally prohibit CRS with the operating system boot and start from
either 10g or 11g, oracle support the ban by CRS command mode with the operating system and start from the start:

#crsctl disable crs #crsctl enable crs

When we turned on or off from the start, how we view the current CRS is in the enable or disable in the middle of it, oracle at 10g, 11gR1 and 11gR2 were all given a different path to the file view

10g环境中:
Oracle Database – Enterprise Edition – Version 10.1.0.2 to 11.1.0.8 [Release 10.1 to 11.1]: 3. $AUTOSTART
Linux & AIX:/etc/oracle/scls_scr/$hostname/root/crsstart

SUN & HP:/var/opt/oracle/scls_scr/$hostname/root/crsstart

While in 11gR2, due either crs or css or evmd processes are driven by ohasd process, all slightly different in 11g, though commands, are closed or opened by crsctl disable / enable crs, but in fact, oracle is ohasd made since the launch of the restriction, so in 11gR2 file location and file name should be as follows:

cd /etc/oracle/scls_scr/s1-11g/root
Linux & AIX:/etc/oracle/scls_scr/$hostname/root/ohasdstr

SUN & HP:/var/opt/oracle/scls_scr/$hostname/root/ohasdstr

About linux on the following test and view process:

10g:
[root@DBServer1 root]# crsctl query crs softwareversion

CRS software version on node [dbserver1] is [10.2.0.5.0]

[root@DBServer1 root]# more /etc/oracle/scls_scr/dbserver1/root/crsstart

enable

[root@DBServer1 root]# crsctl disable crs

[root@DBServer1 root]# more /etc/oracle/scls_scr/dbserver1/root/crsstart

disable

11gR2:
[root@s1-11g root]# crsctl query crs softwareversion

Oracle Clusterware version on node [s1-11g] is [11.2.0.4.0]
[root@s1-11g root]# more /etc/oracle/scls_scr/s1-11g/root/ohasdstr

enable
[root@s1-11g root]# crsctl disable crs
CRS-4621: Oracle High Availability Services autostart is disabled.
[root@s1-11g root]# more /etc/oracle/scls_scr/s1-11g/root/ohasdstr

disable

Guess you like

Origin blog.51cto.com/214320/2420907