方法一:

http://www.nycnetworkers.com/vmware/check-firmware-drivers-vmware-esxi-host/

Something that came up in the field, a ESXi host for some reason magically lost connection to our vCenter cluster. I checked the networking side and nothing came up (just connection down for the ports connecting to the host). I then KVMed into the server and the NICs looked like they were up as well! What? I couldnt ping or RDP to any vm on the host — what gives??
The decision from mgmt was to reboot the box. After rebooting the host, I was able to ping/RDP to the device and it came back into the vCenter. OK so what happened?

Generally I keep the SSH on the ESXi Firewall turned off for obvious security reasons. I went into ESXi to turn it on and I SSHed into the host.

login as: root
Using keyboard-interactive authentication.
Password:
The time and date of this login have been sent to the system logs.
VMware offers supported, powerful system administration tools. Please see www.vmware.com/go/sysadmintools for details.
The ESXi Shell can be disabled by an administrative user. See the vSphere Security documentation for more information.

OK so now that I’m in, lets run a few commands….

~ # esxcfg-nics -l

Name PCI Driver Link Speed Duplex MAC Address MTU Description

vmnic0 0000:0b:00.00 bnx2 Up 1000Mbps Full 34:40:b5:d4:4e:c4 1500 Broadcom Corporation Broadcom NetXtreme II BCM5709 1000Base-T

vmnic1 0000:0b:00.01 bnx2 Down 0Mbps Half 34:40:b5:d4:4e:c6 1500 Broadcom Corporation Broadcom NetXtreme II BCM5709 1000Base-T

vmnic2 0000:10:00.00 bnx2 Down 0Mbps Half 5c:f3:fc:9e:c7:d8 1500 Broadcom Corporation Broadcom NetXtreme II BCM5709 1000Base-T

vmnic3 0000:10:00.01 bnx2 Down 0Mbps Half 5c:f3:fc:9e:c7:da 1500 Broadcom Corporation Broadcom NetXtreme II BCM5709 1000Base-T

vmnic4 0000:1a:00.00 be2net Up 10000Mbps Full 00:00:c9:da:3a:62 1500 Emulex Corporation OneConnect 10Gb NIC

vmnic5 0000:1a:00.01 be2net Up 10000Mbps Full 00:00:c9:da:3a:66 1500 Emulex Corporation OneConnect 10Gb NIC

vusb0 Pseudo cdc_ether Up 10Mbps Half 36:40:b5:f9:3d:8f 1500 Unknown Unknown

This command list out the NICs I got on this host. It also tells me the name VMware gives it. In this case, we got I’m interested in 2 NICs on this host named vmnic4 and vmnic5. So to get more details on them run the following…

~ # ethtool -i vmnic4
driver: be2net
version: 4.1.255.11
firmware-version: 4.2.433.3
bus-info: 0000:1a:00.0

~ # ethtool -i vmnic0
driver: bnx2
version: 2.0.15g.v50.11-7vmw
firmware-version: bc 7.4.0 NCSI 2.0.11
bus-info: 0000:0b:00.0

OK this gives me the driver version and the firmware version. Why is this information important for this post? After the VMware Admin went through the logs and found nothing showing why the host lost networking connectivity, and after I looked on my end and nothing looked out of the ordinary, we called up VMware Support and sure — a BUG with this version. The fix was to upgrade this code to a newer code and as of one week (when we did it), so far so good!

方法二:

https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1002413

Identifying the firmware of a Qlogic or Emulex FC HBA (1002413)

Details

This article provides information to determine the firmware that an HBA is running.

Solution

The steps below require shell access to the ESXi/ESX host. For instructions, see:

  • Using ESXi Shell in ESXi 5.x (2004746)

  • Using Tech Support Mode in ESXi 4.1 and ESXi 5.x (1017910)

  • Enabling root SSH login on an ESX host (8375637)

Once you have shell access to the host, proceed to step 1 in the relevant section for your HBA.

QLogic

To determine the firmware for a QLogic fibre adapter, run these commands on the ESXi/ESX host:

  1. Go to /proc/scsi/qla####.

    Where #### is the model of the Qlogic HBA

  2. Run the ls command to see all of the adapters in the directory.

    The output appears similar to:

    1 2 HbaApiNode

  3. Run the command:

    head -2 #

    Where # is the HBA number.

    You see output similar to:

    QLogic PCI to Fibre Channel Host Adapter for QLA2340 :
    Firmware version: 3.03.19, Driver version 7.07.04.2vmw

To determine the firmware for a QLogic iSCSI hardware initiator on an ESXi/ESX host:

  1. Go to /proc/scsi/qla####.

    Where #### is the model of the Qlogic HBA

  2. Run the ls command to see all of the adapters in the directory.

    You see output similar to:

    1 2 HbaApiNode

  3. Run the command:

    head -4 #

    Where # is the HBA number.

    You see output similar to:

    QLogic iSCSI Adapter for ISP 4022:
    Driver version 3.24
    Code starts at address = 0x82a314
    Firmware version 2.00.00.45

Emulex

To determine the firmware for a Emulex HBA on an ESXi/ESX host:

  1. Go to /proc/scsi/lpfc.

    Note: the lpfc may be appended with model number appended. For example, /proc/scsi/lpfc820

  2. Run the ls command to see all of the adapters in the directory.

    You see output similar to:

    1 2

  3. Run the command:

    head -5 #

    where # is the HBA number.

    You see output similar to:

    Emulex LightPulse FC SCSI 7.3.2_vmw2
    Emulex LP10000DC 2Gb 2-port PCI-X Fibre Channel Adapter on PCI bus 42 device 08 irq 42
    SerialNum: BG51909398
    Firmware Version: 1.91A5 (T2D1.91A5)

