Starting, Stopping, and Restarting HPE Ezmeral Data Fabric NFSv4

Describes how to start, stop and restart the NFS version 4 service using either the Control System, the CLI, or the REST API.

Starting, Stopping, and Restarting HPE Ezmeral Data Fabric NFSv4 Using the CLI and REST API

About this task

NOTE
On Ubuntu 20, run the following commands before starting NFS4, Else, NFS fails to start, as it cannot find the jemalloc library.
apt-get install libjemalloc2

ln /usr/lib/x86_64-linux-gnu/libjemalloc.so.2 /opt/mapr/lib/libjemalloc.so.1

To stop, start, or restart the HPE Ezmeral Data Fabric NFSv4 server, run:

maprcli node services -nodes <node names> -name nfs4 -action stop|start|restart

Send a request of type POST. For example:

curl -X POST 'https://<host>:8443/rest/node/services?nodes=<nodeNames>&nfs4=stop|start|restart' --user <username>:<password>
NOTE
When the NFS server is stopped, the VIPs associated with the server are released, and CLDB attempts to reassign the VIPs to other available NFS servers.
For the complete list of parameters, see node services.