1、查询I/O设备的固件和驱动信息
1.1查询服务器的raid卡信息
查询RIAD设备类型与队列深度
#esxcfg-scsidevs -a
#esxtop
vmhba1是一块Raid卡,且其队列深度(AQLEN)为975


查询RAID卡供应商信息
#vmkchdev -l|grep vmhba1
VID:DID 1000:005b
SVID:Max SSID 19e5:d206

查询RAID卡驱动
# esxcfg-module -i megaraid_sas|more
#vmkload_mode -s megaraid_sas|Version
Raid卡的驱动版本为6.604.54.00lvmw


1.2查询服务器HBA卡的信息
查询HBA卡供应商信息
#vmkchdev -l|grep vmhba2

查询HBA卡固件版本
#/usr/lib/vmware/vmkmgmt_keyval/vmkmgmt_keyval -a |more

查询HBA卡驱动版本
#esxcli software vib list|grep lpfc

1.3、查询网卡信息
查看网卡的状态和数量
#esxcfg-nics --list

查询网卡供应商信息
#vmkchdev -l|grep vmnic0

查询网卡驱动和固件信息
#ethtool -i vmnic0
#esxcli network nic get -n vmnic0


2、VMware官网查询设备驱动和固件信息
打开VMware官方兼容性网站,查询设备的固件和驱动信息

输入之前查询到的VID、DID、SVID信息

获取到RAID卡型号为SR420BC,在ESXi6.0环境里,官方建议的固件和驱动如下图。


3、VMware官网安装或更新驱动

本示例中下载名为i40e-1.3.38-1331820-3010881.zip 的驱动文件

首先通过WINSCP工具将下载到本地的驱动将上传到ESXI主机里面的tmp目录,本示例为将本地的i40e-1.3.45-1331820-3165430.zip 上传到ESXI上的tmp目录。一般都是建议上传到tmp目录(主要是tmp目录有执行安装的权限)
接着通过putty等工具连接到ESXI主机中,确认一下tmp目录存在该驱动文件

首先将这个.zip的压缩文件通过unzip解压缩

查看一下解压缩后的文件,然后通过
#esxcli software vib install -v /tmp/net-i40e-1.3.45-IOEM.550.0.0.131820.x86_64.vib
如果卸载则用一下命令
#esxcli software vib remove -n xxx -f 其中xxx为驱动名称

最后重启一下ESXI,才能让这个驱动生效;重启后可通过esxcli software vib list 命令查看该驱动是否被正确识别。
