Rexxer

Some tips for me and other

ESXi update

Place the host you are about to upgrade into Maintenance Mode.

Type the following command to open the firewall for outgoing HTTP requests:

esxcli network firewall ruleset set -e true -r httpClient

Get the list for upgrade:

esxcli software sources profile list --depot=https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

Type the following command to upgrade e.g.:

esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.7.0-20180804001-standard

or

esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.7.0-20221001001s-standard

if error “no space left” -> turn on SWAP on a Datastore and repeat or try -no-tools package.

then

esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.7.0-20221001001s-no-tools

esxcli software vib install -v https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vib20/tools-light/VMware_locker_tools-light_12.0.6.20104755-20491463.vib

to install the tools.

After the update has finished disable the HTTP firewall rule by typing:

esxcli network firewall ruleset set -e false -r httpClient

And finally, reboot the ESXi host to complete the upgrade.

reboot

Comments are currently closed.