Archives


Add additional drivers to ESXi

Last week I have been struggling with  the installation of a vSphere 4 infrastructure on Dell hardware at a Belgium client site.

I have done many many many VMware installations and encountered my fair share of issues but apart from the HP USB sticks the hardware never gave me this much trouble.

It all started with a very difficult BIOS/firmware upgrade which, after various downloads and trials, ended with an old-school DOS boot USB and a DOS based BIOS update. Real 1980′s stuff.

With this fixed I installed all ESX hosts and left for the hotel, ready to start the configuration the next day. However, when I started with the first ESX host and wanted to configure the network, I noticed that I only had eight NICs when I should have had twelve. We use Dell PowerEdge R805 servers with two Intel quad port 82576 Gigabit Ethernet Adapters, the first card was already in the server, the second card we added just before the installation.

At first I suspected the expansion slot and riser board and tried swapping PCI-e x8 and PCI-e x4 slots but with no success. But by swapping the NICs we noticed that the original NIC worked but the NIC we added just before the installation did not. Further investigation showed that although the NICs were identical with regards to type, chipset, layout, etc, the revisions where a little different.

Searching the VMware Support website we found a driver CD for the Intel 82575 and 82576 Gigabit Ethernet Adapter.

Although we designed the virtual infrastructure with ESXi hosts in mind we used standard ESX 4 to check if the driver CD would fix the issue and have the additional four NICs pop up. And they did, YES!

But next up, our next and hopefully final challenge.

With standard ESX it is very easy to add additional drivers during installation. Just select ‘Yes’ when the installations asks if you want to add additional drivers, select and add the driver and you’re done.

With ESXi you have only two options when installing, 1. Install ESXi, 2. Boot from harddisk. That’s all, so how do you add additional drivers?

The driver CD manual combined with a little help from a colleague (thanks AJ) did the trick. After the installation configure the management network on one of the functioning NICs, connect using the vSphere client and put the host in maintenance mode. After that use the vSphere CLI to install the additional driver from the driver CD (inserted in the client containing the vSphere CLI) using the following command:

‘vihostupdate.pl –server [IP address] –username root –install –bundle [CD/DVD]:\offline-bundle\INT-intel-lad-ddk-igb-1.3.19.12.1-offline_bundle-185976.zip

Reboot the ESX host and enjoy the four extra NICs!


For easy reference follows a step by step How To:

Step 1) Download the VMware vSphere Command-Line Interface from the VMware website.

Step 2) Install the VMware vSphere Command-Line Interface.

Step 3) Connect to the ESXi server through the VI client you wish to inject the NIC drivers into.

Step 4) Put the ESXi host in maintenance mode. This can be done by connecting through the VI client with the ESXi server.







Step 5) Inject the NIC drivers using the CLI






C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>vihostupdate.pl –server 172.17.101.13 –username root –install –bundle D:\offline-bundle\INT-intel-lad-ddk-igb-1.3.19.12.1-offline_bundle-185976.zip

You will see in the VI Client that the driver is installed.







Step 6) Reboot the host.






Step 7) Check the total number of network adapters through the VI client.







Under Configuration Tab> Network Adapters under hardware column.

Step 8 Install finished successful.

Google BookmarksEmailHyvesStumbleUponLinkedInShare

Related posts:

  1. ESXi 4.1 installation fails – Unable to find the system image
  2. eLearing: Transition to ESXi Essentials
  3. The END of ESX, Long Live ESXi !
  4. ESX/ESXi 3.5 Update 3
  5. Faulty HP ESXi 3.5 USBs

Tags: ,

About

