Shutdown and Startup Exadata

This article covers the scenario for graceful shutdown and startup Exadata and Oracle Databases.

#################
Shutdown Sequence
#################

[0] Firstly check all Database and Cluster resources, which resources are online which was offline.

[1] Shutdown database(s) safely as follows.

$ srvctl stop database -d DB_NAME

[2] If all databases and their instances shutdown, then stop Cluster Resources as follows. Firstly Set Grid Infrastructure Profile, then stop all resources.

$crsctl stop cluster -all

Or

You can stop CRS on each database server node as follows.

$ crsctl stop crs

[3] Shutdown all Cell Servers.

You can shutdown all Cell Servers on Database server as follows.

$dcli -g cell_group -l root "su - celladmin -c \"cellcli -e alter cell shutdown services all \""

Or

you can shutdown each cell server one by one as follows. Before shutdown it, check its services as follows.

#service celld status
#service celld stop

Do this step for all Cell servers one by one.

[4] Shutdown Cell Servers.

You can shutdown them with one command from database server as follows.

$dcli -g cell_group -l root poweroff

or

you can shutdown them one by one on related cell server.
# shutdown -h -y now

[5] Shutdown all Database Servers as follows.

shutdown -h -y now
or
poweroff

If all ssh connections are down, then check the Exadata lights if they are on or off.

##################
Startup Sequence
##################

[6] Once exadata has been offline, you can startup it by clicking the power button on the front panel of the Exadata Storage Servers and Database servers.

When the Storage servers and database servers’ light are on, then it will startup in a 10 minutes.

You can startup cell servers from Database server using the following command.

for host in `cat cell_group`; do
echo ${host}: `ipmitool -H ${host}-ilom -U root -P welcome1 chassis power on`
done

You can also startup exadata by using ILOM.

[7] Check all Cell Servers if they are online or not.

$dcli -g cell_group -l root 'hostname; uptime'
$dcli -g cell_group -l root "su - celladmin -c \"cellcli -e list cell detail \""

[8] If Cell servers are online, then check the Database Servers.

Normall all CRS services should be startup automatically.
But check it as follows on each database server.

crsctl status res -t
ps -ef | grep smon

[9] If Cluster and database services are not startup automatically, then startup them as follows.

crsctl start cluster -all

[10] If Databases are not up, then Startup database(s) as follows.

$ srvctl start database -d DB_NAME

Now All Exadata and database services are up, you can use them safely.

Refer to MOS Doc ID 1093890.1 for detailed steps.
Steps To Shutdown/Startup The Exadata & RDBMS Services and Cell/Compute Nodes On An Exadata Configuration (Doc ID 1093890.1)

Thank you for visiting this blog 🙂