Now that we have finished building the template for our ESXi hosts used in our home lab setup, it’s time to start cloning. The process is not all that different from cloning the Windows virtual machine we did earlier, so a quick overview:
- In VMware Workstation, right click on your ESXi template virtual machine (if you've been following along it should be vxprt-esxi-tmp) >> Manage >> Clone
- Follow through the wizard, selecting Clone from "An existing snapshot..." and "Create a linked clone"
- Name your VM accordingly and place it in the desired folder/drive. I will name my ESXi virtual machines vxprt-esxi## so my first will be vxprt-esxi01
- Once the clone finishes, close the wizard, move the VM into your desired folder (if you are using folders) and power it on
After a few moments, our ESXi virtual machine will be powered on. Once it is clone, my preference is to give my ESXi hosts static IP addresses. Before doing that, log into your Domain Controller, open DNS manager and create A records for each of the ESXi virtual machines you plan to create by right clicking on the forward lookup zone for your domain and selecting New Host (A or AAA)… My IP scheme will be:
192.168.6.2 - Default gateway 192.168.6.5 - Domain Controller 192.168.6.6 - vCenter / SSO 192.168.6.7 - SQL 192.168.6.8 - 10 - Open 192.168.6.11 - vxprt-esxi01 (last number matching the last number of the IP address) 192.168.6.12 - vxprt-esxi02 … and so on… 192.168.6.19 - vxprt-esxi09 (though I will likely not go this high)
With A records taken care of we now need to log into the DCUI and set the IP address.
- Click into the console of the ESXi virtual machine and press F2
- Log in as root
- Arrow down to Configure Management Network and press Enter
- Arrow down to IP Configuration and press Enter
- Arrow down to select the Set static IP option and press the space bar to select it
- Arrow down and set the IP Address, Subnet Mask and Default Gateway fields then press Enter
- Arrow down to DSN configuration and press Enter
- Set the primary DNS server to the IP address of your Domain Controller, in my case 192.168.6.5, change the hostname to vxprt-esxi01.vxprt.local and press Enter
- Press the ESC key, then press Y to confirm the changes and restart the management network
- Arrow down to Test Management Network and press Enter and press Enter again
- All 3 tests should pass successfully, if not review the previous steps to ensure you have the correct gateway, DNS IP and host name
Repeat the process for at least 1 more ESXi hosts so we can form a cluster once you have installed vCenter. You can press ESC to return to the main DCUI screen. You should now be able to navigate with a web browser to 192.168.6.11 and download the vSphere Client.