Installing NFS for the HPE Ezmeral Data Fabric
Describes how to install the NFS service on a node.
The following sections describe how to install the NFSv3 server, NFSv4 server, and the NFS client.
Installing the NFSv3 Server
Red Hat or CentOS |
|
Ubuntu |
|
SUSE |
|
/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
The NFSv4 server can only be installed on data-fabric 6.1 or later clusters. Both 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 NFSv3 server can be installed, or 6.1, where NFSv4 or NFSv3 can be installed.
-
Download, if necessary, and install the
nfs-utils
package, if it is already not installed, on the host where you plan to install the NFSv4 server. -
Modify the
/etc/yum.repos.d/mapr_ecosystem.repo
file on CentOS/Suse or/etc/apt/sources.list
file on Ubuntu to add the following:- CentOS:
[mapr-dev-ecosystem] name=mapr-dev-ecosystem baseurl=http://artifactory.devops.lab/artifactory/eco-rpm/releases/opensource/redhat enabled=1 gpgcheck=0
- Ubuntu:
deb http://artifactory.devops.lab/artifactory/eco-deb binary trusty #opensource.repo
- CentOS:
-
Ensure that
rpc.statd
is running on the node.To verify, run the following command:
If it is already not running, execute 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:
Red Hat or CentOS yum install mapr-nfs4server
Ubuntu apt-get install mapr-nfs4server
SUSE 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/nfsserver
topology. If fileserver is installed at a later time, the node is moved to/data
topology, which is the default for fileserver nodes. -
Run
configure.sh
utility with the-u
and-g
options to configure the services to run under usermapr
and the group of themapr
user.Important: This step is required only if you are configuring NFSv4 server to work with Kerberos.
Installing the NFS Client
Red Hat or CentOS |
|
Ubuntu |
|
SUSE |
|