CARP-interface fail-over in case required program fails.
Patrick Lamaiziere
patfbsd at davenulle.org
Wed Jul 20 14:39:03 UTC 2011
Le Mon, 18 Jul 2011 19:18:53 +0400,
Dmitry Banschikov <d.banschikov at peterhost.ru> a écrit :
Hi,
> > is it possible to let a CARP-interface fail(-over) in the situation
> > when a certain program fails or stops working? I hope it's clear
> > enough what I have in mind. Could you give me any pointers on how
> > this can be archived?
>
> You can write simple script, which will monitor status of the
> program, and if program fails, it can adjust advskew parameter of the
> CARP interface forcing going interface to the backup state.
In addition, port net/ifstated could be useful for doing this kind of
things (here we monitor BGP sessions with it).
More information about the freebsd-net
mailing list