How to update QLOGIC QLE2462 FC Card Driver in ESXi host, How to update Fibre Channel card in ESXi Host

Finding HBA Information

First you have to find the names of the HBA.
You can find it 2 ways.

Option: 1

You can go to host configuration. Then click on Storage Adapter under Hardware section on the left hand side. On the right hand side you will find all the storage adapters. In this section you will also find the Fibre channel HBA adapters name. This is shown in the below screenshot

Option: 2

The 2nd option is via the SSH Session.
At the ssh session supply the below switch to find the HBA Name

/usr/lib/vmware/vmkmgmt_keyval/vmkmgmt_keyval –d

This will show you all the HBA available in this host. Its shown in the below screenshot

Notice: as you can notice here, via the SSH you are able to also see the manufacturer of the Fibre channel card. It’s showing QLOGIC.

Finding HBA driver, firmware and model number

Now that we know the HBA name and FC card manufacturer. We need to find the model number of the FC card.
Again from the SSH session this is quite easy. We will use the previous switch but we will trail the switch with the HBA name, so the switch will look like this

/usr/lib/vmware/vmkmgmt_keyval/vmkmgmt_keyval -l -i vmhba3/qlogic

Here you can see, I have changed the switch from “-d” to “-l” & I have trailed the switch with –i

Below is a screenshot, please note, after the _keyval, it’s a L
Notice, the above switch is now showing me all the required information I need. This includes the current driver version, firmware version, model number of the FC card.

Downloading new version of VMware Driver & Firmware

Usually finding enterprise grade driver versions for Vmware is easy. These are also always Vmware signed drivers.For consumer grade card, you will probably need to look in to the community section for drivers. To find new driver, you can head to Vmware download URL and search for the product model number, or google. In this case below is the link for the download URL

URL: http://www.vmware.com/resources/compatibility/detail.php?deviceCategory=io&productid=12611

As you can see, I am downloading the version that is Vmware compatible, as shown below
As you can see, you have to make sure that you are downloading the correct version of the driver. The version that you need to download has to match the version of your current ESXi install.

How to upload the driver into ESXi Host

Follow below process to upload the driver into the ESXi host that you are working on.

  1. Open winscp
  2. Supply the IP address of host name of the host, along with credentials as shown below
  3. Once you logged in you will see all the folders under the ROOT folder as shown below
  4.  Now double click on the tmp folder as shown below and copy paste the zip file that you downloaded earlier.
  5. That is all you have to do to copy the file. Its usually better to copy the file in TMP folder as its easy to reach from the SSH session later on. Don’t forget to delete the zip file via the WinSCP once the upgrade is completed.
How to install the new driver

This is the final part of the task. Since the driver is already installed, we don’t need to uninstall it. All we need to do is update the driver. To update the driver supply the Esxcli switch along with the tmp file location in the SSH session

esxcli software vib update –d “/tmp/VMW-ESX-5.5.0-qlnativefc-1.1.52.0-offline_bundle-2845884.zip”

Screenshot shown below
As you can see the driver update was successful. Now we need to reboot the host so the old firmware is discarded and the host is loaded with the new firmware

Check & confirm FC card has new firmware

After the reboot, you can supply the below switch again in SSH to confirm that the FC card now has new firmware installed

/usr/lib/vmware/vmkmgmt_keyval/vmkmgmt_keyval –a

Notice how here I have used “-a” instead of previously used “-d”? –a gives all the HBA info.

Here is an explanation of the trialing switch

Leave a Reply

Your email address will not be published. Required fields are marked *