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

Stop services and shut down grid nodes

Contributors netapp-pcelmer netapp-perveilerk netapp-lhalbert netapp-madkat

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 API 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, do not 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.

  1. 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.
  2. For the primary Admin Node, repeat the steps for logging into the node and stopping all services on the node.

  3. 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.

  4. 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.

  5. If you have appliance nodes:

    • For the SG100 or SG1000 services appliance

      1. Turn off the power to the appliance.

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

    • For the SG6000 appliance

      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.

    • For the SG5700 appliance

      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.

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

    The StorageGRID grid has now been shut down.