Disable the automatic startup of the Oracle Clusterware (CRS|HAS) software
Disable the automatic startup of the Oracle Clusterware (CRS|HAS) software
Sometimes, you need for maintenace reasons or others to disable the automatic startup of the Oracle Clusterware software. For that, we use the following commands
crsctl disable/enable has
crsctl disable/enable crs
In some situations, it is interesting, to know in which file the information can be found for enable/disable of automatic startup of the Oracle Clusterware configuration. The configuration is stored in the repository
/etc/oracle/scls_scr/node_name/root/
[root@joords_RAC1]# ll /etc/oracle/scls_scr/joords_rac1/root/
total 12
-rw-r--r-- 1 root root 7 oct 18 12:07 crsstart
-rw-r--r-- 1 root oinstall 8 oct 27 13:06 ohasdrun
-rw-r--r-- 1 root oinstall 8 oct 27 13:36 ohasdstr
[root@joords_RAC1]#
Until the 11.1.0 Oracle Clusterware release, it was stored in the /etc/oracle/scls_scr/node_name/root/crsstart, and since the 11.2.0, the commands crsctl disable/enable has and crsctl disable/enable crs are modifying only
/etc/oracle/scls_scr/node_name/root/ohasdstr
root@joords_RAC1]# crsctl disable has
CRS-4621: Oracle High Availability Services autostart is disabled.
[root@joords_RAC1]#
[root@joords_RAC1]# more /etc/oracle/scls_scr/joords_rac1/root/ohasdstr
disable
[root@joords_RAC1]# crsctl enable has
CRS-4622: Oracle High Availability Services autostart is enabled.
[root@joords_RAC1]# more /etc/oracle/scls_scr/joords_rac1/root/ohasdstr
enable
[root@joords_RAC1]#
We are in 11.2.0.3 release
[root@joords_RAC1]# /app/grid/bin/crsctl enable crs
CRS-4622: Oracle High Availability Services autostart is enabled.
[root@joords_RAC1]# more /etc/oracle/scls_scr/joords_rac1/root/ohasdstr
enable
[root@joords_RAC1]# /app/grid/bin/crsctl disable crs
CRS-4621: Oracle High Availability Services autostart is disabled.
[root@joords_RAC1]# more /etc/oracle/scls_scr/joords_rac1/root/ohasdstr
disable
[root@joords_RAC1]# more /etc/oracle/scls_scr/joords_rac1/root/crsstart
enable
Is it working to modify manualy the file ?
[root@joords_RAC1]# /app/grid/bin/crsctl enable has
CRS-4622: Oracle High Availability Services autostart is enabled.
[root@joords_RAC1]#
[root@joords_RAC1]# vi /etc/oracle/scls_scr/joords_rac1/root/ohasdstr
Change the "enable" by "disable" with vi editor.
Test at boot, the CRS startup is disabled. So it’s works.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/195110/viewspace-1125719/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Disable Oracle Automatic JobsOracle
- Oracle Automatic Startup and Shutdown in Linux platformOracleLinuxPlatform
- Oracle Clusterware Software Component Processing DetailsOracleAI
- How to Clean Up After a Failed Oracle Clusterware (CRS) InstallationAIOracle
- 補接_oracle rac_node addition and deletion for clusterware or softwareOracle
- Oracle Cluster Software相關術語:CRS CSS EVMOracleCSS
- CRS-4046: Invalid Oracle Clusterware configurationOracle
- CRS-4124: Oracle High Availability Services startup failed. CRS-4000OracleAI
- Disable the automatic funciton of collecting statistics in 10G
- CRS-4124: Oracle High Availability Services startup failed.OracleAI
- Metlink:How to clean up a failed CRS/ClusterwareAI
- JIRA startup failed, JIRA has been locked.AI
- Clusterware Intermi Hangs And Fail With CRS-184 as Net in /tmp/.oracle_370605.1AIOracle
- oracle clusterwareOracle
- has、ohasd、crs、cluster區別和聯絡
- Unable to startup CRS as ASM failed to startup with "ORA-01017:inval_1681849.1ASMAI
- RAC一個節點錯誤CRS-4047: No Oracle Clusterware components configuredOracle
- ORACLE RAC clusterwareOracle
- CRS-2765: Resource 'ora.crsd' has failed on serverAIServer
- Oracle shutdown and startupOracle
- RAC解決單節點報 CRS-4047: No Oracle Clusterware components configured.Oracle
- oracle hasOracle
- Oracle Clusterware的心跳Oracle
- Oracle Clusterware工具集Oracle
- Oracle Clusterware and Oracle Grid InfrastructureOracleASTStruct
- 【BUG】 CRS: reboot advisory message show wrong reason when disable privatboot
- Oracle clusterware組成概述Oracle
- HACMP & Oracle Clusterware 對比ACMOracle
- 對於診斷Oracle Clusterware CRS或GI和Real Application Cluster RAC問題的資料收集OracleAPP
- oracle-startup過程Oracle
- Oracle startup mount exclusive作用Oracle
- The Oracle Clusterware Voting Disk and Oracle Cluster RegistryOracle
- Oracle Automatic PGA Memory ManagementOracle
- oracle startup(nomount mount open restrict)OracleREST
- Oracle 資料庫啟動 startup和startup force的區別Oracle資料庫
- You Buy a NUMA System, Oracle Says Disable NUMAOracle
- How to Relink Oracle Database SoftwareOracleDatabase
- Oracle software下載地址列表Oracle