From owner-freebsd-net@FreeBSD.ORG Mon Jul 18 15:18:56 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4DC5106564A for ; Mon, 18 Jul 2011 15:18:56 +0000 (UTC) (envelope-from d.banschikov@peterhost.ru) Received: from smtp.z8.ru (smtp.z8.ru [80.93.62.30]) by mx1.freebsd.org (Postfix) with ESMTP id 4C50D8FC08 for ; Mon, 18 Jul 2011 15:18:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=peterhost.ru; s=y2011-v1; h=Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=tbpz2md5ZTAXtMlwJE96/xmm7XnVQIYRjMOoKp41PMs=; b=JD+59ysVD9gV48xv2M7MSnhOOVjyCaoSzbP9X4ZEG04EzTx6pGxwWJFY5dTQVFvgsiImuSIfojDDNiF1LwGBOFQbGwitfS3Mdb9j27sEej4a24LeLLBN6QijxxkWwxaxkXbbt8qPvoeI7YLK76HeZVKYRWbnu/EdIQaFSx1udcE=; Received: from [212.116.101.94] (helo=[10.10.32.3]) by smtp.z8.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.71 (FreeBSD)) (envelope-from ) id 1Qipan-000OAG-8V for freebsd-net@freebsd.org; Mon, 18 Jul 2011 19:18:45 +0400 Message-ID: <4E244EDD.2000709@peterhost.ru> Date: Mon, 18 Jul 2011 19:18:53 +0400 From: Dmitry Banschikov User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110626 Icedove/3.1.11 MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <4E243D8F.1020305@gmx.de> In-Reply-To: <4E243D8F.1020305@gmx.de> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms030802070903090800090601" X-SA-Exim-Connect-IP: 212.116.101.94 X-SA-Exim-Mail-From: d.banschikov@peterhost.ru X-SA-Exim-Scanned: No (on smtp.z8.ru); SAEximRunCond expanded to false X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: CARP-interface fail-over in case required program fails. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2011 15:18:56 -0000 This is a cryptographically signed message in MIME format. --------------ms030802070903090800090601 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable On 18.07.2011 18:05, Kim A. Brandt wrote: > Hello list, > > is it possible to let a CARP-interface fail(-over) in the situation whe= n > a certain program fails or stops working? I hope it's clear enough what= > I have in mind. Could you give me any pointers on how this can be archi= ved? > You can write simple script, which will monitor status of the program,=20 and if program fails, it can adjust advskew parameter of the CARP=20 interface forcing going interface to the backup state. --=20 Dmitry Banschikov --------------ms030802070903090800090601--