Setting Up VIPs for NFSv3
Explains how to set up VIPs for NFS version 3 using either the Control System or the CLI.
About this task
NOTE
The NFSv3 server (mapr-nfsserver) nodes cannot failover to NFSv4
server (mapr-nfs4server) nodes and vice versa. Ensure that
different sets of VIPs are assigned for NFSv3 and NFSv4 server nodes. When running
the maprcli virtualip add command to set up VIPs, list the MACs of
the respective nodes so that the failover works properly (this is necessary when
both NFSv3 and NFSv4 are going to be set up on the same cluster). The MACs should be
mutually exclusive as both NFSv3 and NFSv4 servers cannot run on the same
node.Adding VIPs Using the Control System
About this task
You can use the Control System to specify a range of virtual IP addresses and assign them to the pool of servers that are running the NFS service. You can also restrict the assignment of virtual IP addresses to certain subnets.
Before following this procedure, make sure:
- You have installed NFS on at least three nodes (recommended).
- You have started the NFS gateway service on the servers to which you plan to assign VIPs.
Procedure
Adding VIPs Using the CLI and REST API
About this task
The basic command to set up VIPs is:
maprcli virtualip add -netmask <netmask> -virtualip <virtualip> -service nfs3 -jsonSend a request of type POST. For example:
curl -X POST 'https://<host>:8443/rest/virtualip/add?service=nfs3&netmask=<netmask>&virtualip=<vip>' --user <username>:<password>For the complete list of required and optional parameters, see
virtualip add.
to move selection to
to remove from selected list of VIPs.