From owner-freebsd-questions@FreeBSD.ORG Fri Aug 8 06:07:48 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E43741065683 for ; Fri, 8 Aug 2008 06:07:48 +0000 (UTC) (envelope-from ccowart@rescomp.berkeley.edu) Received: from hal.rescomp.berkeley.edu (hal.Rescomp.Berkeley.EDU [169.229.70.150]) by mx1.freebsd.org (Postfix) with ESMTP id CE5D78FC1B for ; Fri, 8 Aug 2008 06:07:48 +0000 (UTC) (envelope-from ccowart@rescomp.berkeley.edu) Received: by hal.rescomp.berkeley.edu (Postfix, from userid 1225) id 39FB23C048C; Thu, 7 Aug 2008 22:52:42 -0700 (PDT) Date: Thu, 7 Aug 2008 22:52:42 -0700 From: Christopher Cowart To: Omer Faruk SEN Message-ID: <20080808055242.GJ71785@hal.rescomp.berkeley.edu> Mail-Followup-To: Omer Faruk SEN , questions@freebsd.org References: <51933820.20080805173127@faruk.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="D5HQcwfjqNcvOcn2" Content-Disposition: inline In-Reply-To: <51933820.20080805173127@faruk.net> Organization: RSSP-IT, UC Berkeley User-Agent: Mutt/1.5.16 (2007-06-09) Cc: questions@freebsd.org Subject: Re: carp interface and running manual 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: Fri, 08 Aug 2008 06:07:49 -0000 --D5HQcwfjqNcvOcn2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Omer Faruk SEN wrote: > Is it possible to run a script after carp interface becomes MASTER? Ie > external script that runs the required services.. You should look at the ucarp implementation provided in ports (net/ucarp). I believe it does its magic in userland and supports the execution of arbitrary scripts. --=20 Chris Cowart Network Technical Lead Network & Infrastructure Services, RSSP-IT UC Berkeley --D5HQcwfjqNcvOcn2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iQIcBAEBAwAGBQJIm98qAAoJEIGh6j3cHUNPYi0QAJ9JnT5drnEy8zRo0Ov57Rjz rpO76CZJwjziAwxrMWsiGLHx2AYQWxkqM731nONlHA9Hh1eySElV2XOYNgCveKQX dYSRmZlsn7K5aY5T/B5YFhpoxwi1vhsBz1qhbq5Iiyoyjodhm5xgmgggJBbWDmps AY4dKrnvK5Sejub/Mw9G7Pmg4d4Z/tGyocL1S0WZMGdSxu1Va0NMU6/9vou+NIGZ KgEWbO2t+P2ziQWsQJbKZYSKILl1gA//ZSl3IORz8ZBNBfI23DwzjSOFHwVYP8s4 KFh16l4Z1WZl4dp2gfSgAjxYVk5yvfwmk/X918UyDWiL1Zy+s4A5tGLXZC12TndJ 7t8f0jaimk8YUwS4EESosZGh6ovhYWMdj9fC2xzhVLy8oyiZRBLLT1QdASv0Bca0 FkVUkzjpXb81S8R0QPU1BbFWpqbqJ6RkGkOTQg9S7+LPEeyQJh1xtce+PDs6RnxV dt9mla59aIWoP3A+jz6MQKvYSCINhglB5yQ5cJtz0pvtOEQohNBGPG7aC+02Ex85 ASIOjvK3uI5g+f3itQ2UlZF1b12/ZcBv+8X0Hj7niK8+7TftJM40kLorpLdhKo0d iio7+1N931XfAhsWH1RYy5QkH0K6hAsI0iv/MRYovGNIs5vRtthhkDMwQRNV/EZK GLkYMj35IgOu/AKS7yaB =pqZL -----END PGP SIGNATURE----- --D5HQcwfjqNcvOcn2--