From owner-freebsd-fs@FreeBSD.ORG Mon Feb 21 16:05:43 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44FBD10656AB for ; Mon, 21 Feb 2011 16:05:43 +0000 (UTC) (envelope-from prvs=026c6f404=Christian.Vogt@haw-hamburg.de) Received: from mx6.haw-public.haw-hamburg.de (mx6.haw-public.haw-hamburg.de [141.22.6.3]) by mx1.freebsd.org (Postfix) with ESMTP id CB5B88FC1A for ; Mon, 21 Feb 2011 16:05:42 +0000 (UTC) Received: from dehawshub01.mailcluster.haw-hamburg.de ([141.22.200.36]) by mail6.is.haw-hamburg.de with ESMTP/TLS/RC4-MD5; 21 Feb 2011 16:55:36 +0100 Received: from dehawscas03.mailcluster.haw-hamburg.de (141.22.200.53) by DEHAWSHUB01.mailcluster.haw-hamburg.de (141.22.200.36) with Microsoft SMTP Server (TLS) id 8.1.358.0; Mon, 21 Feb 2011 16:55:36 +0100 Received: from [172.20.0.45] (141.22.200.55) by haw-mailer.haw-hamburg.de (141.22.200.80) with Microsoft SMTP Server (TLS) id 8.1.358.0; Mon, 21 Feb 2011 16:55:36 +0100 From: Christian Vogt Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 21 Feb 2011 16:55:35 +0100 Message-ID: <2C4EE30F-7731-4B84-ADC6-75C0266863F0@haw-hamburg.de> To: MIME-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) Cc: Subject: hastd Failover with ucarp X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 16:05:43 -0000 Hello!=20 Thanks for the great work, I like this straight-forward FreeBSD a lot = from what I experienced untill now. I used the HAST How-To from = http://wiki.freebsd.org/HAST and it works perfectly if I use "pkill = -USR2 -f 'ucarp -B'" to initiate the failover. The secondary node = becomes primary and the carp-interface is switched over to it.=20 But if I do a hard shutdown of the primary node it doesn't work, the = secondary node doesn't get primary. The ucarp-up script on the secondary = node is executed, but it fails because of the still running secondary = worker process (Secondary process for resource test is still running = after 30 seconds). Is the secondary process expected to end = automatically, when the primary process fails? Thanks for your help Christian=