Can carp(4) run daemons or scripts?
vince at unsane.co.uk
Tue Aug 23 19:27:59 UTC 2011
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
which looks like it covers the kind of thing you want.
> 2011/8/23 Patrick Lamaiziere <patfbsd at davenulle.org>
>> Le Tue, 23 Aug 2011 17:50:43 +0400,
>> Pavel Timofeev <timp87 at gmail.com> a écrit :
>>> 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.
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions