This post will show you how to update ESXi from 6 to Update 2. Since i am doing it in my lab, i prefer doing it via ssh rather than update manager, i dont want to spin up a VM exclusively for Update Manager for the couple of hosts i have in my lab.
I am assuming that you already downloaded the right patch and uploaded the zip/vib file to the datastore ESXi host can access. Also enable SSH access on host.
Put the host in maintenance mode. SSH to the ESXi host as root and use vmware -v to determine the current version.
My current build is 3029758 which according to this is ESXi 6 Update 1
cd to the location where you uploaded the zip file and verify the file is present. Mine is as below.
Now run the update command and expect an error related to VSAN, dont panic that is expected.
#esxcli software vib update -d "/vmfs/volumes/iSCSI2/Patches/update-from-esxi6.0-6.0_update02.zip" VIB VMware_bootbank_esx-base_6.0.0-2.37.3825889 requires vsan >= 6.0.0-2.37, but the requirement cannot be satisfied within the ImageProfile.
This is because of the lock step introduced from update 6.2, esx-base is tightly coupled with vsan and vsanhealth vibs. Since we do not have existing vsan vib’s to update, it throws dependency error.
- This is not an issue when using VUM to update hosts.
- Updating to prior version of ESXi are also not effected by this, this is specific to Update 2 and later versions.
To resolve this, use the below command
#esxcli software vib install -n esx-base -n vsan -n vsanhealth -d /vmfs/volumes/iSCSI2/Patches/update-from-esxi6.0-6.0_update02.zip
Once done, reboot the machine and verify the version using vmware -v.
Exit out of maintenance mode and disable SSH.
Hope this was informative. Thanks!