Erik Scholten is the founder of VMGuru.nl and works for Imtech ICT as a Solution Architect creating the most ingenious virtual infrastructures. He has over 14 years experience as a system engineer and consultant and now he specializes in virtualization. His current job includes selling, presenting, designing and developing virtual infrastructures for some major companies in the Netherlands. In 2009, 2010 and 2011 VMware awarded him the vExpert award for his virtualization community efforts.

  • http://www.vmguru.nl Anne Jan Elsinga

    Good job in Belgium guys.
    On a side note: If you're doing a lot of stuff from the command line you totally forget about the GUI.
    When we tried to put the host into maintenance mode with RCLI we couldn't get it to work. For some strange reason I couldn't get it to work in our own datacenter.

    So before staring yourself blind on al the RCLI commands, don't forget there's a GUI which sometimes saves you a lot of time :)

  • Pingback: uberVU - social comments

  • DragonRand

    Great post Erik – thanks! A note to anyone running the vSphere CLI from Windows 7: be sure the command prompt is run as an administrator. My first attempt failed with error messages about missing perl dll files, etc. I open a new instance of cmd.exe as Administrator, and the command then executed flawlessly. After a reboot, my “Intel Gigabit ET NIC,Quad Port” nic ports appeared in the vSphere client under Network Adapters as “82576 Gigabit Network Connection”. Not sure why this wasn't recognized by vSphere out of the box, but glad it appears to be working now.

  • Phill

    Awesome post! note… the drivers have changed… Thank you!

  • raw_power

    Hi Erik,

    Just wondering if it's possible to get ESXi to accept a new driver for a network adapter when it is the only network adapter in the system? The motherboard is a new ASUS P5G41T-M LX with an Atheros AR8131 network adapter and I would like to install ESXi 4.0 but it fails during the installation because it is not compatable but I'm sure it would be up to the task.
    Thanks

  • steve mills

    Question… If I am using the free version (not the trial) of esxi 4.0 will RCLI still work? I am doing the command and know the syntax is right. The server shows root login logoff within about 6 seconds. But no install confirmation.

    I have the Quad Port ET card but cant get it to install…. and I am starting to go a bit nuts.

  • http://www.vmguru.nl Anne Jan Elsinga

    This also should work with the free version of ESXi. Are you really sure the syntax is right ? :)

  • http://www.vmguru.nl Anne Jan Elsinga

    As far as I know ESX(i) needs a supported network card during first install. A solution could be to put in a supported network card, install ESX, and remove the added network card. I haven't tried this with ESX 4.

  • steve mills

    Here is what I am doing…

    Put server in maintainance mode. Connect using RCLI using the command:

    vihostupdate.pl –-server 192.168.200.77 –install –-bundle c:offline-filesINT-intel-lad-ddk-igb-1.3.19.12.1-offline_bundle-185976.zip

    On the ESXI server I see the login and 6 seconds later a logout… but no confirmation.

    I also tried the command with the file in a download directory of a web server and I can see the http get in the logs showing the file was accessed.

  • raw_power

    Thanks for replying. I decided to install Microsoft Server 2008 R2 with Hypervisor integrated. Hyper-V is also available in a free stand-alone edition. When I found out it is built into Server 2008 I just went to that, microsoft has much better driver support and hasn't been a problem since. I've got multiple virtual servers going now and I've never done anything like that before haha.

  • http://www.vmguru.nl Erik Scholten

    Is the file name correct?

    I did this on an extra ESX hosts this week and I couldn't get it too work. Even with my own article as reference.
    At the end it turned out that the intel driver name had changed (from INT-intel-lad-ddk-igb-1.3.19.12.1-offline_bundle-185976.zip to INT-intel-lad-ddk-igb-1.3.19.12-offline_bundle-166506.zip)

  • Oded

    When running vihostupdate the output is Error connecting to server at 'https://localhost/sdk/webService': Perhaps host is not a Virtual Center or ESX server
    Any idea?

  • http://www.vmguru.nl Erik Scholten

    I've encountered this error several times with mixed causes.
    - syntax error (check the command, make sure you use '-' two times (- – server, – - username (without spaces)))
    - name resolution not OK (try the IP address)

  • Oded

    Thank you Erik. Also having copied the commend from a web page maybe there were hidden spaces that messed the syntax. I retyped it and it completed successfully.

  • http://twitter.com/virtualization2 Virtualization.net

    Here is how-to guide for the Intel Quad Port ET cards:
    http://www.virtualization.net/471-installing-dr…

  • Jonas

    Thanks alot for this Erik! Nice stuff and good step-by-step guide!

  • Xdfghfb

    bloody star!

  • Pingback: Adding additional drivers to ESXi with Update Manager | vKnowledge.NL

  • porky550

    Hi i have enjoyed reading this page. i also have a question
    is this method the same for adding Sata driver for mother boards? i have installed on a usb stick but have nothing to attach as a data store. in the data store inventory

    Paul

    • Tazz

      You could try adding a SATA driver using the procedure mentioned above.

  • http://twitter.com/jveldhui Jaap van Veldhuizen

    Great post! But do you guys know if it is possible to add the driver to the ISO, so that it is avaialble during the install procedure?

    I currently have a blade without local storage and ESXi 4.1 does not contain the right driver for my FC HBA’s.

    • http://www.vmguru.nl Erik Scholten

       I’ve heard that this is possible. It’s used with home/whitebox installation with unsupported hardware. Personally I’ve never done it.

  • Mohamed Azhary

    it gives me Access denied

    • http://www.vmguru.nl Erik Scholten

       Wrong username and/or password?

  • http://www.benway.net JasonB

    Thanks for the post, it was well written and easy to follow. I had to install drivers for my CNA cards today post ESXi install.