Restarting the Services

Describes how to restart a service using either the Control System, the CLI or the REST API.

About this task

When a HPE Ezmeral Data Fabric system is rebooted, the following services are automatically restarted:
  • mapr-warden
  • mapr-zookeeper
  • mapr-loopbacknfs
  • mapr-posix-client-*
These services are also automatically restarted if they are shut down externally (as opposed to being shut down explicitly via service or sysctl commands).
NOTE
This feature is implemented with systemd and is only supported on the following operating systems:
  • RHEL 7.0, 7.1
  • CentOS 7.0, 7.1
  • SLES 12
This feature is not supported on any of the Ubuntu versions that HPE Ezmeral Data Fabric currently supports.

You can restart one or more services using the Control System and the CLI if the services are not disabled. However, if a service is disabled, the service cannot be restarted. To restart a service, make sure the service is enabled. See Enabling and Disabling a Service Using the CLI and REST API for more information.

Restarting the Services Running on the Nodes Using the Control System

About this task

To restart the services running on the nodes:

Procedure

  1. Log in to the Control System and click Nodes to display the Nodes page.
    NOTE
    The Nodes page is not available on the Kubernetes version of the Control System.
  2. Select the nodes from the list of nodes in the Nodes pane and click Manage Services to display the Manage Services window.
  3. Choose the Restart radio button for the services you wish to restart on the selected nodes and click Save.

Restarting one or more Services on a Node Using the Control System

Procedure

  1. Go to the Summary tab in the node information page.
  2. Select the services to restart in the Services pane.
  3. Click Restart Service(s).
    The Restart Service(s) confirmation dialog displays.
  4. Verify the list of services to restart and click Restart Service.

Restarting the Services on the Cluster Using the Control System

Procedure

  1. Log in to the Control System and navigate to Services.
  2. On the non-Kubernetes version, click associated with the service to restart.
    The Restart Service confirmation dialog displays.
  3. Verify the list of nodes on which to restart the service and click Restart Service.

Restarting a Service Using the CLI or REST API

About this task

The basic command to restart a service on a node is:

maprcli node services -nodes <node name> -name <service> -action restart

For complete reference information, see node services.