[How To] Install / Uninstall VIB files into VMWare ESXi server

VMware ESX 5.5 VIB Installation Instructions

VMware uses a file package called a VIB (VMware Installation Bundle) as the
mechanism for installing or upgrading software packages on an ESX server.

The file may be installed directly on an ESX server from the command line, or
through the VMware Update Manager (VUM).


New Installation

For new installs, you should perform the following steps:

1. Copy the VIB or offline bundle to the ESX server. Technically, you can
place the file anywhere that is accessible to the ESX console shell,
but for these instructions, we’ll assume the location is in ’/tmp’.

Here’s an example of using the Linux ’scp’ utility to copy the file
from a local system to an ESX server located at
scp VMware_bootbank_net-driver.1.1.0-1vmw.0.0.372183.vib root@

2. Issue the following command (full path to the file must be specified):
esxcli software vib install -v {VIBFILE}
esxcli software vib install -d {OFFLINE_BUNDLE}

In the example above, this would be:
esxcli software vib install -v /tmp/VMware_bootbank_net-driver.1.1.0-1vmw.0.0.372183.vib

Note: Depending on the certificate used to sign the VIB, you may need to
change the host acceptance level. To do this, use the following command:
esxcli software acceptance set --level=<level>
Also, depending on the type of VIB being installed, you may have to put
ESX into maintenance mode. This can be done through the VI Client, or by
adding the ’--maintenance-mode’ option to the above esxcli command.

Upgrade Installation

The upgrade process is similar to a new install, except the command that should
be issued is the following:

esxcli software vib update -v {VIBFILE}
esxcli software vib update -d {OFFLINE_BUNDLE}


The VMware Update Manager (VUM) is a plugin for the Virtual Center Server
(vCenter Server). You can use the VUM UI to install a VIB by importing
the associated offline bundle package (a ZIP file that contains the VIB and
metadata). You can then create an add-on baseline and remediate the
host(s) with this baseline. Please see the vCenter Server documentation for
more details on VUM.


Remove VIBs from a Host

You can uninstall third-party VIBs or VMware VIBs from your ESXi host.
VMware partners prepare third-party VIBs to provide management agents or asynchronously released drivers.
Install vCLI or deploy the vSphere Management Assistant (vMA) virtual machine. See Getting Started with vSphere Command-Line Interfaces. For troubleshooting , run esxcli commands in the ESXi Shell.

If the removal requires a reboot, and if the host belongs to a VMware HA cluster, disable HA for the host.

Determine whether the update requires the host to be in maintenance mode or to be rebooted. If necessary, place the host in maintenance mode.
See Determine Whether an Update Requires the Host to Be in Maintenance Mode or to Be Rebooted. See Place a Host in Maintenance Mode.

Install vCLI or deploy the vSphere Management Assistant (vMA) virtual machine. See Getting Started with vSphere Command-Line Interfaces. For troubleshooting, run esxcli commands in the ESXi Shell.
1 Run one of the following commands for each virtual machine to power off all virtual machines running on the ESXi host.
To have the system try to shut down the guest operating system

vmware-cmd --server=server_name path_to_vm stop soft

To force the power off operation

vmware-cmd --server=server_name path_to_vm stop hard

Alternatively, to avoid powering off virtual machines, you can migrate them to another host. See the topic Migrating Virtual Machines in the vCenter Server and Host Management documentation.

2 Place the host in maintenance mode.
vicfg-hostops --server=server_name --operation enter

3 If necessary, shut down or migrate virtual machines.

4 Determine which VIBs are installed on the host.
esxcli --server=server_name software vib list

5 Remove the VIB.
esxcli --server=server_name software vib remove --vibname=name
Specify one or more VIBs to remove in one of the following forms:




For example, the command to remove a VIB specified by vendor, name and version would take this form:
esxcli –-server myEsxiHost software vib remove --vibname=PatchVendor:patch42:version3
The remove command supports several more options. See the vSphere Command-Line Interface Reference.


Attached Files
There are no attachments for this article.
There are no comments for this article. Be the first to post a comment.
Security Code Security Code
Related Articles RSS Feed