Add Infiniband interface to ifconfig

We recently had an issue where we had to rebuild our RAID-6 array.  After rebuilding the array, our cluster did not automatically locate and mount our high-capacity storage array.  In order to fix this problem, we had to add a new interface configuration file to ifconfig by following the below steps:

1. As root on the server that will be connected to the high-capacity storage server

vi /etc/sysconfig/network-scripts/ifcfg-ib0

Add the following to the file:

DEVICE=ib0
TYPE=Infiniband
 BOOTPROTO=static
 BROADCAST=172.30.255.255
 IPADDR=172.30.1.11
 NETMASK=255.255.0.0
 ONBOOT=yes

Of course your BROADCAST, IPADDR, and NETMASK will be different from those set here.
Some Notes:

  • The filename is ifcfg-ib0 for the configuration file for device ib0 (note these are zeros, not the letter o).
  • BROADCAST  is the broadcast IP address.
  • NETMASK is the netmask IP value
  • BOOTPROTO is the boot protocol, where the value is one of the following: (a) none – No boot-time protocol should be used, (b) dhcp – The dhcp protocol should be used, (c) static – static hard set the IP.
  • IPADDR is the IP address
  • ONBOOT specifies if the interface needs to be active on boot (values: yes or no)
  • TYPE is the interface type

					

2 thoughts on “Add Infiniband interface to ifconfig

  1. Thanks again for all of the info!

  2. I intended to draft you that very little remark to be able to give thanks once again about the marvelous opinions you’ve contributed on this site. This has been certainly wonderfully open-handed of you to present unhampered precisely what many people could possibly have sold for an e book to help make some money for themselves, most importantly given that you might well have tried it if you ever considered necessary. Those pointers additionally acted to become a fantastic way to recognize that other people have the same fervor similar to my own to realize whole lot more when it comes to this issue. I believe there are millions of more enjoyable times ahead for those who view your blog.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

This site uses Akismet to reduce spam. Learn how your comment data is processed.