Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Aug 2011 17:39:43 +0200
From:      Patrick Lamaiziere <patfbsd@davenulle.org>
To:        Pavel Timofeev <timp87@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Can carp(4) run daemons or scripts?
Message-ID:  <20110823173943.0f17d4c5@mr12941>
In-Reply-To: <CAAoTqfvWP5C-Txc5qBNKgfSp2jjqduanZxLMa9dCYzRJ9Zt=Vw@mail.gmail.com>
References:  <CAAoTqfvWP5C-Txc5qBNKgfSp2jjqduanZxLMa9dCYzRJ9Zt=Vw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Le Tue, 23 Aug 2011 17:50:43 +0400,
Pavel Timofeev <timp87@gmail.com> a écrit :

Hello,

> Can carp(4) run daemons or scripts when backup server come into the
> work? As I know ucarp and heartbeat can do this.

No, carp only works at the interface level. In ports you will find
ifstated(8) (from OpenBSD). It can react to a change on an
interface and run tests.

Also may be with devd, but imo ifstated will do the trick.

Regards.



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