NFS

To create NFS Exports for your CephFS:

  1. Navigate to File Storage -> NFS.
  2. You will be prompted to choose servers for your NFS cluster.
  3. Navigate to Exports.
  4. Click Create.

High Availability

Clients can connect to your NFS gateways directly, but a client mounted against one gateway's address loses its mount when that gateway goes down. An HA group puts a virtual IP in front of the gateways, so mount the virtual IP rather than a gateway address and the mount survives a gateway failure.

  1. Navigate to File Storage -> NFS -> <your NFS cluster> -> High Availability.
  2. Click Create HA Group.
  3. Pick the virtual IP, the gateways that serve it, and the network interface it lives on.

One gateway holds the virtual IP at a time, so an NFS group fails over rather than balancing load. When the holder stops answering, the IP moves to another member after the Fail-over Time in seconds, and clients reconnect to the new holder. A group run by keepAfloatD waits at least 6 seconds, however low the time is set.

Failback returns the virtual IP to the original gateway once it is healthy again, after the Fail-back Time. Clients that are still talking to the stand-in gateway do not necessarily notice, so turn on Evict NFS Client on Failback to disconnect them at that moment and have them reconnect through the virtual IP.