Before updating or upgrading your virtual infrastructure, fire you must check the ESXi version with hardware compatibility and you can check that on VMware Compatibility Guide and VMware Product Interoperability Matrices. Also, you can check ESXi Upgrade Path After selecting the version of ESXi you have some ways to update ESXi hypervisor.
- You can use the ESXi ISO file and upgrade with fresh Install.
- You can use the ESXi Offline Bundle and upgrade through the SSH environment.
- You can use the ESXi Offline Bundle and upgrade through the Lifecycle Manager environment on the vCenter Server.
Upgrade ESXi with ISO file
If you want to use an ISO file for updates, you must download that already an ISO file from VMware or other sites. Go to VMware and select the version do you want and start downloading.
Mount the ISO file on your host and boot the host from the ISO and proceed with install processes until you reach the following step.
If you select Upgrade, your ESXi upgraded and you will still have the previous configuration. But you select Install, the new ESXi will Install and must be from the beginning configured ESXi.
Upgrade ESXi with Offline Bundle
For upgrade or Patch ESXi, first, you need an Offline Bundle file. (That is a .zip file). After downloading that you must Upload that on a one-off ESXi datastore, then on ESXi start SSH service and use a command-line software such as a PUTTY connect to ESXi.
Now, you must use the below command to install the patch on ESXi. In this example our datastore is DS-01.
esxcli software vib install -d /vmfs/volumes/DS-01/VMware-ESXi-7.0U2a-XXX-depot.zip
After finishing the Install and seeing a command prompt, the ESXi is required to reboot. in SSH environment you can use the reboot command to reboot the ESXi.
Now your ESXi is successfully patched.