-
04 Building Webster’s Lab V1 – Initial VMware ESXi Host Configuration
Updated 12-Dec-2019
Now that the ESXi 6.7 host installation is complete, it is time for the initial host configuration. In this article, you complete the following steps:
- Give the Host a Static IPv4 address
- Configure DNS
- Give the Host a unique hostname
- Enable SSH
- Enable VMware vSphere Storage APIs Array Integration (VAAI) support for NFS on the Synology NAS
When the ESXi 6.7 installation completed and the host rebooted, the host was at the screen shown in Figure 1.
Using the Host’s IPMI, press F2, as shown in Figure 2.
Enter the Password for root and press Enter, as shown in Figure 3.
Use the down arrow key, select Configure Management Network, and press Enter, as shown in Figure 4.
Use the down arrow key, select IPv4 Configuration, and press Enter, as shown in Figure 5.
Use the down arrow key, highlight Set static IPv4 address and net configuration and press the spacebar as shown in Figure 6.
Press the down arrow, enter the appropriate IPv4 information, and press Enter, as shown in Figure 7.
Press down arrow, highlight DNS Configuration, and press Enter, as shown in Figure 8.
Enter your Primary and Alternate DNS Servers, type in a Hostname, and press Enter, as shown in Figure 9. Currently, there is no Active Directory domain, domain controller of DNS. I am using my router’s DNS.
Note: The ESXi installer gives each host the same hostname of “localhost”. In Microsoft Windows, localhost has a specific use. Each ESXi host requires a unique Hostname (as does each Microsoft Windows computer account in Active Directory).
Press Esc, then press Y to apply the changes and restart the management network, as shown in Figure 10.
Use the down arrow key, select Troubleshooting Options, and press Enter, as shown in Figure 11.
To install the VAAI Plug-in for Synology NFS support, SSH is required to use PuTTY (or your preferred SSH client) to install the necessary drivers and plug-ins.
Note: ESXi 6.7 does not include the VAAI Plug-in for the Synology NAS.
Use the down arrow key, highlight Enable SSH, and press Enter, as shown in Figures 12 and 13.
Press ESC twice to return to the main ESXi host screen, as shown back in Figure 1.
Now, you need to install the VAAI Plug-in for NFS. Go to https://global.download.synology.com/download/Tools/NFSVAAIPlugin/1.2-1008/VMware_ESXi/synology-nfs-vaai-plugin-1.2-1008.vib and download the VIB NFS Plug-in for VMware VAAI for your Synology NAS model.
Note: If the download link has changed, go to https://www.synology.com and search for “nfs vaai plugin”. A user account on synology.com is not required to download the VIB file.
Note: VIB stands for vSphere Installation Bundle. At a conceptual level, a VIB is somewhat similar to a ZIP archive, in that it is a collection of files packaged into a single archive to facilitate distribution.
Using your favorite secure upload utility, I used WinSCP, upload the VAAI plug-in to the /tmp directory on the ESXi host.
First, connect to the ESXi host, as shown in Figure 14.
If this is the first time connecting to the host, a key-exchange is required. If you want to add the server’s host key to the secure upload utility’s cache, click Yes as shown in Figure 15.
You can connect without added the server’s host key to the secure upload utility’s cache. Click No if you do not wish to save the server’s host key in the cache.
In WinSCP, there are three ways to upload the VIB file to the ESXi host.
- Drag and Drop the VIB file from the left pane to the right pane, as shown in Figure 18.
- Select the VIB file in the left pane, press F5, and click OK, as shown in Figure 16.
- Select the VIB file in the left pane, right-click, select Upload, as shown in Figure 17, and click OK, as shown in Figure 16.
Using your preferred upload method, copy the VIB file to the /tmp directory on the ESXi host, as shown in Figure 18.
Exit your favorite secure upload utility.
Note: The following two steps (the final two steps) are part of the ESXi host configuration. I just wanted to sneak them in here, so I could get all the Synology NFS information in one article.
Using your favorite SSH client, I used PuTTY, connect to the ESXi host, as shown in Figure 19.
Note: I only tested PuTTY. I did not try using the SSH client from Windows 10 1909.
If this is the first time connecting to the host, a key-exchange is required. If you want to add the host’s key to the SSH client’s cache, click Yes, as shown in Figure 20.
You can connect without adding the host’s key to the SSH client’s cache. Click No if you do not wish to save the host’s key in the cache.
Log in to the host using your configured credentials. If you just installed ESXi, then log in as root and the password used during the ESXi install, as shown in Figure 21.
Run the following command, as shown in Figure 22.
esxcli software vib install -v /tmp/synology-nfs-vaai-plugin-1.2-1008.vib –no-sig-check
Reboot the ESXi host by typing reboot and pressing Enter, as shown in Figure 23.
Once the host is up, use your SSH client to verify the VAAI plug-in installation. Run the following command, as shown in Figure 24.
esxcli software vib list | grep nfs
Now that the host has its initial configuration complete, the rest of the host configuration uses the HTML5 client.
Up next: VMware ESXi Host Configuration.
September 2, 2019
Blog, VMware