服务热线
4006961869
[root@nodeb ~]# lspci |grep Mellanox 02:00.0 Infiniband controller: Mellanox Technologies MT27800 Family [ConnectX-5] [root@nodeb ~]# [root@nodeb ~]# lspci -vvvxxx -s 02:00.0 |egrep "PN|SN" [PN] Part number: MCX555A-ECAT [SN] Serial number: MT2025K46953
[root@nodeb ~]# cat /etc/os-release NAME="Red Hat Enterprise Linux Server" VERSION="7.4 (Maipo)" [root@nodeb ~]# uname -m x86_64
# yum install tcl tk
./mlnxofedinstall --add-kernel-support
# /etc/init.d/openibd restart Unloading HCA driver: [ OK ] Loading HCA driver and Access Layer: [ OK ]
[root@nodeb ~]# ofed_info -s MLNX_OFED_LINUX-5.1-0.6.6.0:
5.3、如果是SB7890交换机或者是其它不带子网管理器功能的交换机(SB7890,SB7790,SX6025,IS5025),必须在服务器上开启子网管理器,安装好网卡驱动后就可以使用下面命令:
systemctl start opensmd systemctl enable opensmd
[root@nodeb ~]# mlnx_tune ...... Mellanox Technologies - System Report Operation System Status RHEL7.4 3.10.0-693.el7.x86_64 CPU Status GenuineIntel Intel(R) Xeon(R) CPU E5-2660 v3 @ 2.60GHz Haswell OK: Frequency 2178.82MHz >>> CPU frequency is below maximum. Install cpupowerutils and run x86_energy_perf_policy performance. Memory Status Total: 62.65 GB Free: 59.74 GB Hugepages Status On NUMA 1: Transparent enabled: always Transparent defrag: always Hyper Threading Status ACTIVE IRQ Balancer Status ACTIVE Firewall Status NOT PRESENT IP table Status INACTIVE IPv6 table Status INACTIVE Driver Status OK: MLNX_OFED_LINUX-5.1-0.6.6.0 (OFED-5.1-0.6.6) ConnectX-5 Device Status on PCI 02:00.0 FW version 16.28.1002 OK: PCI Width x16 >>> PCI capabilities might not be fully utilized with Haswell CPU. Make sure I/O non-posted prefetch is disabled in BIOS. OK: PCI Speed 8GT/s PCI Max Payload Size 256 PCI Max Read Request 512 Local CPUs list [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29] ib0 (Port 1) Status Link Type ib OK: Link status Up Speed FDR MTU 2044 2020-12-14 15:37:35,878 INFO System info file: /tmp/mlnx_tune_201214_153733.log
7.1、为了更好的演示,我们需要2台服务器,以验证IB网络连通性
7.2、验证IB底层网络连通性,使用ibping命令,在nodeb节点启用服务端,noded开启客户端,使用ib网络的 lid 号进行验证
ibping -S 启用服务端,ibping -L 3 启用客户端并ping 服务端lid 3,如上图所示,测试成功。
[root@nodeb ~]# cat /etc/sysconfig/network-scripts/ifcfg-ib0 TYPE=InfiniBand BOOTPROTO=none NAME=ib0 DEVICE=ib0 ONBOOT=yes IPADDR=172.30.1.112 NETMASK=255.255.255.0
8.1、在第二台服务器按照以上步骤,安装驱动和配置相关ifcfg-ib0,第二台服务器的IP地址设置为 172.30.1.114,如果重启网络不生效,建议重启驱动
8.2、验证IP地址连通性,直接使用ping 命令
9、网卡性能测试
[root@nodeb ~]# sminfo sminfo: sm lid 2 sm guid 0x43f7203000846f0, activity count 808 priority 15 state 3 SMINFO_MASTER
[root@nodeb ~]# smpquery nd 2 Node Description:........MF0;test-7800:MSB7800/U1
[root@nodeb ~]# ibswitches Switch : 0x043f7203000846f0 ports 37 "MF0;test-7800:MSB7800/U1" enhanced port 0 lid 2 lmc 0
[root@nodeb ~]# ibnodes Ca : 0xf452140300964da0 ports 2 "sinoinfo HCA-1" Ca : 0x0c42a10300b4d89c ports 1 "noded HCA-1" Ca : 0x0c42a10300b643c6 ports 1 "nodeb HCA-1" Switch : 0x043f7203000846f0 ports 37 "MF0;test-7800:MSB7800/U1" enhanced port 0 lid 2 lmc 0
[root@nodeb ~]# iblinkinfo CA: sinoinfo HCA-1: 0xf452140300964da1 1 1[ ] ==( 4X 10.0 Gbps Active/ LinkUp)==> 2 13[ ] "MF0;test-7800:MSB7800/U1" ( Could be 14.0625 Gbps) 0xf452140300964da2 4 2[ ] ==( 4X 10.0 Gbps Active/ LinkUp)==> 2 17[ ] "MF0;test-7800:MSB7800/U1" ( Could be 14.0625 Gbps) CA: noded HCA-1: 0x0c42a10300b4d89c 3 1[ ] ==( 4X 14.0625 Gbps Active/ LinkUp)==> 2 25[ ] "MF0;test-7800:MSB7800/U1" ( Could be 25.78125 Gbps) Switch: 0x043f7203000846f0 MF0;test-7800:MSB7800/U1: 2 1[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 2[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 3[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 4[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 5[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 6[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 7[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 8[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 9[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 10[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 11[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 12[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 13[ ] ==( 4X 10.0 Gbps Active/ LinkUp)==> 1 1[ ] "sinoinfo HCA-1" ( Could be 14.0625 Gbps) 2 14[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 15[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 16[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 17[ ] ==( 4X 10.0 Gbps Active/ LinkUp)==> 4 2[ ] "sinoinfo HCA-1" ( Could be 14.0625 Gbps) 2 18[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 19[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 20[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 21[ ] ==( 4X 14.0625 Gbps Active/ LinkUp)==> 5 1[ ] "nodeb HCA-1" ( Could be 25.78125 Gbps) 2 22[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 23[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 24[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 25[ ] ==( 4X 14.0625 Gbps Active/ LinkUp)==> 3 1[ ] "noded HCA-1" ( Could be 25.78125 Gbps) 2 26[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 27[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 28[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 29[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 30[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 31[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 32[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 33[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 34[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 35[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 36[ ] ==( Down/ Polling)==> [ ] "" ( ) 2 37[ ] ==( Down/ Polling)==> [ ] "" ( ) CA: nodeb HCA-1: 0x0c42a10300b643c6 5 1[ ] ==( 4X 14.0625 Gbps Active/ LinkUp)==> 2 21[ ] "MF0;test-7800:MSB7800/U1" ( Could be 25.78125 Gbps)
可选操作:网卡模式切换,LINK_TYPE_P1=2切换为以太网 LINK_TYPE_P1=1 切换为IB
上一篇:IB交换机操作系统升级步骤
下一篇:mellanox有源光缆产品系列
24小时客服服务热线: 4006961869
联系我们
Copyright © 2002-2020 北京华杭科技有限公司 版权所有 网站地图
地址:北京市石景山区双峪路63-2号院办公楼A座二层209-16 网站备案号:京ICP备2022034285号-1