Run the following command replacing with your datastore you verified earlier esxcli software profile update -depot=/vmfs/volumes//VMware-ESXi-6.7.0-17167734-HPE-Gen9plus-670.U3.10.6.3.8-Jan2021-depot.zip -profile=HPE-ESXi-6.7.0-Update3-Gen9plus-670.U3.10.6.3.8Īllow a few minutes for the update to install, once it has completed, scroll up in your SSH session to ensure it completed successfully and that it needs a rebootĭisable HTTP Rule (If you enabled it earlier) esxcli network firewall ruleset set -e false -r httpClientĪfter host has come back up check the following,
Install chosen profile (Online) esxcli software profile update -d -p ESXi-6.7.0-20201103001-standard Install chosen profile (Offline) Show the profile list/name by running esxcli software sources profile list -depot=/vmfs/volumes//VMware-ESXi-6.7.0-17167734-HPE-Gen9plus-670.U3.10.6.3.8-Jan2021-depot.zip You should be able to verify you see the zip file using ls /vmfs/volumes// Use grep to filter the list for your version, esxcli software sources profile list -depot= | grep -i ESXi-6.7 List profiles - Offline (For example if you wanted to update a custom image)ĭownload the custom image zip file from the vendor, verify the checksum and add to the hosts local datastore To check the image profile that you have installed run the following command, esxcli software profile getĪllow HTTP (If blocked) - Only required for Online upgrade esxcli network firewall ruleset set -e true -r httpClient List profiles - Online esxcli software sources profile list -depot= If you use DRS, you may want to turn it off on the cluster or set it to manual/partial to control the movement of VM's when the host comes out of maintenance mode
Review the correct version VMware ESXi Upgrade documentation to ensure any pre-requisites are identified/actioned, that the system hardware complies with ESXi requirements of the new version, ensure any SAN is disconnected to name a few.ĭrain all the VM's off the host by putting it into maintenance mode. Online and Offline methods are both shown.
This article focuses on how to upgrade an HP ProLiant Gen10 server from ESXi v6.5 to v6.7 using ESXCLI but could be used for any supported upgrade.