vmware esxi 查看网卡、Raid卡驱动

vmware esxi 查看网卡、Raid卡驱动

http://blog.51cto.com/adamcrab/1942763

 

查看网卡

[root@localhost:~] esxcfg-nics -l
Name    PCI          Driver      Link Speed     Duplex MAC Address       MTU    Description                   
vmnic0  0000:01:00.0 igb         Up   1000Mbps  Full   e0:4f:43:07:28:44 1500   Intel Corporation I350 Gigabit Network Connection
vmnic1  0000:01:00.1 igb         Down 0Mbps     Half   e0:4f:43:07:28:45 1500   Intel Corporation I350 Gigabit Network Connection
vmnic2  0000:01:00.2 igb         Down 0Mbps     Half   e0:4f:43:07:28:46 1500   Intel Corporation I350 Gigabit Network Connection
vmnic3  0000:01:00.3 igb         Down 0Mbps     Half   e0:4f:43:07:28:47 1500   Intel Corporation I350 Gigabit Network Connection
vmnic4  0000:81:00.0 bnx2x       Down 0Mbps     Half   00:0e:1e:4c:ca:40 1500   QLogic Corporation NetXtreme II BCM57810 10 Gigabit Ethernet
vmnic5  0000:81:00.1 bnx2x       Up   10000Mbps Full   00:0e:1e:4c:ca:42 1500   QLogic Corporation NetXtreme II BCM57810 10 Gigabit Ethernet
vmnic6  0000:11:00.0 bnx2x       Down 0Mbps     Half   00:0e:1e:47:9d:90 1500   QLogic Corporation NetXtreme II BCM57810 10 Gigabit Ethernet
vmnic7  0000:11:00.1 bnx2x       Up   10000Mbps Full   00:0e:1e:47:9d:92 1500   QLogic Corporation NetXtreme II BCM57810 10 Gigabit Ethernet

查看网卡驱动

[root@localhost:~] ethtool -i vmnic0
driver: igb
version: 5.0.5.1
firmware-version: 1.63, 0x80000dbd
bus-info: 0000:01:00.0
[root@localhost:~] ethtool -i vmnic7
driver: bnx2x
version: 1.78.80.v60.12
firmware-version: bc 7.8.55
bus-info: 0000:11:00.1

获取主机总线适配器当前使用的驱动程序类型

[root@localhost:~] esxcfg-scsidevs -a
vmhba0  lsi_mr3           link-n/a  sas.500605b00cbce9e0                    (0000:07:00.0) LSI MegaRAID SAS Invader Controller
vmhba32 iscsi_vmk         online    iqn.1998-01.com.vmware:594af84f-3e99-cb7d-f42f-e04f43072844-7704b070iSCSI Software Adapter

------------------------------------------------

查看Radi卡驱动        

[root@localhost:~] esxcfg-module -i lsi_mr3 | more
esxcfg-module module information
 input file: /usr/lib/vmware/vmkmod/lsi_mr3
 License: GPLv2
 Version: 6.605.08.00-7vmw.600.1.17.3029758
 Name-space: 
 Required name-spaces:
  com.vmware.vmkapi@v2_3_0_0
 Parameters:
  max_sectors: int
   Maximum number of sectors per IO command
  mfiDumpFailedCmd: int
   Hex dump of failed command in driver log

 

-----------------------------------------------------

查看HBA卡固件

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

 

查看HBA卡驱动

 esxcli software vib list | grep lpfc

安装驱动

esxcli software vib install -v {VIBFILE}

 

=============

“Shutting down firmware services…
Using 'simple offset' UEFI RTS mapping policy
Relocating modules and starting up the kernel…”

 

网上查找了相关资料,解决方法如下:

1、在ESXi安装开始前有一个倒计时,这时按下 Shift + O,在显示的命令后添加 ignoreHeadless=TRUE,回车, 安装就能正常进行,安装过程请参阅《ESXI安装全过程及基本配置》;
2、以下的步骤是把这个参数值写入配置, 不会随重启丢失;
3、当ESXi启动后,点击F2, 登录;
4、在System Customization下,进入Troubleshooting Options;
5、启用ESXi Shell,然后一路按ESC返回;(ssh ok)
6、在主界面下,按Alt +F1访问控制台;
7、登录,输入并执行以下命令:

#进入维护模式

vim-cmd /hostsvc/maintenance_mode_enter

#检查主机是否在维护模式

vim-cmd /hostsvc/hostsummary | grep inMaintenanceMode

#设置ESXI开机忽略显卡错误

esxcfg-advcfg --set-kernel "TRUE" ignoreHeadless

#检查命令

esxcfg-advcfg --get-kernel ignoreHeadless

#退出维护模式

vim-cmd /hostsvc/maintenance_mode_exit

8、输入exit,退出控制台登录;
9、点击 Alt+F2,返回 ESXi 主界面;
10、禁用 ESXi Shell;
11、完成。

 

=============== End

 

posted @ 2018-04-23 10:32  lsgxeva  阅读(13847)  评论(0编辑  收藏  举报