Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Aug 2011 10:23:52 +0100
From:      Vincent Hoffman <vince@unsane.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: Can carp(4) run daemons or scripts?
Message-ID:  <4E54C328.5000202@unsane.co.uk>
In-Reply-To: <CAAoTqfvU+NG_akt1P-EUq_x0WHwsPTr4HEuEoexXcH-XOzgyeA@mail.gmail.com>
References:  <CAAoTqfvWP5C-Txc5qBNKgfSp2jjqduanZxLMa9dCYzRJ9Zt=Vw@mail.gmail.com> <20110823173943.0f17d4c5@mr12941> <CAAoTqftYHUn2gzDEYKG37p920F0i_6KG5dH9cuBOnryRwArHrg@mail.gmail.com> <4E53FF3B.40606@unsane.co.uk> <CAAoTqfvU+NG_akt1P-EUq_x0WHwsPTr4HEuEoexXcH-XOzgyeA@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 24/08/2011 05:39, Pavel Timofeev wrote:
> Big thanks! I'll stop on carp and devd!
> I think such example (from your link) must be in handbook. Because it's good
> native solution from base system.
> Or at least link from carp section to devd section.
> Who do I need to write with this idea?

Too late :)
I should have looked here first but i just did a quick Google.
http://www.freebsd.org/doc/handbook/disks-hast.html

You could suggest on
freebsd-doc<http://docs.freebsd.org/mail/archive/freebsd-doc.html>@ to
have a  link from the carp section though.

Vince
>
> 2011/8/23 Vincent Hoffman <vince@unsane.co.uk>
>
>> 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"
>>
>>
> _______________________________________________
> 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: <http://docs.FreeBSD.org/cgi/mid.cgi?4E54C328.5000202>