Skip to main content
A newer release of this product is available.

Power off and on all nodes in grid

Contributors netapp-perveilerk netapp-pcarriga

You might need to shut down your entire StorageGRID system, for example, if you are moving a data center. These steps provide a high-level overview of the recommended sequence for performing a controlled shutdown and startup.

When you power off all nodes in a site or grid, you will not be able to access ingested objects while the Storage Nodes are offline.

Stop services and shut down grid nodes

Before you can power off a StorageGRID system, you must stop all services running on each grid node, and then shut down all VMware virtual machines, container engines, and StorageGRID appliances.

About this task

Stop services on Admin Nodes and Gateway Nodes first, and then stop services on Storage Nodes.

This approach allows you to use the primary Admin Node to monitor the status of the other grid nodes for as long as possible.

Note If a single host includes more than one grid node, don't shut down the host until you have stopped all of the nodes on that host. If the host includes the primary Admin Node, shut down that host last.
Note If required, you can migrate nodes from one Linux host to another to perform host maintenance without impacting the functionality or availability of your grid.
Steps
  1. Stop all client applications from accessing the grid.

  2. Log in to each Gateway Node:

    1. Enter the following command: ssh admin@grid_node_IP

    2. Enter the password listed in the Passwords.txt file.

    3. Enter the following command to switch to root: su -

    4. Enter the password listed in the Passwords.txt file.

    When you are logged in as root, the prompt changes from $ to #.

  3. Stop all services running on the node: service servermanager stop

    Services can take up to 15 minutes to shut down, and you might want to log in to the system remotely to monitor the shutdown process.

  4. Repeat the previous two steps to stop the services on all Storage Nodes, Archive Nodes, and non-primary Admin Nodes.

    You can stop the services on these nodes in any order.

    Note If you issue the service servermanager stop command to stop the services on an appliance Storage Node, you must power cycle the appliance to restart the node.
  5. For the primary Admin Node, repeat the steps for logging into the node and stopping all services on the node.

  6. For nodes that are running on Linux hosts:

    1. Log in to the host operating system.

    2. Stop the node: storagegrid node stop

    3. Shut down the host operating system.

  7. For nodes that are running on VMware virtual machines and for appliance Storage Nodes, issue the shutdown command: shutdown -h now

    Perform this step regardless of the outcome of the service servermanager stop command.

    For the appliance, this command shuts down the compute controller, but the appliance is still powered on. You must complete the next step.

  8. If you have appliance nodes, follow the steps for your appliance.

    SG110 or SG1100
    1. Turn off the power to the appliance.

    2. Wait for the blue power LED to turn off.

    SG100 or SG1000
    1. Turn off the power to the appliance.

    2. Wait for the blue power LED to turn off.

    SG6160
    1. Turn off the power to the SG6100-CN storage controller.

    2. Wait for the blue power LED on the SG6100-CN storage controller to turn off.

    SGF6112
    1. Turn off the power to the appliance.

    2. Wait for the blue power LED to turn off.

    SG6000
    1. Wait for the green Cache Active LED on the back of the storage controllers to turn off.

      This LED is on when cached data needs to be written to the drives. You must wait for this LED to turn off before you turn off power.

    2. Turn off the power to the appliance, and wait for the blue power LED to turn off.

    SG5800
    1. Wait for the green Cache Active LED on the back of the storage controller to turn off.

      This LED is on when cached data needs to be written to the drives. You must wait for this LED to turn off before you turn off power.

    2. From the home page of SANtricity System Manager, select View Operations in Progress.

    3. Confirm that all operations have completed before continuing with the next step.

    4. Turn off both power switches on the controller shelf, and wait for all LEDs on the controller shelf to turn off.

    SG5700
    1. Wait for the green Cache Active LED on the back of the storage controller to turn off.

      This LED is on when cached data needs to be written to the drives. You must wait for this LED to turn off before you turn off power.

    2. Turn off the power to the appliance, and wait for all LED and seven-segment display activity to stop.

  9. If required, log out of the command shell: exit

    The StorageGRID grid has now been shut down.

Start up grid nodes

Caution If the entire grid has been shut down for more than 15 days, you must contact technical support before starting up any grid nodes. Don't attempt the recovery procedures that rebuild Cassandra data. Doing so might result in data loss.

If possible, power on the grid nodes in this order:

  • Apply power to Admin Nodes first.

  • Apply power to Gateway Nodes last.

Note If a host includes multiple grid nodes, the nodes will come back online automatically when you power on the host.
Steps
  1. Power on the hosts for the primary Admin Node and any non-primary Admin Nodes.

    Note You will not be able to log in to the Admin Nodes until the Storage Nodes have been restarted.
  2. Power on the hosts for all Archive Nodes and Storage Nodes.

    You can power on these nodes in any order.

  3. Power on the hosts for all Gateway Nodes.

  4. Sign in to the Grid Manager.

  5. Select NODES and monitor the status of the grid nodes. Verify that there are no alert icons next to the node names.