您好,登錄后才能下訂單哦!
小編給大家分享一下VMware ESXi 5上如何安裝網卡驅動,希望大家閱讀完這篇文章之后都有所收獲,下面讓我們一起去探討吧!
ESXI5服務器上新增了一塊Intel 82580千兆網卡,重啟服務器后在網絡適配器里居然沒自動發現這塊網卡,查了一下VMware 的官方網站,說是需要另外安裝驅動。
一、VMWare 官方網站下載網卡驅動
進入VMWARE官方網站,輸入要查找的驅動名稱,點擊SEARCH查找.
點擊MANUALLY DOWNLOAD進行下載即可.
二、通過SCP上傳驅動到VMware ESXi服務器的/vmfs/volumes一個目錄下
使用ssh登陸到VMware ESXi服務器后,用unzip命令解壓驅動包,解壓后會得到一個后綴為.vib 的驅動文件:
# unzip internh82580eb.zip
Archive: internh82580eb.zip
inflating: index.xml
inflating: vendor-index.xml
inflating: metadata.zip
inflating: vib20/net-igb/Intel_bootbank_net-igb_3.2.10-1OEM.500.0.0.472560.vib
為確保服務器穩定, 注意要進入ESXI維護模式來做如下安裝網卡驅動的操作
進入維護模式的兩種方法:
1 界面方法
退出維護模式時,可在這個菜單里點擊"退出維護模式"
2 命令方式
進入維護模式
# vim-cmd hostsvc/maintenance_mode_enter
退出維護模式
# vim-cmd hostsvc/maintenance_mode_exit
然后使用esxcli命令行安裝 vib 驅動并檢查是否安裝成功:
# cd /vmfs/volumes/datastore1
/vmfs/volumes/5061ce54-5696f0d2-084e-000c29c4a7c6 # ls
internh82580eb.zip net-igb-3.2.10-1OEM.500.0.0.472560.x86_64.vib
win2008 linux5
/vmfs/volumes/5061ce54-5696f0d2-084e-000c29c4a7c6 # esxcli software vib install -v /vmfs/volumes/5061ce54-
5696f0d2-084e-000c29c4a7c6/net-igb-3.2.10-1OEM.500.0.0.472560.x86_64.vib
Installation Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed: Intel_bootbank_net-igb_3.2.10-1OEM.500.0.0.472560
VIBs Removed: VMware_bootbank_net-igb_2.1.11.1-3vmw.500.0.0.469512
# esxcli software vib list
Name Version Vendor Acceptance Level Install Date
-------------------- ---------------------------------- ------ ---------------- ------------
net-igb 3.2.10-1OEM.500.0.0.472560 Intel VMwareCertified 2012-09-25
ata-pata-amd 0.3.10-3vmw.500.0.0.469512 VMware VMwareCertified 2012-09-25
ata-pata-atiixp 0.4.6-3vmw.500.0.0.469512 VMware VMwareCertified 2012-09-25
ata-pata-cmd64x 0.2.5-3vmw.500.0.0.469512 VMware VMwareCertified 2012-09-25
ata-pata-hpt3x2n 0.3.4-3vmw.500.0.0.469512 VMware VMwareCertified 2012-09-25
ata-pata-pdc2027x 1.0-3vmw.500.0.0.469512 VMware VMwareCertified 2012-09-25
ata-pata-serverworks 0.4.3-3vmw.500.0.0.469512 VMware VMwareCertified 2012-09-25
ata-pata-sil680 0.4.8-3vmw.500.0.0.469512 VMware VMwareCertified 2012-09-25
ata-pata-via 0.3.3-2vmw.500.0.0.469512 VMware VMwareCertified 2012-09-25
block-cciss 3.6.14-10vmw.500.0.0.469512 VMware VMwareCertified 2012-09-25
...........
# reboot
安裝成功后重啟 VMware ESXi,然后用LSPCI命令查看一下網卡驅動是否能被正確識別出來:
# lspci | grep 'Network controller'
000:004:00.0 Network controller: Broadcom Corporation Broadcom NetXtreme II BCM5709 1000Base-T [vmnic0]
000:004:00.1 Network controller: Broadcom Corporation Broadcom NetXtreme II BCM5709 1000Base-T [vmnic1]
000:024:00.0 Network controller: Intel Corporation 82580 Gigabit Network Connection [vmnic2]
000:024:00.1 Network controller: Intel Corporation 82580 Gigabit Network Connection [vmnic3]
000:024:00.0 Network controller: Intel Corporation 82580 Gigabit Network Connection [vmnic4]
000:024:00.1 Network controller: Intel Corporation 82580 Gigabit Network Connection [vmnic5]
使用vSphere Client客戶端登入VMware ESXi以后,進入Configuration 頁面的Network Adapters應該會看到新安裝的vmnic4, vmnic5 2個網卡接口了.
或者直接在 ESXi 上用命令行界面:
# esxcfg-nics -l
Name PCI Driver Link Speed Duplex MAC Address MTU Description
vmnic0 0000:04:00.00 bnx2 Up 1000Mbps Full 34:40:b5:b0:ba:2c 1500 Broadcom Corporation Broadcom NetXtreme II BCM5709 1000Base-T
vmnic1 0000:04:00.01 bnx2 Up 1000Mbps Full 34:40:b5:b0:ba:2e 1500 Broadcom Corporation Broadcom NetXtreme II BCM5709 1000Base-T
vmnic2 0000:18:00.00 igb Up 1000Mbps Full 00:1b:21:d1:78:de 1500 Intel Corporation 82580 Gigabit Network Connection
vmnic3 0000:18:00.01 igb Up 1000Mbps Full 00:1b:21:d1:78:df 1500 Intel Corporation 82580 Gigabit Network Connection
vmnic4 0000:18:00.00 igb Up 1000Mbps Full 00:1b:21:d4:83:dj 1500 Intel Corporation 82580 Gigabit Network Connection
vmnic5 0000:18:00.01 igb Up 1000Mbps Full 00:1b:21:d5:83:dk 1500 Intel Corporation 82580 Gigabit Network Connection
從這里我們看到新增網卡接口已正常顯示出來了.
看完了這篇文章,相信你對“VMware ESXi 5上如何安裝網卡驅動”有了一定的了解,如果想了解更多相關知識,歡迎關注億速云行業資訊頻道,感謝各位的閱讀!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。