Enable NFS File Service in VMware vSAN Storage Cluster

Posted on 225 views

In this article we will be looking at how you can enable file service in a vSAN Storage cluster configured in a VMware environment. The vSAN File Service allows a vSphere admin to provision a file share from their vSAN cluster. The file share created can be accessed using NFS protocol. Before you start the configuration you need few items already configured:

Setup Pre-requisites

  • A Working VMware vSphere implementation: Setup ESXi hosts and deploying vCenter Server Appliance.
  • Configured and working DNS resolution for all ESXi hosts and vCenter Appliance
  • Static IP address, subnet masks and gateway for file servers
  • DNS name for each IP address or allow the system to do a reverse DNS lookup.

The design implementation of the File Service is as captured in the diagram below.

enable-file-service-vsan-cluster-01-1024x513

Enable NFS File Service in a VMware vSAN Storage Cluster

The vSAN File services is supported on DVS version 6.6.0 or higher. You need to create a dedicated port group for vSAN File Service in the DVS.

Click on the Cluster name you created in vCenter. The go to Configure > vSAN > Services. Click “ENABLE” under the File Service section.

enable-file-service-vsan-cluster-02-1024x514

Review requirements in the Introduction page and hit Next if the checklist is satisfied.

enable-file-service-vsan-cluster-03-2048x1212

In the File service agent page there are two options to choose from for downloading the OVF files.

  • Automatic approach: This is the default option which lets the system search and download the OVF.
  • Manual approach: This option allows you to browse and select an OVF that is already available on your local system.

Using Manual approach

If you don’t have internet connectivity from your VMware Infrastructure you’ll need to have the following files for deployment:

  • VMware-vSAN-File-Services-Appliance-x.x.x.x-x_OVF10.mf
  • VMware-vSAN-File-Services-Appliance-x.x.x.x-x-x_OVF10.cert
  • VMware-vSAN-File-Services-Appliance-x.x.x.x-x-x-system.vmdk
  • VMware-vSAN-File-Services-Appliance-x.x.x.x-x-cloud-components.vmdk
  • VMware-vSAN-File-Services-Appliance-x.x.x.x-x-log.vmdk
  • VMware-vSAN-File-Services-Appliance-x.x.x.x-x_OVF10.ovf

Here is the list of the files I downloaded and I’ll be using Manual approach.

enable-file-service-vsan-cluster-04-1024x781

For my installation I’ll choose Manual approach deployment method.

enable-file-service-vsan-cluster-05-1024x361

Select all the files and hit Open.

enable-file-service-vsan-cluster-06-1024x298

Confirm all the files were selected for use during deployment.

enable-file-service-vsan-cluster-07-1024x431

Set File service domain name. DNS Servers and DNS suffixes.

enable-file-service-vsan-cluster-08-1024x440

Select network to be used by file service, subnet mask and the network’s gateway.

enable-file-service-vsan-cluster-09-1024x429

Provide IP addresses which should match the number of hosts in the cluster for best operation. Make sure the DNS names are configured in your DNS server.

enable-file-service-vsan-cluster-10-1024x386

Confirm configuration details then click “Finish“.

enable-file-service-vsan-cluster-11-1024x608

If the installation is successful the file service should show as enabled.

enable-file-service-vsan-cluster-12-1024x357

In our next article we will look at how you can use vSAN NFS file service. Stay connected for updates.

Gravatar Image
A systems engineer with excellent skills in systems administration, cloud computing, systems deployment, virtualization, containers, and a certified ethical hacker.