Restarting the Services
Describes how to restart a service using either the Control System, the CLI or the REST API.
- mapr-warden
- mapr-zookeeper
- mapr-loopbacknfs
- mapr-posix-client-*
service
or
sysctl
commands).systemd
and is only supported on
the following operating systems:- RHEL 7.0, 7.1
- CentOS 7.0, 7.1
- SuSe 12
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
To restart the services running on the nodes:
-
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.
- Select the nodes from the list of nodes in the Nodes pane and click Manage Services to display the Manage Services window.
- 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
- Go to the Summary tab in the node information page.
- Select the services to restart in the Services pane.
-
Click Restart Service(s).
The Restart Service(s) confirmation dialog displays.
- Verify the list of services to restart and click Restart Service.
Restarting the Services on the Cluster Using the Control System
- Log in to the Control System and navigate to Services.
-
On the non-Kubernetes version, click
associated with the service to restart.
The Restart Service confirmation dialog displays. - Verify the list of nodes on which to restart the service and click Restart Service.
Restarting a Service Using the CLI or REST API
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
.