Patching\Upgrading ESXi 8 to ESXi 9 via esxcli

With the latest release of ESXi 9 i wanted to get my lab up to date. I don’t have enough resources in my lab to migrate the vCenter to another ESXi server so i want to perform the upgrade via cli. More details about the release can found here

The first step was to open the firewall for outgoing traffic for http

esxcli network firewall ruleset set -e true -r httpClient

Second step was to list the updates by executing

esxcli software sources profile list -d https://dl.broadcom.com/<Download Token>/PROD/COMP/ESX_HOST/main/vmw-depot-index.xml | grep -i ESXi-9

This returned a list of updates that were available:

I reviewed the Broadcom website here to double check the version (at the time of writing this article the kb has not yet been updated to reflect the latest 9 release information). Based on the information I found the ESXi-9.0.0-24755229-standard is the latest release. I ended up finding it under the VCF 9 download portal here.

The next step was to run the update by executing

esxcli software profile update -p ESXi-9.0.0-24755229-standard -d https://dl.broadcom.com/<Download Token>/PROD/COMP/ESX_HOST/main/vmw-depot-index.xml

If you run in to the below error follow my other post here:

Once the upgrade was complete i was presented with this output:

The installation reports that a reboot is required so I went ahead and rebooted the server

After the server was back up, checking the ESXi, the server reports build 24755229

Don`t forget to add the firewall rule back in

esxcli network firewall ruleset set -e false -r httpClient

Leave a Reply

Your email address will not be published. Required fields are marked *

Proudly powered by Cos
RSS
EMAIL