From owner-freebsd-questions@FreeBSD.ORG Tue Aug 23 16:30:03 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 8B155106566C for ; Tue, 23 Aug 2011 16:30:03 +0000 (UTC) (envelope-from timp87@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4285C8FC0A for ; Tue, 23 Aug 2011 16:30:03 +0000 (UTC) Received: by ywo32 with SMTP id 32so264599ywo.13 for ; Tue, 23 Aug 2011 09:30:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=e/0Qh9PAlRXx24jmIc7YoJ3UOQSWfX15ticHn5quVMg=; b=x23AUWpqbKOvbMzy/vJ40Mw1E8kz1dVGWsZ7fC+EoJ9VCZuzYgOAH+0UL/HDml+S4U TUXjNqjp/C5bSGBEcKxZplbgQVf+AfObFUQ+Is+esWWyKacG0+rLJ8mw0euAnZycpXlv EvdqtPapnsBytCQIbPz+84eBpsgf7/0kExge4= MIME-Version: 1.0 Received: by 10.42.168.194 with SMTP id x2mr679252icy.42.1314116512950; Tue, 23 Aug 2011 09:21:52 -0700 (PDT) Received: by 10.231.36.66 with HTTP; Tue, 23 Aug 2011 09:21:52 -0700 (PDT) In-Reply-To: <20110823173943.0f17d4c5@mr12941> References: <20110823173943.0f17d4c5@mr12941> Date: Tue, 23 Aug 2011 20:21:52 +0400 Message-ID: From: Pavel Timofeev To: Patrick Lamaiziere Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 16:30:03 -0000 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? 2011/8/23 Patrick Lamaiziere > Le Tue, 23 Aug 2011 17:50:43 +0400, > Pavel Timofeev 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. >