How to install HP Offline bundles on ESXi

I get often questions on how to install the HP Offline Bundles on ESXi. Find here some more info:

via vSphere Update Manager:

On the Baselines and Groups tab, click Create above the Baselines pane. Type a name, and optionally, a description of the baseline. Under Baseline Type, select Host Patch, and click Next. Select Fixed for the type of baseline and click Next. Select individual patches to include and click the down arrow to add them to the Fixed Patches to Add list. (Optional) Click Advanced to find specific patches to include in the baseline. Click Next. On the Ready to Complete page, click Finish.

The new baseline is displayed in the Baselines pane of the Baselines and Groups tab.

========

Installing Offline Bundles on an ESXi 5.0 Host Using vSphereCLI 5.0 esxcli Utility:

 

You can use the esxcli utility in conjunction with offline bundles or with a depot. This topic describes
the procedure using offline bundles.

 

Prerequisites
Before you can update or patch an ESXi 5.0 host from the command line, you must have access to a machine on which you can run the VMware vSphere Command-Line Interface 5.0 (vSphereCLI).

You can install the vSphereCLI on your Microsoft Windows or Linux system. For information about importing or installing the vSphereCLI 5.0, see the VMware vSphere Command-Line Interface Guides at the following urls:

http://pubs.vmware.com/vsphere-50/topic/com.vmware.vcli.getstart.doc_50/cli_about.html
http://pubs.vmware.com/vsphere-50/topic/com.vmware.vcli.ref.doc_50/vcli-right.html
http://pubs.vmware.com/vsphere-50/topic/com.vmware.vcli.examples.doc_50/cli_about.html.

 

Procedure
1. Power off any virtual machines that are running on the host and place the host into maintenance mode.

2. Transfer the offline bundle onto the ESXi host local path, or extract it onto an online depot.

3. Install the bundle on the ESXi host.

Install remotely from client, with offline bundle contents on a online depot:

esxcli -s <server> -u root -p mypassword software vib install -d <depotURL/bundle-index.xml>
Install remotely from client, with offline bundle on ESXi host:

esxcli -s <server> -u root -p mypassword software vib install -d <ESXi local path><bundle.zip>
Install from ESXi host, with offline bundle on ESXi host:

esxcli software vib install -d <ESXi local path><bundle.zip>
4. After the bundle is installed, reboot the ESXi host for the updates to take effect.

5. (Optional) Verify that the vibs on the bundle are installed on your ESXi host.

esxcli -s <server> -u root -p mypassword software vib list

6. (Optional) Remove individual vibs. <vib name> can be identified by listing the vibs as shown in #5.

esxcli -s <server> -u root -p mypassword software vib remove -n <vib name>

Comments are closed.