80 likes | 89 Views
Updates from Gerlitz at Voltaire on Linux bonding driver support in the Linux kernel. Features network configuration tools, configuration examples, OFED deployment, and distribution deployment details. Includes upstream push updates and configuration examples for Red Hat and SLES.
E N D
IPoIB support of the Linux bonding driver - update Or Gerlitz Voltaire ogerlitz@voltaire.com
agenda • upstream push update • network configuration tools • configuration examples • OFED deployment • Distribution deployment
upstream push update • patches to bonding and ipoib were pushed and accepted into 2.6.24-rc1 • upsteam push done by • Moni Shoua of Voltaire • Jay Vosburgh of IBM • thanks you Jay and Roland for all the help and coaching through the process!
network configuration tools • bonding scheme (both master and slaves) is configured via the standard network tools • under Red Hat - initscripts • under SLES – sysconfig • required changes for IPoIB/Bonding support • RH5 and SLES10 – nothing • RH4 – some patching of ifup etc scripts, eg to avoid the ifenslave script come into play
config example - RedHat under /etc/modeprobe.conf add the lines alias bond0 bonding options bond0 miimon=100 mode=1 max_bonds=1 • /etc/sysconfig/network-scripts/ifcfg-bond0 DEVICE=bond0 IPADDR=192.168.10.63 NETMASK=255.255.255.0 ONBOOT=yes BOOTPROTO=none USERCTL=no • /etc/sysconfig/network-scripts/ifcfg-ib0/ib1 DEVICE=ib0 ONBOOT=yes BOOTPROTO=none MASTER=bond0 SLAVE=yes USERCTL=no
config example – SLES10 • /etc/sysconfig/network/ifcfg-bond0 BOOTPROTO="static" IPADDR="192.168.10.63“ NETMASK=255.255.255.0 REMOTE_IPADDR="" STARTMODE="onboot" BONDING_MASTER="yes" BONDING_MODULE_OPTS="mode=active-backup miimon=100" BONDING_SLAVE0=ib0 BONDING_SLAVE1=ib1 • /etc/sysconfig/network/ifcfg-ib0/ib1 BOOTPROTO='none' STARTMODE='off‘
OFED deployment • the ib-bonding package was introduced at OFED 1.2, its provides the binary bonding module and a helper configuration script based on the bonding sysfs entries • rebased in OFED 1.3 to 2.6.24-rc1, no need to use the helper script any more for RH5 and SLES10 and some RH4 updates
Distribution deployment • need to discuss the plan with the distributions, status unclear to me