Notes:

  • You can determine the firmware of HBAs only using Direct Console access or SSH and not via RCLI or vMA.

  • In ESXi 5.5, you do not see native drivers in the /proc nodes. To view native driver details, run the command:

    /usr/lib/vmware/vmkmgmt_keyval/vmkmgmt_keyval -a

    For more information, see Identifying correct driver for ESXi/ESX host PCI devices (HBA) using VMware Hardware Compatibility Guide (HCL) (1031534).

  • You can find these information in the vm-support bundle. For more information, see Collecting diagnostic information using vm-support command in VMware ESX/ESXi (1010705).

转载于:https://blog.51cto.com/549687/1763808

How to check firmware and drivers of a VMware ESXi host相关推荐

  1. All firmware and drivers for HP ESX servers

    http://vibsdepot.hpe.com/hpq/recipes/Jan2016VMwareRecipeSPP201510_19.4.pdf 转载于:https://blog.51cto.co ...

  2. Vmware Links(转自VMware-land)

    这一阵子在专研虚拟机的VSS备份,无意中发现了VMware-land 很好的网站,不知道为什么无法访问,难道也被和谐掉了??? 以下内容是从Google的页面缓存弄出来的,在Google搜索http: ...

  3. SwitchHosts!提示没有切换权限:C:\WINDOWS\system32\drivers\etc\host 文件无法修改

    切换失败是因为权限不够 解决方法: 1.找到host文件:路径:C:\Windows\System32\drivers\etc 2.右键host,点击属性,选择安全 3.赋予User所有权限

  4. RVC使用指南(四)-集群状况

    RVC使用指南(四)-集群状况 https://mp.weixin.qq.com/s/tMkHTST0dnDoQx-HFyc-5g 本文使用与vSAN运行状况相关的命令,这些命令仅在安装了Health ...

  5. IBM X3650服务器使用说明

    本系列以一台新上架的IBM X3850 X5服务器为例,从开始做RAID5到VMWARE ESXi 5的安装配置进行全程演示.本文是安装VMWARE ESXi 5全过程. 一.配置服务器 服务器随附了 ...

  6. Linux设备模型之platform设备

    Linux设备模型之platform设备 1. Platform模块的软件架构 2. Platform设备 2.1 platform_device原型 2.2 注册添加device 2.2.1 pla ...

  7. 0环权限高还是3环_环0到环3

    0环权限高还是3环 Most likely, you're aware of the hardware "protection rings" in Intel Architectu ...

  8. 全志A33之添加电容触摸GT911驱动

    全志A33之添加电容触摸GT911驱动 基于锐尔威视的A33开发板及提供的开发包,仅供参考. 开发板说是支持GT911,其实是不支持的,得修改驱动及配置,启动文件. 一.      修改配置文件 /h ...

  9. 从零开始进行Hi3518_SDK安装、环境搭建和Linux内核编译,并生成可供烧写的uImage

    说明 本文将指导如何从初始的海思提供的Hi3518_SDK包按照默认配置编译出一个可以供开发板下载的uImage. SDK版本:Hi3518E_SDK_V1.0.4.0 SDK中提供的Linux-Ke ...

最新文章

  1. python做一个系统-用python做一个系统监控程序
  2. vMware vSphere 5.0发布时间
  3. BeanUtils.copyProperties
  4. 笔记本内置扬声器三强PK
  5. mkdir命令使用范例
  6. Java接口学习(接口的使用、简单工厂、代理模式、接口和抽象类的区别)
  7. 编程语言分类 -- 强类型与弱类型、动态类型与静态类型
  8. 常用验证函数isset()/empty()/is_numeric()函数
  9. npm 使用报错合集
  10. 拓步T66Ⅱ(牛牛2)Root教程
  11. mysql 存储过程代码_mysql存储过程语法与实例
  12. Spring Cloud Spring Boot mybatis 企业分布式微服务云(五)服务消费(Feign)【Dalston版】...
  13. 安装基于Ubuntu的微信小程序开发工具
  14. 【openGL2021版】obj模型
  15. 求点到线段的最短距离(QT)
  16. 商汤科技面试——CV算法面经
  17. 从0基础学习Python(17)[面向对象三大特征[多态]]
  18. axios 的responseType 类型动态设置
  19. python爬虫selenium账号和密码_python3 - selenium 添加有账号密码的代理
  20. c语言程序图书检索源代码,C语言程序设计(图书管理系统)源代码 倾情奉献

热门文章

  1. TensorFlow (RNN)深度学习 双向LSTM(BiLSTM)+CRF 实现 sequence labeling 序列标注问题 源码下载...
  2. 浅谈href=#与href=javascript:void(0)的区别
  3. [转]Java输入输出流的使用详细介绍
  4. Devops - 概述
  5. 《JAVA与模式》之装修者模式
  6. 迷宫问题,手动模拟栈
  7. 【分享】Lucene.Net的中文分词组件AdvancedChineseAnalyzer
  8. QQ号双主号要求验证码解决方法
  9. 关于c语言编写 顺序表 的创建、插入、修改、删除、显示、退出 的程序案例
  10. redis专题:redis键值设计、性能优化以及redis连接池配置