admin 管理员组

文章数量: 887021


2024年3月8日发(作者:getdocument什么意思)

在ESXi 5主机上安装Brocade HBA卡驱动

陈晓伟 QQ:120792574

说明

在帮客户部署VMware vSphere 5基础架构套件时,发现有两台准备用于VMware HA环境的ESXi 5主机无法识别到所连接的Brocade HBA卡,直接影响到共享存储的连接。

关于安装ESXi 5环境下的HBA卡驱动,方法有多种,本文介绍的方法是最简单的一种。

步骤

1. 使用DCUI或者vSphere Client连接到主机,针对指定主机启用SSH连接。

找到10.12.10.10主机的“配置”选项卡|“软件”-->“安全配置文件”

点击“服务”之“属性”菜单,然后在弹出的会话框中选择“SSH”

打开SSH“选项”按钮,并点击“启动”按钮,启动主机的SSH服务

在“近期任务”栏中确认启动服务操作完成,并确定SSH服务器在“防火墙”的“入站连接”中被启用。

2. 使用SCP工具上传FC HBA卡的驱动程序文件,该驱动程序的下载URL为/services-support/drivers-downloads/adapters/

也可以将驱动程序“brocade_driver_esx50_”上传到ESXi主机的数据存储中进行操作。

上传结果如下

3. 使用支持SSH协议的工具,如Putty连接到主机,或者直接通过DCUI,按Alt+F2切换到命令行操作模式,输入用户名和密码登录到系统,切换到驱动程序存放的位置并解压驱动程序软件包

login as: root

Using keyboard-interactive authentication.

Password:

This system has been migrated to ESXi 5.0.0.

~ # cd /tmp/drivers

/tmp/drivers # ls

brocade_driver_esx50_

/tmp/drivers # tar zxf brocade_driver_esx50_

/tmp/drivers # ls

BCD-bfa-3.0.0.0-00000-offline_

BCD-bna-3.0.0.0-00000-offline_

README_INSTALL_ESXI

bcu_esx50_

bfa_aen_

bfa_aen_

bfa_aen_

bfa_aen_

bfa_aen_

bfa_aen_

bfa_aen_

bfa_aen_

bfa_aen_

bfa_aen_

bfa_log_

bfa_log_

bfa_log_

bfa_log_

bfa_log_

bfa_log_

brocade-esx-5.0.0-bfaConfig-3.0.0.0-offline_

brocade_driver_esx50_

brocade_install_

/tmp/drivers # pwd

/tmp/drivers

4. 执行./brocade_install_脚本安装FC HBA驱动程序,安装完毕重启ESXi主机。

/tmp/drivers # ./brocade_install_

checking currently installed packages of ... [bna]...done

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: Brocade_bootbank_net-bna_3.0.0.0-1OEM.500.0.0.406165

VIBs Removed:

VIBs Skipped:

checking currently installed packages of ... [bfa]...done

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: Brocade_bootbank_scsi-bfa_3.0.0.0-1OEM.500.0.0.406165

VIBs Removed:

VIBs Skipped:

checking currently installed packages of ... [bcu]...done

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: Brocade_bootbank_bcu-plugin_3.0.0.0-1OEM.381646

VIBs Removed:

VIBs Skipped:

checking currently installed packages of ... [hp]...done

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: Brocade_bootbank_hostprofile-bfaConfig_3.0.0.0-1OEM.400876

VIBs Removed:

VIBs Skipped:

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

Driver software is successfully installed.

Please reboot the system.

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

/tmp/drivers #

至此,驱动程序安装完成。

5. 安装完毕,使用vmkload_mod命令验证系统是否有加载FC HBA卡驱动模块,并通过vSphere Client查看FC HBA卡信息。

使用vSphere Client连接vCenter Server或ESXi主机查看HBA卡相关信息

验证模块加载成功

# vmkload_mod -l |more

Name Used Size (kb)

vmkernel 95 8508

procfs 2 16

vmkplexer 1 24

vmklinux_9 29 536

vmklinux_9_2_0_0 21 48

random

usb

ehci-hcd

usb-ohci

usb-uhci

hid

dm

nmp

vmw_satp_local

vmw_satp_default_aa

vmw_psp_lib

vmw_psp_fixed

vmw_psp_rr

vmw_psp_mru

libata

usb-storage

vfat

vprobe

vmci

iscsi_trans

etherswitch

netsched

cnic_register

bnx2

cnic

iscsi_linux

bnx2i

libfc

libfcoe

pata_serverworks

cciss

bfa

lvmdriver

(以下输出省略)

——完——

1 32

5 128

0 44

0 24

0 28

0 24

2 12

23 144

9 12

4 8

6 12

10 12

4 16

0 12

1 140

0 72

0 48

0 396

0 152

5 52

4 208

1 40

2 12

1 188

1 60

1 16

2 92

1 112

0 28

2 12

1 48

2 1932

1 100

%新加载的Brocade HBA卡驱动程序模块%


本文标签: 驱动程序 操作 连接