Connect ESXI to NFS storage Part III :Configure NFS Client

Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on pinterest
Share on print
Share on email
Table of Contents

NFS network Diagram

ESXI NFS network diagram

as we do always in networks pioneers : it’s better to have a a look to network diagram above to understand the concept 

we have Suse Linux Enterprise Server as NFS Server 

  • name SLES123.pioneers.lab 
  • management ip address 172.16.100.123 connected to DMZ called [server farm ]
  • another NIC connected to DMZ with ip address 172.21.104.123
  • SLES123 has HDD with capacity 2TB 
  • we will create folder on SLES123 with NFS services to let ESXI hosts [ESXI151,ESXI152,ESXI153] to see it as DataStore 

also : we have ESXI host server called ESXI151  with 

  • interface for management with DMZ [server farm ] : with ip address 172.16.100.151
  • interface for ISCSI target with DMZ [switch 3 ] : with ip address 172.21.104.151

also : we have ESXI host server called ESXI152  with 

  • interface for management with DMZ [server farm ] : with ip address 172.16.100.152
  • interface for ISCSI target with DMZ [switch 3 ] : with ip address 172.21.104.152

and finally : we have ESXI host server called ESXI153  with 

  • interface for management with DMZ [server farm ] : with ip address 172.16.100.153
  • interface for ISCSI target with DMZ [switch 3 ] : with ip address 172.21.104.153

server SLES123 will act as NFS server  

while each ESXI host [ESXI151,ESXI152,ESXI153] will act as NFS client 4

Configure ESXI as NFS client

Configure ESXI as NFS client include the following Steps

  • create port group for NFS with isolated IP address on three ESXI servers 
  • create NFS datastore on first ESXI151 
  • share created NFS datastore to other ESXI servers ESXI152,ESXI53

step 01 : create port group for NFS

now we will create port group on ESXI151 [ of course same configuration will be done on Both ESXI152,and ESXI153 

we can use any port group available in ESXI for NFS connection : 

BUT 

the point here we need to use different IP address 172.21.104.151 to avoid any network congestion and make subnet secured from any atack 

open server esxi151 > configure > virtual switch > vswitch0 > add port group
select vmkernel
select vswitch0
set port group name and leave servies without any selection > since NFS don't need any services listed
set isolated IP addres
review and finish
make sure port group using two vmnic as active for redundancy

step 02: create NFS DataStore on ESXI151

ESXI currently has 3 DataStore : 2 as local Datastore , and 1 ESXI datastore created in previous articles series 

now we  will create DataStore using NFS connection 

 

currently ESXI151 has only three Datastore
select NFS
select NFS 4.1 as the latest version
set DataStore name , and NFS shared oflder on SLES123, and IP address of SLES123
review and finish
now ESXI151 has 4 Datastore , please note capacity

step 03 : share NFS datastore to other ESXI servers

above we have successfully create NFS datastore on ESXI151 

the last step is to share NFS DataStore Created to other ESXI152 , and ESXI153 

 

select NFS datastore and select mount to additional host
select both ESXI152 , ,ESXI153

Final Shape

after sshare NFS datastore to  Both ESXI152, and ESXI153 so ALL ESXI using shared NFS DataStore 

we will get final shape below 

ESXI151 has 4 Datastore
ESXI152 has 4 Datastore
ESXI153 has 4 Datastore

Conclusion

in three series of articles ” connect ESXI to NFS datastore ” : 

we have discuss: 

  • NFS concepts here 
  •  how to configure Linux server Suse as NFS server , here 
  • and finally how to connect ESXI host to NFS datastore here 

for any question , please don’t hesitate to contact us info@net-pioneers.com 

thank you for joining us 

Share this post
Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on pinterest
Share on print
Share on email

About Me

Our Power in Numbers

 17 

Courses

321

Articles

3,882

Images
and All configurations images are proudly made in Pioneers Lab

Articles By Course

Recent Articles

Subscribe

Contact us

have a challenge ? don’t hesitate to contact us