Enable NFS File Service in VMware vSAN Storage Cluster
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:
- 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 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.
Review requirements in the Introduction page and hit Next if the checklist is satisfied.
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:
Here is the list of the files I downloaded and I’ll be using Manual approach.
For my installation I’ll choose Manual approach deployment method.
Select all the files and hit Open.
Confirm all the files were selected for use during deployment.
Set File service domain name. DNS Servers and DNS suffixes.
Select network to be used by file service, subnet mask and the network’s gateway.
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.
Confirm configuration details then click “Finish“.
If the installation is successful the file service should show as enabled.
In our next article we will look at how you can use vSAN NFS file service. Stay connected for updates.