C H A P T E R 4 |
Internet Protocol Over InfiniBand |
This chapter describes configuration aspects of running the Internet Protocol over InfiniBand (IPoIB) and contains the following section:
You might decide to change your IPoIB configuration for a variety of reasons, including the installation of an additional IB NEM.
1. Detemine whether the IPoIB driver is already installed by entering the
lsmod | grep ib command.
The output from this command shows all the IB drivers.
In the following sample output, note that the driver, ib_ipoib, is not listed.
2. To install the IPoIB driver, enter the modprobe command:
> modprobe ib_ipoib
3. Enter the lsmod | grep ib command again.
Note that ib_ipoib is now listed.
4. Enter the ifconfig command to check for network interface ib0.
Network interface ib0 is present but has no valid IP address.
To assign an address, see Section 4.1.2, Change IPoIB Configuration Without Rebooting.
1. Start the InfiniBand IP network by entering the ifconfig command and assigning a valid IP address for ib0.
If ib0 were unconfigured, it would appear without an IP address as shown in the following output.
2. Enter the route command to verify that the 10.0.0 subnet is available.
The following output shows subnet 10.0.0 present and routed through ib0.
3. As shown in the following example, you can enter the ping command to see another IPoIB node on the 10.0.0 subnet:
At this point, the IPoIB network is active and properly configured without rebooting.
To change the InfiniBand startup behavior, edit the openib.conf configuration file (full path: /etc/infiniband/openib.conf).
In the following example, openib.conf specifies that whenever the system boots, the InfiniBand services, IPoIB, and the SDP IP service are to start up automatically (ONBOOT=yes, IPOIB_LOAD=yes, SDP_LOAD=yes). However, openib.conf specifies that the SRP service is not to start up automatically (SRP_LOAD=no). You can alter any and all of these parameters.
2. Create or edit the ifcfg-ibn file to configure an individual network interface.
For each InfiniBand network interface, you need a corresponding /etc/sysconfig/network-scripts/ startup file (ifcfg-ib0). As an example, the startup file for ib0, might look something like the following.
more /etc/sysconfig/network-scripts/ifcfg-ib0 DEVICE=ib0 BOOTPROTO=static IPADDR=10.0.0.50 NETMASK=255.255.255.0 NETWORK=10.0.0.0 BROADCAST=10.0.0.255 ONBOOT=yes |
The ONBOOT=yes parameter indicates that the corresponding IP network interface is to automatically start up when the system boots. Specifying ONBOOT=no will "configure" the interface but not start it.
Generally, if you have enabled IPoIB services, the IB stack installation scripts automatically create the ifcfg-ibn configuration files for all IB network interfaces present. If you install a NEM after you have installed the IB stack, you need to manually create the ifcfg-ibn files for the newly installed network interfaces.
Copyright © 2008, Sun Microsystems, Inc. All Rights Reserved.