Starting the mapr-loopbacknfs Service to Access a Cluster

Describes the prerequisites and the process of starting the mapr-loopbacknfs service to access a secure cluster.

The following instructions explain how to start the loopbacknfs service so you can access either a non-secure or secure cluster.

To access multiple clusters, ensure that the first cluster that you configure is a HPE Ezmeral Data Fabric 4.0.2 or later cluster, with available POSIX client licenses.

Prerequisites for accessing a secure cluster:

Note: Since the NFS server runs based on a single user's ticket, it can act on behalf of only one user. Therefore, the UID or GID associated with the ticket must match the UID or GID of any user who accesses the NFS server through the HPE Ezmeral Data Fabric POSIX Client.
Note: Securing the cluster so that only one user can have secure access provides tight control over cluster access, but it also means that any user on the client who is able to read the generated ticket has read access to all data in the cluster.

Start the mapr-loopbacknfs service and mount the volume

Complete the following steps from your client node, except where noted, to start the mapr-loopbacknfs service and mount the volume:
Note: If cluster security is enabled, the ticket that you generated using the preceding procedure, must be available or the NFS server does not start.
  1. Start the mapr-loopbacknfs service from the command line.
    service mapr-loopbacknfs start
  2. Create a mount point at /mapr and mount the client node to it.
    mkdir /mapr
    mount localhost:/mapr /mapr
  3. You can also automate the mounting of the volume with every launch of the mapr-loopbacknfs service. On the POSIX client node, create /usr/local/mapr-loopbacknfs/conf/mapr_fstab and add the following line:
    localhost:/mapr /mapr hard,nolock