How To Update ESXi Without Update Manager

How To Update ESXi Without Update Manager

I hope you are already aware that we use VMware Update Manager to update and patch the ESXi hosts, let’s see how to update ESXi without Update Manager. I have published a post previously about performing a patch or upgrade to obtain a specific build number, it might be really useful for this post and I’d encourage you to read my previous post.

First of all, we need to decide the build version or the patch version to be installed and download the offline bundles from the patch repository.

Update ESXi Without Update Manager : Download patches

Create a directory in a datastore and upload the downloaded file

Update ESXi Without Update Manager : Upload patches

Let’s see what are the installed software vib lists with below command, I had most of the later releases of vSphere 6.5 versions. This is just for the verification prior to the upgrade

esxcli software vib list
Update ESXi Without Update Manager : Check versions

Install the software vib using below command

esxcli software vib install -d [PATH_TO_THE_VIB_ZIP]
Update ESXi Without Update Manager : Install patches

Reboot the ESXi host with “reboot” command

Update ESXi Without Update Manager : reboot

Once it rebooted just check the build version of the host

Update ESXi Without Update Manager : installed build version

You can also verify the installed vibs with the same list command latest installation files have been installed

Update ESXi Without Update Manager : verify

Note: You can also use the below update command to update the same files but complete previous chain of patches and versions should be installed other wise update command will fail. But we used “install” command in the above step will over ride the base files and will complete the installation.

esxcli software vib update -d [PATH_TO_THE_VIB_ZIP]

Here is the sample error for the update command

Update ESXi Without Update Manager : Update errorUpdate ESXi Without Update Manager : Update error

 

Click to rate this post!
[Total: 5 Average: 5]

6 responses

  1. shanlon Avatar
    shanlon

    fyi, the commands should be “vib” instead of “via” mentioned a couple times in your guide.

    1. Aruna Lakmal Avatar

      Hi Shanloon

      Thank you very much bringing this to my attention. Auto correct in my Mac made these changes!

  2. David M. Avatar
    David M.

    Very useful post, thank you. I needed to get a new host to a consistent build level before adding to an existing production cluster, and this was the best way to do it.

    1. Aruna Lakmal Avatar

      Hi David

      I’m pretty much impressed that, this was useful for you to find what you were looking for. Thank you very much for your comment!

  3. Marc Scammell Avatar
    Marc Scammell

    For anyone finding this now, there command failed for me. I found the correct command to be:
    esxcli software vib update –depot=/vmfs/volumes/datastore1/*.zip

    As per vmware forum here: https://communities.vmware.com/t5/vSphere-Upgrade-Install/Error-when-applying-an-update-patch-Standalone-ESXi/td-p/1688236

    1. Aruna Lakmal Avatar

      Thanks for posting this.

Leave a Reply

Your email address will not be published. Required fields are marked *