[openib-general] [RFC] IPoIB high availability daemon

Vladimir Sokolovsky vlad at mellanox.co.il
Mon Aug 14 10:44:10 PDT 2006


Hi,
The first version of the IPoIB high availability daemon can be found at: 
https://openib.org/svn/trunk/contrib/mellanox/ipoibtools

The daemon is a perl script ipoib_ha.pl that should get the primary and 
the backup IPoIB interfaces as a parameters (default values are ib0 as a 
primary and ib1 as a backup).

The basic steps performed by IPoIB High Availability (HA) daemon:

- Get names of the IPoIB primary and backup interfaces.
- Get configuration of the primary interface from its standard place
  (ifcfg-ib<N> from /etc/sysconfig/{network,network-scripts}).
- Run 'ip monitor link all' and parse its output to monitor IPoIB 
primary interface.
- When "NO-CARRIER" occur, check if it is a primary IPoIB interface and 
if "yes"
  then migrate its IPoIB configuration to the backup IPoIB interface.
- Run 'arpingib' utility if configured to update neighbors with a new 
MAC address
- Get the list of multicast groups from /proc/net/dev_mcast
  that the primary IPoIB interface was registered to. Then register the
  backup IPoIB interface to these multicast groups (using ipmaddr utility).

Currently there is an issue with join to IPoIB multicast group using 
both ip and ipmaddr utilities.

This daemon is going to be added to the OFED-1.1 release.
Please comment.
Thanks,

Regards,
Vladimir





More information about the general mailing list