The easiest way to install ESXi host update is via Update Manager. However, if you don’t have Update Manager installed in the environment (e.g. the lab), or Update Manager does not have the access to the Internet, installing the update via the command line is quiet handy.
Follow the instruction on this VMware KB. The following is a short summary.
- Find the needed update by comparing the build number on the host with this site web or this VMware KB
- Download the ESXi update for the VMware patch portal. Normally it’s a ZIP file.
- Upload the ZIP file to the local storage on the host
- Power off the VMs on the host or migrate to another host
- Put the host in the maintenance mode
- Enable SSH on the host
- SSH to the host
- Run esxcli software vib update -d /vmfs/volumes/DataStore/DirectoryName/PatchName.zip
if it’s a VIB file, run esxcli software vib update -v /vmfs/volumes/DataStore/DirectoryName/PatchName.vib - Verify the update is installed, esxcli software vib list
- Run reboot
- Exit the maintenance mode
No comments:
Post a Comment