1.2.1.3.3 Powering Off Multiple Servers at the Same Time

The dcli utility can be used to run the shutdown command on multiple servers at the same time. Do not run the dcli utility from a server that will be shut down. For example, to shut down all Exadata Storage Servers using the dcli utility, run the command from a database server. The following command shows the command syntax:

# dcli -l root -g group_name shutdown -h now

In the preceding syntax, group_name is the file that contains a list of all Exadata Storage Servers, cell_group, or database servers, dbs_group.

The following command shows the syntax to shut down all Exadata Storage Servers at the same time:

# dcli -l root -g cell_group shutdown -h now

Example 1-1 shows the power off procedure for Oracle Exadata Rack when using the dcli utility to shut down multiple servers at the same time. The commands are run from a database server.

Example 1-1 Powering Off Oracle Exadata Rack Using the dcli Utility

  1. Stop Oracle Clusterware on all database servers using the following command:

    # GRID_HOME/grid/bin/crsctl stop cluster -all
    
  2. Shut down all remote database servers using the following command:

    # dcli -l root -g remote_dbs_group shutdown -h now
    

    In the preceding command, remote_dbs_group is the file that contains a list of all the remote database servers.

  3. Shut down all Exadata Storage Servers using the following command:

    # dcli -l root -g cell_group shutdown -h now
    

    In the preceding command, cell_group is the file that contains a list of all Exadata Storage Servers.

  4. Shut down the local database server using the following command:

    shutdown -h now
    
  5. Remove power from the rack.