Configuration of a nested vSphere 6.0 ESXi Host
Configuring the ESXi
The ESXi is installed. Next steps are to configure the ESXi and add it to the vCenter.
When booting the host it will try to fetch an IP-address using DHCP. Since I don’t want to use (and wouldn’t recommend) DHCP for hypervisors I'll reconfigure the host. It's also possible to setup a network-redundancy within this configuration.
To enter the DCUI just access the console and hit F2.
The console will ask for the root password to grant you access.
After entering your password the configuration menu will show up. This menu contains all you need to initially set up several configurations (mostly network, but also keyboard configuration), test the network, do some troubleshooting, view the systems logs and reset the system.
First things first, so lets head to the network configuration using Configure Management Network.
Since there is only one network adapter and the vlan is already set only level “higher”, I only have to configure the IPv4 Configuration and DNS Configuration.
As you can see it already fetched some IP configuration from the DHCP. But that’s not what I want to use. So changing it to Set static IPv4 address and network configuration by selecting it with the arrow down and mark it and hit space for the configuration I will use my already reserved IPv4 Address 192.168.99.154 with Subnet Mask 255.255.255.0 and Default Gateway 192.168.99.1. Saving the settings using Enter.
Next step is the DNS Configuration.
By default it’s already changed to Use the following DNS server addresses and hostname because of turning of DHCP in the IPv4 configuration.
Checking the existing Primary DNS Server and Alternate DNS Server which the ESXi host set automatically from the DHCP lease. And setting the Hostname to the correct Server name esxqa6-1 (underscore in Hostnames are not accepted). Saving using Enter again.
If you are having a domain in you infrastructure you might add it to the Custom DNS Suffixes. Doing so it is possible to use short, unqualified names.
When the network configuration is complete hit the Esc-Key to exit the Configure Management Network dialog.
The configuration will ask if you really want to Apply changes and restart management network? – answering Y for yes saves the changes and restarts the management network. Totally fine in this case as nothing is running on the hosts and it isn’t connected to a monitoring or management system.
Finally testing the network using the Test Management Network.
By default it will try to ping the gateway, the primary DNS, the alternative DNS and it will try to resolve the hostname of itself.
All test passed except resolving the hostname (which is totally fine because it’s not added to the DNS by now).
At this point the configuration is complete. Now logging out using Esc and adding the host to the vCenter is next.