hca卡快速安装与验证参考

本文档介绍了如何非正常卸载后重新执行OFED安装,为用户提供了一步到位的安装与验证流程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

OFED下载地址:http://downloads.openfabrics.org/OFED/

此文档只作为快速安装参考,详细OFED安装请参考软件中的
README.txt文件。

操作系统:   CentOS 6.3 x64
HCA及交换机硬件提供商:    迈络思

一.安装步骤

1.安装依赖组


yum groupinstall "Infiniband Support" -y

2.安装依赖包

yum install -y gcc glibc-devel zlib-devel libstdc++-devel gcc-c++ libtool bison flex tcl-devel tcsh kernel-devel rpm-build make pciutils openssh-clients

openssh-clients并不是必须的,这里只是为了使用scp命令。

3.执行安装

tar -xvzf OFED-1.5.4-rc5.tgz 
cd ..
./install

依次输入(未打开srp支持)
2 2 1 y y n

4.以下信息只需确认,所以直接回车

The default IPoIB interface configuration is based on DHCP.
Note that a special patch for DHCP is required for supporting IPoIB.
The patch is available under docs/dhcp
If you do not have DHCP, you must change this configuration in the following steps.
IPoIB interfaces configured successfully
Press any key to continue ...

Press any key to continue ...
Device (15b3:1003):
04:00.0 Network controller: Mellanox Technologies MT27500 Family [ConnectX-3]
Link Width: 8x
PCI Link Speed: 40

Installation finished successfully.
Press any key to continue...

5.退出安装

OFED Distribution Software Installation Menu

  1) View OFED Installation Guide
  2) Install OFED Software
  3) Show Installed Software
  4) Configure IPoIB
  5) Uninstall OFED Software

  Q) Exit

Select Option [1-5]:q
Exiting

二.安装后配置hca卡

1.hca口绑定

[root@dntodu001 network-scripts]# cat ifcfg-ib0
DEVICE=ib0
USERCTL=no
ONBOOT=yes
MASTER=bondib0
SLAVE=yes
BOOTPROTO=none
HOTPLUG=no
IPV6INIT=no
CONNECTED_MODE=yes
MTU=65520
[root@dntodu001 network-scripts]# cat ifcfg-ib1
DEVICE=ib1
USERCTL=no
ONBOOT=yes
MASTER=bondib0
SLAVE=yes
BOOTPROTO=none
HOTPLUG=no
IPV6INIT=no
CONNECTED_MODE=yes
MTU=65520
[root@dntodu001 network-scripts]# cat ifcfg-bondib0 
DEVICE=bondib0
USERCTL=no
BOOTPROTO=none
ONBOOT=yes
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值