Skip to main content

Stopping a service

Contributors netapp-lhalbert

Some maintenance procedures require you to stop a single service while keeping other services on the grid node running. Only stop individual services when directed to do so by a maintenance procedure.

What you'll need

You must have the Passwords.txt file.

About this task

When you use these steps to “administratively stop” a service, Server Manager will not automatically restart the service. You must either start the single service manually or restart Server Manager.

If you need to stop the LDR service on a Storage Node, be aware that it might take a while to stop the service if there are active connections.

Steps
  1. Log in to the grid 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 #.

  2. Stop an individual service: service servicename stop

    For example:

    service ldr stop
    Note Services can take up to 11 minutes to stop.
  3. Log out of the command shell: exit

Related information

Forcing a service to terminate