Date: Wed, 20 Jul 2011 16:19:24 +0200 From: Patrick Lamaiziere <patfbsd@davenulle.org> To: "Kim A. Brandt" <kimabrandt@gmx.de> Cc: freebsd-net@freebsd.org Subject: Re: CARP-interface fail-over in case required program fails. Message-ID: <20110720161924.26a4fcf0@mr12941> In-Reply-To: <4E244EDD.2000709@peterhost.ru> References: <4E243D8F.1020305@gmx.de> <4E244EDD.2000709@peterhost.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Le Mon, 18 Jul 2011 19:18:53 +0400, Dmitry Banschikov <d.banschikov@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).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110720161924.26a4fcf0>