How to install support for Mellanox Infiniband hardware on CentOS6
# yum groupinstall “Infiniband Support”
# yum install infiniband-diags perftest qperf opensm
# chkconfig rdma on
# chkconfig opensm on
# shutdown -r now
# for i in `ls /sys/class/infiniband/*/ports/*/state`; do echo $i; cat $i; done
/sys/class/infiniband/mlx4_0/ports/1/state
4: ACTIVE
/sys/class/infiniband/mlx4_0/ports/2/state
1: DOWN