Note to self: updating my standalone ESXi host

Update April 15th 2020: If you are doing a full upgrade, make sure you specify the proper profile name using:

esxcli software profile update -d </path/to/> -p <profile name>

You can list the profiles included in the depot with:

esxcli software sources profile list -d </path/to/>

I’m running a fully nested homelab on a single SuperMicro server. In order to update and patch it, I need to follow an offline procedure using the command line. Although this is a really straightforward procedure, I always need to resort to Google twice per year or so to find the correct commands. I haven’t dealt hands-on with patch management of vSphere in customer environments in ages :-).

So, this short blogpost is nothing more than a note to myself. If it happens to help somebody else … perfect!

Place the host in Maintenance Mode

[[email protected]:~] esxcli system maintenanceMode set -e true
[[email protected]:~] esxcli system maintenanceMode get

Download the patch bundle

Patches are cumulative so grab the latest patch from

Upload the offline patch bundle to the host using the Datastore Browser

Install the patch using ESXCLI

[[email protected]:~] esxcli software vib install -d /vmfs/volumes/ SSD960/Patches/

[[email protected]:/vmfs/volumes/5a8c8a49-2cf99aca-545e-ac1f6b1de514/Patches] esxcli software vib install -d /vmfs/volumes/5a8c8a49-2cf99aca-545e-ac1f6b1de514/Patches/

Installation Result

   Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.

   Reboot Required: true

   VIBs Installed: VMW_bootbank_bnxtnet_20.6.101.7-24vmw.670.3.73.14320388, VMW_bootbank_brcmfcoe_11.4.1078.25-14vmw.670.3.73.14320388, VMW_bootbank_ [...]

Reboot the host

[[email protected]:~] Reboot

Take the host out of Maintenance Mode

[[email protected]:~] esxcli system maintenanceMode set -e false
[[email protected]:~] esxcli system maintenanceMode get

Verify the version

[[email protected]:~] vmware -vl
VMware ESXi 6.7.0 build-15160138
VMware ESXi 6.7.0 Update 3

Leave a Reply