New failure detection algorithm for ng_one2many(4).
Evgeny Dolgopiat
dolgop at mccinet.ru
Mon Jan 24 05:40:43 PST 2005
> Hello.
>
> Patch below adds new failure detection algorithm for ng_one2many(4).
> For now, the only such algorithm doesn't detect failures, one have
> to show active links manually.
>
> http://garage.freebsd.pl/patches/netgraph_one2many.patch
>
> The way how to use this module (ng_one2many) is described in manual
> page, to made use of new algorithm one should execute:
>
> ngctl msg fxp0:upper setconfig "{ xmitAlg=3D1 failAlg=3D2
>interval=3D5 }"
>
> Value '5' after interval means: check interfaces every 5 seconds.
>If interface will be down it will not be used.
>
>Note that 'one' interface have to be always avaliable.
>
>Any comments, etc. are of course welcome
Hello. Did you see my patch?
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=92946+0+archive/2005/freebsd-net/20050116.freebsd-net
Heartbeat signal has some advantages as compared to ioctl function. All subnet
containing failed element (card or hub) marked as failed. Therefore packets
sended from other hosts to host, holding failed element, wouldn't lost. Other
advantage: now heartbeat algorithm working independently of the layer on
which one2many operates (not only for ethernet).
Some time ago (october 2003) I sent first version of this patch in mailing
list and got some replies from people, using STABLE (4.X). But this patch
could be used only for 5.X, not stable at that time. Now 5.3 is stable and
this patch can be used for it.
More information about the freebsd-net
mailing list