ESXi 5.0 – how to install HP bundle via vCLI


As I’ve written on this post, the HP ESXi 5.0 custom image has some issues: given that I think that it’s better to use the VMware iso image. In the VMware iso image the HP CIM provider and the NMI drivers are missing and must be installed. The installation of these modules is easy and is a good way to get used to the new vCLI 5.0 commands.
Note: I’m using the vSphere CLI 5.0 from a Windows machine, if you are using the CLI command from linux or from vMA the esxcli.exe command becomes esxcli. Thanks to @Mandivs for let me clarify this.
Let’s start:
- Download from HP website the bundles: HP ESXi Offline Bundle for VMware ESXi 5.0 and HP NMI Sourcing Driver for VMware ESXi 5.0
- Let’s place the host in maintenance mode:
vicfg-hostops.pl –server –operation enter
WARNING: vicfg-hostops does not work with DRS. The default behaviour is suspend Virtual Machines - Check that the host is in maintenance mode:
vicfg-hostops.pl –server <server> –operation info - And now let’s install the HP bundles:
esxcli.exe -s -u -p software vib install -d “[datastore1]hp-esxi5.0uX-bundle-1.0-20.zip”
esxcli.exe -s -u -p software vib install -d “[datastore1]hp-nmi-esxi5.0-bundle-2.0-11.zip” - Reboot host:
vicfg-hostops.pl –server <server> –operation reboot - When the host has fully rebooted, let’s check the installed modules:
esxcli.exe -s -u -p software vib list - And now, exit maintenance mode:
vicfg-hostops.pl –server <server> –operation exit
And here it is: the Hp bundles are installed.


Hi,
Great blog, only problem I have is that after installing and rebooting the ESXi 5.0 host, how do I tell if WBEM is running?
Should I start CIM components in the security profile?
In HP Insight manager, it comes up with a question mark…
Hi,
after rebooting the ESXi host they should be running and reacheable. If the CIM components are stopped in the security profile, start them.
HTH
I discovered that there is the Vsphere PowerCLI and the Vsphere CLI. Instructions above work for the CLI, not for the powerCLI!
Also, my install failed first time because the acceptance level is partner, which is not compliant wit the ImageProfile acceptance level certified.
I fixed with the CLI command:
esxcli -s software acceptance set –level=PartnerSupported
After that everything ran as advertised!
I see the editor is a bit unforgiving!
after the -s should be the serverName – I had listed between carrots, and the editor removed.
the dash-level argument has two dashes:
dash-dash-level=PartnerSupported
the editor removed the extra dash.
esxcli -s serverName software acceptance set – - level=PartnerSupported
Hi Cowen,
happy that my post was useful and thanks for the puntualization: this post is a little old now and it needs an update :).
Yes, there are two “flavor” of CLI: vSphere CLI and vSphere PowerCLI. The first one is available in ESXi console mode, on Linux and on Windows; the second one is based on Powershell and is avaliable on Windows only.
And… yes, the CLI syntax is unforgiving :)
gguglie
Hi, thanks for your post.
But when installed and rebooting I always get :
Error loading /s.v00
Fatal Error: (inconsistent data)
what’s that about?
thanks, stg
Hi stg,
that error is normally caused by a corrupt ESXi 5.0 installation file or by a faulty CD/DVD.
gguglie
Hi gguglie,
do you say my whole ESXi5.0 installation is faulty or just the HP packages?
stg
If esxi was working before installing the HP packages, I think that the HP packages are faulty.
You can find the latest bundle here: http://vibsdepot.hp.com/
Hi gugglie,
I’ve got still the same problem. I downloaded the package again with the same result.
I don’t trust this was too much when trying it on a customers host.
New HP hosts I do install with the image provided by HP where all this packaged are already integrated.
has anyone the same problem?
stg
Your download link points to they old school download area on the HP site.
New vSphere5 centric site is much easier to use and can be directly added as a VIB Depot to some VMWare tools.
http://vibsdepot.HP.com/
PS: offline bundle is at 1.1 now.
Thanks for the info, this post is a little outdated now: I will write an update soon.
Quite better information than provided by HP itself. Thanks a lot!
Hi all,
on SSH must be original command transformed from:
esxcli.exe -s -u -p software vib install -d “[datastore1]hp-esxi5.0uX-bundle-1.0-20.zip”
to this:
esxcli software vib install -d ./hp-esxi5.0uX-bundle-1.0-20.zip
./ is for current dir, can be changed by yours needs. Switches -s -u -p can not be used…
PS: offline bundle is now: hp-HPUtil-esxi5.0-bundle-1.3-6.zip hp-nmi-esxi5.0-bundle-2.1-2.zip
hp-esxi5.0uX-bundle-1.3.5-3.zip
here is it (for registered users on hp passport): http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=3288134&prodTypeId=5351&prodSeriesId=1121516&swLang=8&taskId=135&swEnvOID=4115
Thanks for the update on the offline bundle!
Giuseppe