So, auntie, shut down Oracle 10g DB cluster

Source: Internet
Author: User


Sometimes we need to go to the customer site to do security, occasionally need to stop the database cluster, and then stop. Usually we take a more secure approach than a brute force approach.

    1. Savage Way.

#/u01/app/oracle/product/10.2.0/db_1/bin/crsctl Stop CRS

Log

Shutting down instance (abort)

License High Water mark = 5

Instance terminated by USER, PID = 9068

2. The Gentle way  

[Email protected] root]# su-oracle

[Email protected] ~]$ Crs_stat-t-V

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/9C/6B/wKioL1lwSmPw1H2iAAC46Jj1ds8096.png-wh_500x0-wm_ 3-wmp_4-s_2540385907.png "title=" image 1.png "alt=" wkiol1lwsmpw1h2iaac46jj1ds8096.png-wh_50 "/>

[Email protected] ~]$ srvctl Config database

Racdb

[Email protected] ~]$ srvctl stop database-d racdb

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/9C/6C/wKiom1lwSn2hU0gsAADQJtifA6o783.png-wh_500x0-wm_ 3-wmp_4-s_716406210.png "title=" image 2.png "alt=" Wkiom1lwsn2hu0gsaadqjtifa6o783.png-wh_50 "/>

[Email protected] ~]$ srvctl stop asm-n Node1

[Email protected] ~]$ srvctl stop asm-n Node2

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/9C/6C/wKioL1lwSrqA4lvtAACv9cNba5Q994.png-wh_500x0-wm_ 3-wmp_4-s_2819583354.png "title=" image 3.png "alt=" Wkiol1lwsrqa4lvtaacv9cnba5q994.png-wh_50 "/>

[Email protected] ~]$ srvctl stop nodeapps-n Node1

[Email protected] ~]$ srvctl stop nodeapps-n Node2

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/9C/6C/wKioL1lwStrSUdQmAADFmWS6yJg189.png-wh_500x0-wm_ 3-wmp_4-s_2061809010.png "title=" image 4.png "alt=" wkiol1lwstrsudqmaadfmws6yjg189.png-wh_50 "/>

[[email protected] root]#/u01/app/oracle/product/10.2.0/db_1/bin/crsctl stop CRS

Stopping resources. This could take several minutes.

Successfully stopped CRS resources.

Stopping CSSD.

Shutting down CSS daemon.

Shutdown request successfully issued.

[Email protected] root]# shutdown-h 0

Broadcast message from root (PTS/1) (Thu Jul 20 09:16:28 2017):

The system is going under for system halt now!

3. Start-up method

[Email protected] ~]# su-oracle

[email protected] ~]$ which crsctl

/u01/app/oracle/product/10.2.0/db_1/bin/crsctl

[[Email protected] ~]$ exit

Logout

[[email protected] ~]#/u01/app/oracle/product/10.2.0/db_1/bin/crsctl start CRS

Attempting to start CRS stack

The CRS stack would be started shortly


Recently a little busy, some slack, blog update is not timely. Or to continue to adhere to, less excuses, self-criticism.

This article is from the "ROIDBA" blog, make sure to keep this source http://roidba.blog.51cto.com/12318731/1949295

So, auntie, shut down Oracle 10g DB cluster

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.