Before we stating creating new virtual machine , i will like to setup an NFS Datastore for my lab using Microsoft 2012R2 server and use my 1TB for it so i can save some space on my SSD drive.In the future i will explore more NFS option such as FreeNas EMC storage and more but for now i will stick to the Microsoft server.
Here are the step i took to configure Micorsoft NFS services and VMware vSwitch
Setting the Microsoft server For NFS services:
- On the Micorosoft server add a new role, choose File and iSCSI Services and than choose Server for NFS.
- add a new 100GB disk to my Microsoft server via VMware workstation (Optional)
- from Server manager File and Storage services >> Volume >> Disk bring the new 100G disk online
- create new volume for the disk , use the entire disk for that drive (here is summary for that volume)
- On the new volume that we just created create a new folder and share it via NFS , also make it read/write and allow root access
After configuring the NFS server we need to take care of the networking part. in out lab design we design the storage to be on a separate network so will will have to create a new network to use 10.10.50.0 network also at this point i will like to create a new vSwitch and VMkerenal ports for this network just for storage and in later on post i will also include Distributed switch
Creating new vSwitch:
- From vCenter >> esxi0 >> manage >> Networking click on add networking icon and choose the VMkernel Network adapter.
- Create new switch:
- add the vmnics that assosiate with 10.10.50.0 network
- name the new VMkernel and use the default setting (we are not using any vlans in our lab and for this network we are not using any services)
- add VMkernel IP
- configure new switches for all Hosts that will be accessing the storage
Below are Screenshots for all the above steps