The HA service (ipoib_ha.pl) is looking for "NO-CARRIER" in the "ip" utility output. Ipoib_ha.pl use an updated "ip" utility which is a part of ipoibtools RPM and located under 'prefix'/utils directory.
The fail-over flow is the following: On every event received from 'ip monitor link' check if the primary IPoIB interface has NO-CARRIER using 'ip link show' command. If "yes" then check the status of the secondary interface using the same command. And if the secondary interface has no NO-CARRIER then migrate IPoIB configuration from primary to the secondary interface. Regards, Vladimir > -----Original Message----- > From: Or Gerlitz [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 24, 2006 10:53 AM > To: Vladimir Sokolovsky > Cc: [email protected] > Subject: Re: problems using the ipoib ha package of RH4 U3 > > Vladimir Sokolovsky wrote: > > Try to disconnect the port 1 of HCA from IB subnet and then > check if > > ib1 became active. > > OK, i will be able to do it later today, anyway, something bothers me > here: the script is based on parsing the output of > > $ /sbin/ip monitor link > > and this output should be the same for both the cases (ie > unplug the ib cable or make the port state down) since it is > in the **ip** and not > **ib** level. > > Or. > _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
