If you’ve followed the guide this far, you’ve deployed 3 esxi hosts nested on your baremetal esxi install. This guide takes it a step further by deploying vcenter and creating a vSAN cluster on the esxi hosts.
Login to your account at https://my.vmware.com/ and go to Products and Accounts ->Products -> All Products
Mount the ISO and use the install wizard to configure vCenter 7
I’m using windows 10, and it was relatively easy to mount the ISO. In Windows explorer, I just navigated over to the downloads directly where the ISO was, and double clicked it. Open the directory vcsa-ui-installer -> win32 -> installer.exe.
Stage 1
Stage 2
vSAN Initial Setup
Step 1: Cluster Basics
Step 2: Add Hosts
Step 3: Configure Hosts
Licensing vCenter
Licensing the ESXi hosts in vSAN cluster
Set vSAN as default storage policy
18 thoughts on “Home Lab – Deploy vCenter 7 and vSAN on nested ESXi”
thank you for this, its really great. is Production VLAN 5 included in the distribution switch? I followed your instruction and when sniping off new VM’s i get .4 IP address and not .5.
If you’ve configured vlan5 in pfsense you should be able to get DHCP ip addresses. I left it optional since most home labs don’t really need 5 /24s. I ended up configuring it initially in my lab, then removing it later on.
very great tutorial, thank you again.
i think your tutorial is missing a very important part on how to configure networking once all 3 esxi hosts are in a cluster an are managed from vSphere. As it is now if you go to networking there is only one VM network and DSwitch that was configured during vSAN configuration. Suppose i want to set up a Server and have it grab IP from .5 DHCP how can i explicitly tell it to do that? As well as if i want to set up a Workstation that i want to have .4 DHCP address. Right now anything i spin Server or Workstation the only option thats available is VM Network and therefore there is no real control of which ip newly created vm will get. All my port groups that we have created earlier and associated with vSwith1 are on vlan 0, if it makes any difference.
Here’s what I did to improve Matt’s lab build guide:
1. On my physical esxi host, I created a separate vswitch for every “vlan” and then created the “vlan” port group inside each vswitch. For example: port group vlan10-management is assigned to vswitch vlan10-management, port group vlan20-vmotion is assigned to vswitch vlan20-vmotion. This gives you actual logical separation while still not using vlan tagging. If all the port groups are in one vswitch with no vlan tagging, then it’s just one big broadcast domain; hence DHCP being wonky.
2. After setting up vCenter completely, I added a second DSwitch named DSwitch-VM Network, then added all three hosts and added vmnic 6-9 as uplinks 1-4 to provide access to the vm network and pod network I created on my physical esxi host. FYI, there is no need to add vmks (virtual adaptors).
I hope this helps.
Forgot to mention: Create two Distributed port groups within you second Distributed switch for you VMs and Pod. Mine are DSwitch-VM Network-VMs and DSwitch-VM Network-Pod.
Completely agree and that is something I ran into. Ultimately I ended up removing all the extra vlans/portgroups and just used VM Network on a /24 network. It was plenty of IP space for me.
You will need to configure a reservation on your DHCP server. Most DHCP servers provide this functionality. You’ll need the MAC address off the NIC card of your host in order to do so.
ughhh, this is so frustrating. i am still not able to achieve what i want even with Rick suggestions. i know i am missing something simple, but i just can’t figure out what ;(
i am even willing to do a teamviewer session, if some one wants to help.
Hey Eugene, sure I can meetup and help you. Are you free tomorrow?
Hey Matt, Once again this is an awesome collection of documents and it seems that lots of us are finding it super helpful. I have a very humble suggestion… if you moved the docs to github, we could all contribute to the minor modifications needed (mostly around networking).
Totally up to you. But more than anything…. Thanks again!! this is all really helpful to me.
Mike
Ahh yes github is probably the BEST place for these, but then who would goto my blog lol
🙂
“This host does not support intel VT-x ”
error while installing vcenter on nested esxi on VMware Workstation
Hi Matt, thanks for great tutorial!
While configuring my 3 nested esxi hosts as vSAN cluster, I’m keep getting the following error and failing to create VMs:
‘Cannot complete file creation operation. There are currently 1 usable fault domains. The operation requires 2 more usable fault domains. Failed to create object’
Since this is nested environment and not using physical racks or anything, shouldn’t all those standalone esxi hosts be a fault domain by itself?
I’m not sure I understand that one Jane. Are you creating the 3 nested esxi hosts in your lab? It should be no problem to create those VMs. And one you have vcenter installed on one of the nested ESXis, you can add the other 2 to the vcenter and form the full vSAN cluster. Requires minimum of 3 esxis.
Oh, sorry that I made it unclear. I already created 3 node vSAN cluster using nested ESXi VMs and registered them as a host in nested vCenter(total 4 nested VMs: 3 ESXi and 1 vCenter), which it was not possible to create new VMs on nested ESXi host. I have now resolved the fault domain error I mentioned – it was because I used VLANs and did not check the VLAN checkbox in Storage traffic configuration so vmks were not able to ping each other…
so for those who are using VLAN trunk ports in physical env’s vDS like me, please be sure to set VLANs as well as correct static IP assignment!
Ah thank you for the clarification Jane! Best of luck with the lab.
Just about got there in the end with a bit of fixing (of my own mistakes).
Still a little fiddling to do as my 1st (v)esxi host seems to think I have an issue with networking….
Thanks for the guide!
thank you for this, its really great. is Production VLAN 5 included in the distribution switch? I followed your instruction and when sniping off new VM’s i get .4 IP address and not .5.
If you’ve configured vlan5 in pfsense you should be able to get DHCP ip addresses. I left it optional since most home labs don’t really need 5 /24s. I ended up configuring it initially in my lab, then removing it later on.
very great tutorial, thank you again.
i think your tutorial is missing a very important part on how to configure networking once all 3 esxi hosts are in a cluster an are managed from vSphere. As it is now if you go to networking there is only one VM network and DSwitch that was configured during vSAN configuration. Suppose i want to set up a Server and have it grab IP from .5 DHCP how can i explicitly tell it to do that? As well as if i want to set up a Workstation that i want to have .4 DHCP address. Right now anything i spin Server or Workstation the only option thats available is VM Network and therefore there is no real control of which ip newly created vm will get. All my port groups that we have created earlier and associated with vSwith1 are on vlan 0, if it makes any difference.
Here’s what I did to improve Matt’s lab build guide:
1. On my physical esxi host, I created a separate vswitch for every “vlan” and then created the “vlan” port group inside each vswitch. For example: port group vlan10-management is assigned to vswitch vlan10-management, port group vlan20-vmotion is assigned to vswitch vlan20-vmotion. This gives you actual logical separation while still not using vlan tagging. If all the port groups are in one vswitch with no vlan tagging, then it’s just one big broadcast domain; hence DHCP being wonky.
2. After setting up vCenter completely, I added a second DSwitch named DSwitch-VM Network, then added all three hosts and added vmnic 6-9 as uplinks 1-4 to provide access to the vm network and pod network I created on my physical esxi host. FYI, there is no need to add vmks (virtual adaptors).
I hope this helps.
Forgot to mention: Create two Distributed port groups within you second Distributed switch for you VMs and Pod. Mine are DSwitch-VM Network-VMs and DSwitch-VM Network-Pod.
Completely agree and that is something I ran into. Ultimately I ended up removing all the extra vlans/portgroups and just used VM Network on a /24 network. It was plenty of IP space for me.
You will need to configure a reservation on your DHCP server. Most DHCP servers provide this functionality. You’ll need the MAC address off the NIC card of your host in order to do so.
ughhh, this is so frustrating. i am still not able to achieve what i want even with Rick suggestions. i know i am missing something simple, but i just can’t figure out what ;(
i am even willing to do a teamviewer session, if some one wants to help.
Hey Eugene, sure I can meetup and help you. Are you free tomorrow?
Hey Matt, Once again this is an awesome collection of documents and it seems that lots of us are finding it super helpful. I have a very humble suggestion… if you moved the docs to github, we could all contribute to the minor modifications needed (mostly around networking).
Totally up to you. But more than anything…. Thanks again!! this is all really helpful to me.
Mike
Ahh yes github is probably the BEST place for these, but then who would goto my blog lol
🙂
“This host does not support intel VT-x ”
error while installing vcenter on nested esxi on VMware Workstation
Hi Matt, thanks for great tutorial!
While configuring my 3 nested esxi hosts as vSAN cluster, I’m keep getting the following error and failing to create VMs:
‘Cannot complete file creation operation. There are currently 1 usable fault domains. The operation requires 2 more usable fault domains. Failed to create object’
Since this is nested environment and not using physical racks or anything, shouldn’t all those standalone esxi hosts be a fault domain by itself?
I’m not sure I understand that one Jane. Are you creating the 3 nested esxi hosts in your lab? It should be no problem to create those VMs. And one you have vcenter installed on one of the nested ESXis, you can add the other 2 to the vcenter and form the full vSAN cluster. Requires minimum of 3 esxis.
Oh, sorry that I made it unclear. I already created 3 node vSAN cluster using nested ESXi VMs and registered them as a host in nested vCenter(total 4 nested VMs: 3 ESXi and 1 vCenter), which it was not possible to create new VMs on nested ESXi host. I have now resolved the fault domain error I mentioned – it was because I used VLANs and did not check the VLAN checkbox in Storage traffic configuration so vmks were not able to ping each other…
so for those who are using VLAN trunk ports in physical env’s vDS like me, please be sure to set VLANs as well as correct static IP assignment!
Ah thank you for the clarification Jane! Best of luck with the lab.
Just about got there in the end with a bit of fixing (of my own mistakes).
Still a little fiddling to do as my 1st (v)esxi host seems to think I have an issue with networking….
Thanks for the guide!