Powering Down the Servers

Before powering down a server, stop the services running on it, as described in "Shutting Down Recovery Appliance".

To shut down a compute server or a storage server:

  1. Log in to the server as root.
  2. Stop the operating system:
    # shutdown -h -y now
    

    Or restart the operating system:

    # shutdown -r -y now
    

Example 13-1 Powering Off Recovery Appliance Using the dcli Utility

  1. Stop Oracle Clusterware on all compute servers:

    # GRID_HOME/grid/bin/crsctl stop cluster -all
    
  2. Shut down the other compute server in the rack:

    # dcli -l root -g ra-adm02 shutdown -h -y now
    

    In the preceding command, ra01adm02 is the name of the second compute server.

  3. Shut down all storage servers:

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

    In the preceding command, cell_group is a file that lists all storage servers.

  4. Shut down the local compute server:

    shutdown -h -y now
    
  5. Power off the rack.

Use the dcli utility to run the shutdown command on multiple servers simultaneously. Do not run dcli from a server that will be powered off by the command.

The following example shuts down a group of storage servers listed in a file named cell_group:

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

Example 13-1 shows the power off procedure for the rack when using the dcli utility to shut down multiple servers simultaneously. The commands run from a compute server.