Date: Wed, 24 Aug 2011 08:39:36 +0400 From: Pavel Timofeev <timp87@gmail.com> To: Vincent Hoffman <vince@unsane.co.uk> Cc: Patrick Lamaiziere <patfbsd@davenulle.org>, freebsd-questions@freebsd.org Subject: Re: Can carp(4) run daemons or scripts? Message-ID: <CAAoTqfvU%2BNG_akt1P-EUq_x0WHwsPTr4HEuEoexXcH-XOzgyeA@mail.gmail.com> In-Reply-To: <4E53FF3B.40606@unsane.co.uk> References: <CAAoTqfvWP5C-Txc5qBNKgfSp2jjqduanZxLMa9dCYzRJ9Zt=Vw@mail.gmail.com> <20110823173943.0f17d4c5@mr12941> <CAAoTqftYHUn2gzDEYKG37p920F0i_6KG5dH9cuBOnryRwArHrg@mail.gmail.com> <4E53FF3B.40606@unsane.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Big thanks! I'll stop on carp and devd! I think such example (from your link) must be in handbook. Because it's goo= d native solution from base system. Or at least link from carp section to devd section. Who do I need to write with this idea? 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 =C3=A9crit : > >> > >> 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?CAAoTqfvU%2BNG_akt1P-EUq_x0WHwsPTr4HEuEoexXcH-XOzgyeA>