背景:
ib网络需要特定的命令查看网络状态,以及排查问题。
操作流程:
一、安装命令:
###install
yum -y groupinstall "Infiniband Support"
yum -y install infiniband-diags perftest gperf###Uninstall
yum -y groupremove "Infiniband Support"
二、常用命令:
#状态
ibstat
#主机信息
ibhosts
#交换机信息
ibswitchs
#连接信息
iblinkinfo
#网络诊断
ibdiagnet
...
命令很多就不一一介绍了,下面是所有命令,有兴趣可以去了解一下。
[yanyaofeng@gz-cs-gpu-3-8 iperf]$ ib
ib2ib_guids ibcheckerrors ibclearerrors ibdiscover.pl iblinkinfo ibportstate ib_send_bw ibtracert ibv_shared_mr
ib2ib_setup ibcheckerrs ibcongest ibdmchk iblinkinfo.pl ibprintca.pl ib_send_lat ibv_asyncwatch ibv_srq_pingpong
ibacm ibchecknet ibdatacounters ibdmsh ibmirror ibprintrt.pl ibsim ibv_cc_pingpong ibv_task_pingpong
ib_acme ibchecknode ibdatacounts ibdmtr ibmsquit ibprintswitch.pl ibsrpdm ibv_dcini ibv_uc_pingpong
ibaddr ibcheckport ibdev2netdev ibdump ibmssh ibqueryerrors ibstat ibv_dctgt ibv_ud_pingpong
ib_atomic_bw ibcheckportstate ibdiagm.sh ibfindnodesusing.pl ibnetdiscover ibqueryerrors.pl ibstatus ibv_devices ibv_umr
ib_atomic_lat ibcheckportwidth ibdiagnet ibgenperm ibnetsplit ib_read_bw ibswitches ibv_devinfo ibv_xsrq_pingpong
ibcacheedit ibcheckstate ibdiagnet_csv2xml.py ibhosts ibnlparse ib_read_lat ibswportwatch.pl ibv_intf ib_write_bw
ibccconfig ibcheckwidth ibdiagpath ibidsverify.pl ibnodes ibroute ibsysstat ibv_polldcinfo ib_write_lat
ibccquery ibclearcounters ibdiagui ibis ibping ibrouters ibtopodiff ibv_rc_pingpong
[yanyaofeng@gz-cs-gpu-3-8 iperf]$ ib
总结:
ib网络是比较特殊的网络,不同于ip网络,ib可以使用命令查看整个ib网络的接口情况