1. It's better to look at the node information and the running state before restarting
You can srvctl status database-d database name//view node information
Crs_stat//View node status
You can see the data node it consists of two instances of a database, each running a different node, and the status OK
2. First close the database
Srvctl Stop database-d database name
3. Close the connection node separately
Log in to the respective server, and enter the following command to close the node
Srvctl Stop nodeapps-n Node 1/Node 2
4. Restart the database
After completing some operations on the data, start with Srvctl start database-d database name
Normally, at this point each node will automatically come up, and we'll check if it doesn't automatically get up and we'll reboot manually.
CRS_STAT-T View Status
RAC Environment Database Restart instance