Installing NFS for the HPE Ezmeral Data Fabric
Describes how to install the NFS service on a node.
About this task
The following sections describe how to install the NFSv3 server, NFSv4 server, and the NFS client.
Installing the NFSv3 Server
Procedure
Install the NFSv3 server package.
To install, run the following command:
RHEL or CentOS |
|
Ubuntu |
|
SLES |
|
If the NFS server is installed without fileserver on a node, the
node will be placed in the
/nfsserver
topology. If the
fileserver is installed at a later time, the node will be moved to the
/data
topology, which is the default for fileserver
nodes.Installing the NFSv4 Server
About this task
The NFSv4 server can be installed only on Data Fabric 6.1 or later clusters. NFSv4 and NFSv3 servers cannot run on the same node. If you have the NFS client running on an edge node, you can use that client to connect to the Data Fabric NFS server on clusters running either 5.2, where only NFSv3 server can be installed, or 6.1 or later, where NFSv4 or NFSv3 can be installed.
Procedure
-
On the host where you plan to install the NFSv4 server, download, if
necessary, and install the
nfs-utils
package, if it is already not installed. -
Ensure that
rpc.statd
is running on the node.To verify, run the following command:
If it is not already running, run the following to start it:ps -ef| grep rpc.st rpcuser 18889 1 0 01:04 ? 00:00:00 /sbin/rpc.statd root 27016 6933 0 01:25 pts/0 00:00:00 grep color=auto rpc.st
/sbin/rpc.statd
-
Install NFSv4 server package.
To install, run the following command:
RHEL or CentOS yum install mapr-nfs4server
Ubuntu apt-get install mapr-nfs4server
SLES zypper install mapr-nfs4server
Themapr-nfsganesha
package is also installed as a dependency package. If NFS server is installed without fileserver on a node, the node is in the/nfsserver
topology. If fileserver is installed at a later time, the node is moved to the/data
topology, which is the default for fileserver nodes. -
Run the
configure.sh
utility with the-u
and-g
options to configure the services to run under usermapr
and the group of themapr
user.IMPORTANTThis step is required only if you are configuring NFSv4 server to work with Kerberos.
Installing the NFS Client
Procedure
To install the NFS client, run the following command:
RHEL or CentOS |
|
Ubuntu |
|
SLES |
|
NOTE
NFSv3 clients cannot connect to the NFSv4 server because the NFSv4
server only supports v4 protocol.