From owner-freebsd-stable@freebsd.org Thu Dec 1 20:10:20 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BE8C0C614BB for ; Thu, 1 Dec 2016 20:10:20 +0000 (UTC) (envelope-from prvs=01431e17f3=rblayzor.bulk@inoc.net) Received: from mta2.alb.inoc.net (mta2.alb.inoc.net [IPv6:2607:f058:110:2::1:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8DBFD1591 for ; Thu, 1 Dec 2016 20:10:20 +0000 (UTC) (envelope-from prvs=01431e17f3=rblayzor.bulk@inoc.net) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=inoc.net; s=201501; h=X-Auth-Info:To:Date:Message-Id:Subject:Mime-Version:Content-Type :From; bh=Qhmfn1Aw0q4DX0VrdyrPNX6BgkWYgRU1Yxwhu/YH4Gc=; b=nZc+mPID0eUvCRdRPNA XK5OZ4S0A8AiJzaUX1/Zh4ILM66XbG9LQQwdWm8usF87N6rnF9nYYaLH+fqjbNYNwAVor9FJI4/KG 9mx++UuL6RRvupBURPjB1g0pMjyOAYD4+rIVwinZ77pyLwAiDxJufb+P5PYegkpQVrgxILrqQtFuv PtCsBGLUq3KrN6KuEtUCT+UOAtES9hFzF/dPHNhB4bLwGtLtw95DRIBtEuOZ+2IvQG/8uxz9ZNFqY sWHLgdawGGr9r4EeLYV3G1/+DHBZdrYjqOEyN4yaElQk+Okfcm5QkWXAjSxRq0H/y0nsl2agCAYpE +e1P0WnNsM07JgQ==; Received: from [2607:f058:11:a:f814:c09a:fe7a:d8a4] by mail.inoc.net with ESMTPA (Exim 4.87) (envelope-from ) id 1cCXgR-0007dw-NM by authid for freebsd-stable@freebsd.org; Thu, 01 Dec 2016 20:10:19 +0000 From: Robert Blayzor Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: CARP master election changed in 11.0 ? Message-Id: Date: Thu, 1 Dec 2016 15:10:16 -0500 To: FreeBSD Stable X-Mailer: Apple Mail (2.3251) X-Auth-Info: cmJsYXl6b3JAaW5vYy5uZXQ= X-Virus-Scanned: ClamAV 0.99.2/22637/Thu Dec 1 15:28:24 2016 X-Origin-Country: US X-Anti-Abuse: Please report to abuse@inoc.net X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2016 20:10:20 -0000 Did something change between 10.x and 11.0 with carp MASTER election and = advskew?=20 I have several 10.3 servers where the master is elected based on the = member with the LOWEST advskew. =46rom a pair of 10.3 servers: vlan: 100 parent interface: lagg0 carp: MASTER vhid 10 advbase 1 advskew 100 vlan: 100 parent interface: lagg0 carp: BACKUP vhid 10 advbase 1 advskew 110 Deploying a new pair of 11.0-RELEASE servers, I see the opposite; seems = like the member with the HIGHEST advskew wins now: carp: BACKUP vhid 20 advbase 1 advskew 0 groups: lagg carp: MASTER vhid 20 advbase 1 advskew 100 groups: lagg Preemption doesn=E2=80=99t seem to matter, even with preemption enabled. = (which it is). =46rom OpenBSD, man reads: advskew This optional parameter specifies how much to skew the advbase when = sending CARP advertisements. By manipulating advskew, the master CARP = host can be chosen. The higher the number, the less preferred the host = will be when choosing a master. The default is 0. Acceptable values are = from 0 to 254. And this seems true in 10.3 but reversed in 11.0 ? -- inoc.net!rblayzor XMPP: rblayzor.AT.inoc.net PGP Key: 78BEDCE1 @ pgp.mit.edu