Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Aug 2011 20:27:55 +0100
From:      Vincent Hoffman <vince@unsane.co.uk>
To:        Pavel Timofeev <timp87@gmail.com>
Cc:        Patrick Lamaiziere <patfbsd@davenulle.org>, freebsd-questions@freebsd.org
Subject:   Re: Can carp(4) run daemons or scripts?
Message-ID:  <4E53FF3B.40606@unsane.co.uk>
In-Reply-To: <CAAoTqftYHUn2gzDEYKG37p920F0i_6KG5dH9cuBOnryRwArHrg@mail.gmail.com>
References:  <CAAoTqfvWP5C-Txc5qBNKgfSp2jjqduanZxLMa9dCYzRJ9Zt=Vw@mail.gmail.com> <20110823173943.0f17d4c5@mr12941> <CAAoTqftYHUn2gzDEYKG37p920F0i_6KG5dH9cuBOnryRwArHrg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23/08/2011 17:21, Pavel Timofeev wrote:
> Oh, thank you very much!
> I didn't know about ifstated. I'll try it.
>
>> Also may be with devd
> How? What do you mean?
devd is the freebsd device state change daemon, it will track device
state changes and you can tell it to act on them.
A quick google for devd and carp gives
http://blather.michaelwlucas.com/archives/224
which looks like it covers the kind of thing you want.

Vince

>
> 2011/8/23 Patrick Lamaiziere <patfbsd@davenulle.org>
>
>> 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.
>>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"




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