User Tools

Site Tools


upgrade_esxi_hosts

VmWare ESXi Update

  • Turn on Maintenance Mode - Or you can just be sure to manually shutdown all the VMs gracefully.
  • OPTIONAL Reboot (Pro Tip). Consider rebooting your ESXi server.
  • Open an SSH session (eg. PuTTY) to your ESXi server.
 esxcli network firewall ruleset set -e true -r httpClient
 esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep -i ESXi-6.7
 esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.7.0-8169922-standard --dry-run
 esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.7.0-8169922-standard
 esxcli network firewall ruleset set -e false -r httpClient
 reboot

If not working try to install the ZIP file local. (check the zip-file for the current filename in profiles). Connect to the VMWare Deport on https://my.vmware.com/group/vmware/patch#search

Than upgrade via the console with:

esxcli software profile update -p ESXi-6.7.0-20201103001-standard -d /vmfs/volumes/datastore0/Install/ESXi670-202011001.zip 

Reboot

If you get messages like

[DependencyError] VIB VMware_locker_tools-light_11.0.1.14773994-15160134 requires esx-version >= 6.6.0, but the requirement cannot be satisfied within the ImageProfile.

De-install the VIB with the following instruction:

esxcli software vib list | grep -i tools

It will list every vib installed with TOOLS. In this case it will be the vile tools-light

Remove the file with:

esxcli software vib remove -n tools-light

If successfully de-installed you may now try to repeat your update.

You also can manually upgrade tools-light by doeing

esxcli software vib install -n tools-light -d /vmfs/volumes/Datastore/install/ESXi….your package.


BACK

upgrade_esxi_hosts.txt · Last modified: 2020/11/08 17:18 by chris