Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2011 17:36:55 +0200
From:      "Kim A. Brandt" <kimabrandt@gmx.de>
To:        Patrick Lamaiziere <patfbsd@davenulle.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: CARP-interface fail-over in case required program fails.
Message-ID:  <4E26F617.1030405@gmx.de>
In-Reply-To: <20110720161924.26a4fcf0@mr12941>
References:  <4E243D8F.1020305@gmx.de>	<4E244EDD.2000709@peterhost.ru> <20110720161924.26a4fcf0@mr12941>

next in thread | previous in thread | raw e-mail | index | archive | help

Thanks Patrick and Dmitry,

indeed `ifstated' and the ``running external tests''-part, sound like it will be helpful.

/Kim

On 2011-07-20 16:19, Patrick Lamaiziere wrote:
> 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?4E26F617.1030405>