Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jul 2011 19:18:53 +0400
From:      Dmitry Banschikov <d.banschikov@peterhost.ru>
To:        freebsd-net@freebsd.org
Subject:   Re: CARP-interface fail-over in case required program fails.
Message-ID:  <4E244EDD.2000709@peterhost.ru>
In-Reply-To: <4E243D8F.1020305@gmx.de>
References:  <4E243D8F.1020305@gmx.de>

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

On 18.07.2011 18:05, Kim A. Brandt wrote:
> Hello list,
>
> 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.


-- 

Dmitry Banschikov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E244EDD.2000709>