From owner-freebsd-net@FreeBSD.ORG Fri Jan 25 10:13:25 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2A7F4810 for ; Fri, 25 Jan 2013 10:13:25 +0000 (UTC) (envelope-from freebsd-net@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id D9E00BE6 for ; Fri, 25 Jan 2013 10:13:24 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TygHs-0003lU-13 for freebsd-net@freebsd.org; Fri, 25 Jan 2013 11:13:32 +0100 Received: from office-nat.spylog.net ([193.169.234.6]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Jan 2013 11:13:32 +0100 Received: from citrin by office-nat.spylog.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Jan 2013 11:13:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-net@freebsd.org From: Anton Yuzhaninov Subject: Re: Carp configuration errors Date: Fri, 25 Jan 2013 10:13:01 +0000 (UTC) Organization: Vega Lines: 12 Sender: Anton Yuzhaninov Message-ID: References: <0154442B-C0E9-4731-A85E-1A44F3ED1F47@develooper.com> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: office-nat.spylog.net X-Comment-To: Ask Bj?rn Hansen User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (FreeBSD/10.0-CURRENT (i386)) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2013 10:13:25 -0000 On Thu, 24 Jan 2013 21:26:46, Ask Bj?rn Hansen wrote: ABrH> After upgrading to 9.1 it seems like carp doesn't pay attention to advskew anymore. I have two boxes each setup with carp0 and carp1; the intention is that in regular operation proxy1 is master for carp0 and proxy2 for carp1. However, whichever box comes up second is BACKUP for both. 1. Do your have sysctl net.inet.carp.preempt=1 ? With preempt=0 box comes up second should be in backup state. 2. For carp problem troubleshooting it is useful temporary increase carp logs verbosity: sysctl net.inet.carp.log=2 -- Anton Yuzhaninov