Home > Hp, virtualization, vmware > ESXi 5.0 – how to install HP bundle via vCLI

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:

  1. 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
  2. Upload the zipfile just downloaded on the ESXi host, for example in the local datastore (called datastore1 in my screenshot)
    image
  3. 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
  4. Check that the host is in maintenance mode:
    vicfg-hostops.pl –server <server> –operation info
  5. 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”
  6. Reboot host:
    vicfg-hostops.pl –server <server> –operation reboot
  7. When the host has fully rebooted, let’s check the installed modules:
    esxcli.exe -s -u -p software vib list
  8. And now, exit maintenance mode:
    vicfg-hostops.pl –server <server> –operation exit

And here it is: the Hp bundles are installed.

Categories: Hp, virtualization, vmware Tags: , ,
  1. sam
    30 Nov 2011 at 07:51

    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…

    • 1 Dec 2011 at 01:43

      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

  2. cowen
    26 Dec 2011 at 21:02

    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!

  3. cowen
    26 Dec 2011 at 21:07

    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

    • 27 Dec 2011 at 07:18

      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

  4. stg
    30 Jan 2012 at 12:32

    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

    • 30 Jan 2012 at 22:38

      Hi stg,
      that error is normally caused by a corrupt ESXi 5.0 installation file or by a faulty CD/DVD.

      gguglie

      • stg
        7 Feb 2012 at 17:31

        Hi gguglie,

        do you say my whole ESXi5.0 installation is faulty or just the HP packages?

        stg

      • 8 Feb 2012 at 00:46

        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/

      • stg
        11 Feb 2012 at 06:45

        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

  5. 7 Feb 2012 at 09:44

    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.

    • 7 Feb 2012 at 10:58

      Thanks for the info, this post is a little outdated now: I will write an update soon.

  6. TomBlue
    9 Mar 2012 at 12:17

    Quite better information than provided by HP itself. Thanks a lot!

  7. 29 Jan 2013 at 17:27

    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

    • 29 Jan 2013 at 17:30

      Thanks for the update on the offline bundle!

      Giuseppe

  8. Dan
    13 Sep 2013 at 03:19

    I’ve tried a lot of things but I always get the same result when I try to install. All VIBs are skipped. I’m set to Partner supported acceptance level so there must be something else preventing the install. Any ideas?

  1. No trackbacks yet.

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

%d bloggers like this: