While preparing for my VMware VCAP-DCA exam, I have being using a number of virtual NFS and iSCSI devices but a few weeks ago I bought a Netgear ReadyNAS to form part of my lab environment.
Though I have found a number of articles/blogs regarding setup, what I found is that Netgear’s firmware updates have made all the screen not mesh while trying to complete the setup. This is my attempt at showing how to do the setup and hopefully avoiding the mistakes and frustrations along the way.
So to make things clear, I am using the Netgear ReadyNAS 104 with firmware 6.2.2
So, firstly we need to create the NFS share on the ReadyNAS.
This is done via the ReadyNAS webclient. Once you have logged in, click [Shares] and you should see a screen similar to the one below. Once you do, click the [New Folder] button and follow the prompts:
Give your new folder that is going to store for new VMware datastore a meaningful name and some description so you know what it is for. Select the [NFS] option, as this is what we will be used for connecting our ESXi hosts to it. If you want to access in parallel via other means select the other options you wish but the [NFS] option is mandatory for this exercise.
When you are ready, select [Create]
Success! Select [OK] to complete the folder setup.
We will now give your VMware hosts access to the new NFS folder by selecting the folder from the list, and then selecting [Settings]
Select the plus icon to add the VMware hosts you want to give access to the folder
Add in the IP address of the ALL the VMware hosts to access this NFS folder. And then select [Add]
The IP address should now be listed in the list.
NB. You must select [READ/WRITE] and [ROOT ACCESS] or when adding the NFS folder in VMware you will encounter and error and not be able to mount the datastore. Select [Ok] when you are done this.
That’s the ReadyNAS NFS folders all setup! Step 1 complete!
Let us now switch to our VMware host.
On the host, select [Configuration], [Storage] and then [Add Storage]
Select [Network File System] from the options, and [Next]
Type the IP address of your ReadyNAS in the [Server] window
The folder should also include the volume name and not just the share. Go back to your ReadyNAS webclient to confirm this. In my case the volume name is “Data” and my folder is called “ESXiDatastore”. Back in the VMware NFS wizard, the format should then be in my case “/data/ESXiDatstore”
Lastly, give the datastore a name. This is what will show in vCenter, so make it meaningful to yourself. Since I only have one NFS share, my lack of imagination called it “NFS”. Once this is complete select [Next]
Congratulations, you now have your NFS Datastore attached to the host and can be used for virtual machine storage, ISO repository any other VMware storage uses you may have.
The process will need to be repeated for all hosts in your environment.
I hope that this is been helpful to you… And as this is my first real blog, I hope it makes sense!