Search This Blog

Install ESXi Host Update from Command Line

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.

  1. Find the needed update by comparing the build number on the host with this site web or this VMware KB
  2. Download the ESXi update for the VMware patch portal. Normally it’s a ZIP file.
  3. Upload the ZIP file to the local storage on the host
  4. Power off the VMs on the host or migrate to another host
  5. Put the host in the maintenance mode
  6. Enable SSH on the host
  7. SSH to the host
  8. 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
  9. Verify the update is installed, esxcli software vib list
  10. Run reboot
  11. Exit the maintenance mode

No comments:

Post a Comment

Use WinSCP to Transfer Files in vCSA 6.7

This is a quick update on my previous post “ Use WinSCP to Transfer Files in vCSA 6.5 ”. When I try the same SFTP server setting in vCSA 6.7...