Part 8 – VMware vSphere 8 Nested Home Lab – Configuring The Openfiler Storage For NFS

In this eighth part of the series we will configure the Openfiler storage to allow access to storage using NFS protocol which can be used to configure NFS datastore on the ESXi servers.

For this we will add additional disks to the Openfiler virtual machine. Open VMware workstation, right click the virtual machine FILER01, scroll down to Power and click on Shut Down Guest and click on Shutdown in the subsequent window to shut down the virtual machine.

Right click the virtual machine FILER01 and select Settings.

We will be adding three additional virtual disks to the virtual machine. One for the NFS datastore and two for ISCSI datastores which we will configure in further articles.

Click on Add to continue.

Select Hard Disk. Click Next.

Select SCSI and click Next.

Select Create a new virtual disk. Click Next.

Enter the disk size as 40GB, Select Store virtual disk as a single file. Click Next.

Leave the default file name as it is and click Finish.

You should see the new disk added as below. We will be using this disk to configure NFS share and configure NFS datastore on ESXi servers.

Follow the above steps and configure two more disks as shown below and click on OK. We will be using to configure iSCSI LUNs to be used for VMware datastores.

Power on the virtual machine. Right click the virtual machine FILER01, go to Power and click on Power On.

Open the web browser and in the address bar http://10.100.1.22:446/
Enter the default Openfiler credentials as below and click Login.
Username: openfiler
Password: password

On the System tab, scroll down to the section Network Access Configuration and update it as below and click on Update. This is basically to allow hosts from 10.100.2.0/24 network, which we will be using for storage network, access to this storage.

Click on Services Tab.

For NFS service, Click on Enable and then on Start.

The status of the NFS service should change as shown in the screenshot below.

Next we will create volumes. Click on Volumes tab and click on create new physical volumes.

Click on the 40 GB volume /dev/sdb. We will be using this to configure the NFS share.

Scroll down to the section Create a partition in /dev/sdb and click on Create.

Partition /dev/sdb1 will be created as shown below.

Click on Volume Groups. Type the volume group name as nfs, select the checkbox against /dev/sdb1 and click on Add volume group.

The nfs volume group will be created as shown below.

Next click on Shares tab and click on create a new filesystem volume.

Scroll down to the section Create a volume in “nfs”. Enter the volume name as nfs01, enter the volume description as you please, drag the horizontal scroll bar button all the way to the right to use all the space available, leave the filesystem type to default XFS and click on Create.

Scroll down and you can see the newly created nfs01 volume.

Next we will be creating the folder inside this volume and will be sharing it via NFS. Click on the Shares tab, click on NFS ISO Repos link. A new window will popup, enter the folder name as iso and click on Create Sub-folder.

Click on the iso folder just created as shown in the image below and then click on Make Share.

On the next page leave the Share name and Share description to default.

On the Share Access Control Mode section, leave the default option Controlled access selected.

In the Group access configuration section, select the radio button under PG for group riak to make it the parent group for the share and click on Update.

In the Host access configuration section, click on the radio button for RW under NFS as shown below and click on Update. With this we are done with the NFS configuration from the Openfiler end. We will mount this NFS share as the NFS datastore on the ESXi servers in upcoming article.

With this we have configured the NFS share on the OpenFiler storage appliance. We will configure it as a ISO datastore on the ESXi hosts in later articles.


Discover more from VirtShinobi.blog

Subscribe to get the latest posts sent to your email.

Discover more from VirtShinobi.blog

Subscribe now to keep reading and get access to the full archive.

Continue reading