Update host without Update Manager by using esxcli

This blog post describes how to update respectively install VIBs on hosts without using VMware Update Manager (VUM). Instead of VUM we will use esxcli. esxcli software is a really powerful framework which you can use to keep your hosts up-to-date, install and remove bundles. The commands below are using real repositories and vSphere Installation Bundles (VIBs). These examples should work fine for ESXi 5.x. Do not forget to set maintenance mode before updating a host.

Some words for HP VIBs
These days there are strange behavours when updating HP VIBs. So I could not update the VIB for HP-AMS using the command to update all HP VIBs on the host:

esxcli software vib update -d http://vibsdepot.hp.com/index.xml

I got an [VibDownloadError]-error. Coping the vib locally and running the command to install VIBs, previous copied to local disk

esxcli software vib update --viburl /tmp/hp-vib/hp-ams-550.10.0.1-07.1198610.vib

works fine. After this, esxcli software vib update -d http://vibsdepot.hp.com/index.xml works without any problems.

Advertisements
Update host without Update Manager by using esxcli

4 thoughts on “Update host without Update Manager by using esxcli

  1. Abbers says:

    A big BIG thank you for printing the command I needed to update the necessary VIB from the ESX host’s shell:

    “esxcli software vib update –viburl /tmp/hp-ams-550.10.0.1-07.1198610.vib”

    I had already downloaded the VIB elsewhere, but as I did not have vCenter Update Manager installed on my vCenter server, I had to install the VIB manually but I could not find the necessary command to do so until I found this page.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s