Startup and shutdown sequence of ORACLE RAC
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: