Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

So shut down the Oracle 10g database cluster.

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Sometimes we need to go to the customer site to do support, occasionally need to stop the database cluster, and then downtime. We usually take a more prudent approach rather than a savage and violent approach.

In a barbaric way

# / u01/app/oracle/product/10.2.0/db_1/bin/crsctl stop crs

Journal

Shutting down instance (abort)

License high water mark = 5

Instance terminated by USER, pid = 9068

two。 In a gentle way

[root@node1 root] # su-oracle

[oracle@node1] $crs_stat-t-v

[oracle@node1 ~] $srvctl config database

Racdb

[oracle@node1] $srvctl stop database-d racdb

[oracle@node1] $srvctl stop asm-n node1

[oracle@node1] $srvctl stop asm-n node2

[oracle@node1] $srvctl stop nodeapps-n node1

[oracle@node1] $srvctl stop nodeapps-n node2

[root@node1 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.

[root@node1 root] # shutdown-h 0

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

The system is going down for system halt NOW!

3. Startup method

[root@node1 ~] # su-oracle

[oracle@node1 ~] $which crsctl

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

[oracle@node1 ~] $exit

Logout

[root@node1 ~] # / u01/app/oracle/product/10.2.0/db_1/bin/crsctl start crs

Attempting to start CRS stack

The CRS stack will be started shortly

Recently a little busy, some slack, the blog update is not timely. We should continue to stick to it, make fewer excuses and criticize ourselves.

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.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report