Get the App
SLTechnology News&Howtos  ›  Database  › 

Startup and shutdown sequence of ORACLE RAC

Shulou Source: shulou.com Published: 2022-06-01 05:57:29 10月04日 Update

When shutting down the cluster database before, I directly executed the OS command shutdown-h now. Later, I found that many services are in UNKNOW state after starting OS. Thinking that shutting down the database like that is too "violent", I decided that it would be better to shut down the cluster database in a "mild" way.

1. Use the crs_stat command to query whether the service status of the RAC node is normal

two。 Use the srvctl (service control) command to shut down the cluster service in turn

Shutdown order: close database (instance)-> close ASM instance-> shut down node service

1) close the database

2) close the ASM instance of each node

3) the services of shutting down each node include: listener, gsd, ons, vip

3. Use the srvctl (service control) command to shut down the cluster service in turn

Startup sequence: start node service-- > start ASM instance-- > start database instance

1) start the services of each node

2) start the ASM instance

3) start the database and instance

If you find that there are still services for failover that have not been started, start it manually:

Tags: Service instance data database node command cluster order status mild manual failure mode time violence service including or query Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Apple Shulou Technology Xiaomi Huawei