NFS

To create NFS Exports for your CephFS:

  1. Navigate to File Storage -> NFS.
  2. You will be prompted to choose servers for NFS Gateway.
  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> -> HA Groups.
  2. Click Create.
  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.

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.