ib

  1. download driver from here

  2. unzip and cd the directory

  3. install driver at root with command:

./mlnxofedinstall --add-kernel-support
  1. configure the ip address and so on:
    generate uuid
  uuidgen ib0

modify /etc/sysconfig/network-scripts/ifcfg-ib0 (if no this file, create one) as follows:

  TYPE=Infiniband
  BOOTPROTO=static
  NAME=ib0
  UUID=e5aa6c4a-cab9-45b4-a20e-c37bbc729509 #modified as uuid as above
  DEVICE=ib0
  ONBOOT=yes
  IPADDR=10.0.0.45 # configure as your need
  NETMASK=255.255.255.0

start the ib network

  /etc/sysconfig/network-scripts/ifup ifcfg-ib0
  1. 启动openibd并设为开机启动:
service openibd start
chkconfig openibd on
  1. 启动子网管理器opensmd并设为开机启动:
service opensmd start # at least one machine starts the service in a cluster
chkconfig opensmd on
  1. 查看HCA端口状态,若State为Active,则表示正常。
ibstat

ref:https://blog.csdn.net/oPrinceme/article/details/51001849

你可能感兴趣的:(ib)