ESXi: How to find HBA/NIC driver/Firmware version

I have seen some problems when running the wrong driver version against firmware version, so here is a guide how to find the information you need to check compatability on ESXI 5.x and 6.0.

I will get all the in the console via SSH.

How to find NIC information:

ESXi: How to find HBA/NIC driver/Firmware version-来自沈超飞的IT博客 第1张

With the command: 

1esxcli network nic list

I can see the names of the NIC, here: vmnic0 and vmnic1

With the command:

1esxcli network nic get -n vmnic0

I can see this information:

  • Adapter name: NC553i
  • Driver: elxnet
  • Driver version: 10.5.121.7
  • Firmware level: 10.2.340.19

How to find HBA information:

There 2 ways to find the information dependent on if you are using native og legacy driver, I will show how to with the native driver:

ESXi: How to find HBA/NIC driver/Firmware version-来自沈超飞的IT博客 第3张

With the command:

1/usr/lib/vmware/vmkmgmt_keyval/vmkmgmt_keyval -d

​I can see the names of the NIC, here: vmhba3 and vmhba4

With the command: 

1/usr/lib/vmware/vmkmgmt_keyval/vmkmgmt_keyval -l -i vmhba4/qlogic

I can see this information:

  • Name: QMH2562
  • Firmware 8.01.02
  • Flash firmware level: 7.03.00
  • Bios: 3.24
  • Driver version: 2.1.27.0
ESXi: How to find HBA/NIC driver/Firmware version-来自沈超飞的IT博客 第5张

With the command:

1esxcli  storage core adapter list

I can see this information:

  • Driver: qlanativefc

Notes:

Information for the lagacy/Linux style driver look in the file:

1/proc/scsi/<driver name>/<number>

Check compatibility:

We now have the information for the driver and the firmware, now we wil check the compatibility in the VMware HCL list. Some time we don’t know the exact name of the adapter, then we can use the hardware identifier:

ESXi: How to find HBA/NIC driver/Firmware version-来自沈超飞的IT博客 第7张

With the command: 

1vmkchdev -l |grep vmhba3

I can see this information:

  • VID = 1077
  • DID = 2532
  • SVID = 103c
  • SDID = 3261

This information we use in the VMware HCL site at: http://www.vmware.com/resources/compatibility/search.php?deviceCategory=io

ESXi: How to find HBA/NIC driver/Firmware version-来自沈超飞的IT博客 第9张

I know that this is a Mezzanine card so I choose this, but the list for both of them should properly be the same.

The result looks like this:

ESXi: How to find HBA/NIC driver/Firmware version-来自沈超飞的IT博客 第11张

In this case there are only one result, that does not match our driver and Firmware version is N/A.

Then I check the hardware vendors support, VMware has a KB that links to the vendors: https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2030818

In this care it’s HPE and goes to there recipes.

ESXi: How to find HBA/NIC driver/Firmware version-来自沈超飞的IT博客 第13张

So I need to upgrade both driver and Firmware.

NOTES: 

In some cases the listed firmware or driver is not accessible by VMware og Hardware vendor, for download, please contact Hardware Vendor and/or VMware.

The output for the HBA may vary between vendors.

分享到:

发表评论

昵称

沙发空缺中,还不快抢~