From owner-freebsd-questions@FreeBSD.ORG Tue Aug 23 15:39:46 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B5571065670 for ; Tue, 23 Aug 2011 15:39:46 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [91.121.44.19]) by mx1.freebsd.org (Postfix) with ESMTP id D52A28FC12 for ; Tue, 23 Aug 2011 15:39:45 +0000 (UTC) Received: from mr12941.univ-rennes1.fr (mr129041.cri.univ-rennes1.fr [129.20.129.41]) by smtp.lamaiziere.net (Postfix) with ESMTPA id 77C97FAA2DD3; Tue, 23 Aug 2011 17:39:44 +0200 (CEST) Received: from mr12941 (localhost.localdomain [127.0.0.1]) by mr12941.univ-rennes1.fr (Postfix) with ESMTP id 28AC87A000B; Tue, 23 Aug 2011 17:39:44 +0200 (CEST) Date: Tue, 23 Aug 2011 17:39:43 +0200 From: Patrick Lamaiziere To: Pavel Timofeev Message-ID: <20110823173943.0f17d4c5@mr12941> In-Reply-To: References: X-Mailer: Claws Mail 3.7.8 (GTK+ 2.24.4; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Can carp(4) run daemons or scripts? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2011 15:39:46 -0000 Le Tue, 23 Aug 2011 17:50:43 +0400, Pavel Timofeev 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.