In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
The following document information comes from the MOS official document, which has been confirmed by detailed testing.
Starting from 10g, CRS starts at operating system startup by default.
Sometimes, in order to facilitate maintenance operations, we generally prohibit CRS from booting itself when the operating system starts.
Both 10g and 11g oracle support the command to disable CRS from booting itself when the operating system starts:
# crsctl disable crs # crsctl enable crs
When we turn on or off the startup, how do we check whether the current CRS is in enable or disable? oracle gives different path files in 10g camera 11gR1 and 11gR2 respectively.
In a 10g environment:
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
In 11gR2, both crs, css and evmd processes are driven by ohasd processes, and all are slightly different in 11g. Although the commands are the same, they are all turned off or turned on through crsctl disable/enable crs, but in fact, oracle imposes self-startup restrictions on ohasd, so the file location and file name in 11gR2 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
The following is about the testing and viewing process on linux:
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
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.