From owner-freebsd-questions@freebsd.org Thu Dec 10 20:39:12 2015 Return-Path: Delivered-To: freebsd-questions@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 69D469D6743 for ; Thu, 10 Dec 2015 20:39:12 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from relay-b01.edpnet.be (relay-b01.edpnet.be [212.71.1.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "edpnet.email", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0FB28151A for ; Thu, 10 Dec 2015 20:39:11 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) X-ASG-Debug-ID: 1449778884-0a7ff530d4855750001-jLrpzn Received: from mordor.lan (77.109.103.53.adsl.dyn.edpnet.net [77.109.103.53]) by relay-b01.edpnet.be with ESMTP id D5bPvrYkSlu0j8zL (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 10 Dec 2015 21:21:25 +0100 (CET) X-Barracuda-Envelope-From: jcigar@ulb.ac.be X-Barracuda-Effective-Source-IP: 77.109.103.53.adsl.dyn.edpnet.net[77.109.103.53] X-Barracuda-Apparent-Source-IP: 77.109.103.53 Date: Thu, 10 Dec 2015 21:21:24 +0100 From: Julien Cigar To: Terje Elde Cc: Emmanuel Vadot , freebsd-questions@freebsd.org Subject: Re: CARP demotion counter Message-ID: <20151210202124.GO13477@mordor.lan> X-ASG-Orig-Subj: Re: CARP demotion counter References: <20151210182821.GM13477@mordor.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="sAMF9MHkXj43A5i+" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Barracuda-Connect: 77.109.103.53.adsl.dyn.edpnet.net[77.109.103.53] X-Barracuda-Start-Time: 1449778884 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://212.71.1.221:443/cgi-mod/mark.cgi X-Barracuda-Scan-Msg-Size: 1645 X-Virus-Scanned: by bsmtpd at edpnet.be X-Barracuda-Malware-Scanned: by bsmtpd at edpnet.be X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.25145 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2015 20:39:12 -0000 --sAMF9MHkXj43A5i+ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 10, 2015 at 08:27:56PM +0100, Terje Elde wrote: >=20 > > On 10 Dec 2015, at 20:00, Emmanuel Vadot wrote: > >=20 > > You need net.inet.carp.preempt=3D1 for MASTER returning to MASTER after= a BACKUP state. >=20 > If all things are otherwise equal, I've come to favor having redundant eq= uipment not be designated master/slave, but rather "router 1" and "router 2= " etc, where possible.=20 >=20 > It reduced "oh, the other is just backup"-impulses, promotes caring equal= ly for either box, and reduces the idea of failover and fallback being sepa= rate things.=20 >=20 > Also removes "we need to fail back to the master" as a thing to do after = a failover, while the equality makes it easier to do changes as a matter of= routine.=20 You're right, fundamentally I don't have any problem which box is the MASTER or the BACKUP as long as the CARP failover is done properly (which is the case).=20 It's just that I would like to understand why the demotion counter is=20 greater than 0 at boot and why the MASTER doesn't return when the cable is re-plugged (which is the expected behavior I think) :) >=20 > Terje >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --sAMF9MHkXj43A5i+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCgAGBQJWad69AAoJEAi2KiTKQR5p/8gQAKVGfinxIz+X8wpJ1Cgoxa4X okY1ZnpydRP1RYBXlC8toyKyDg5nQtjvMISl2UaB+RPaxCJsB/6F+S/tf19IBuwF z7Q/NcRDygW0KoYqrmhNWaciPNfKa5k+E4TD9sWrAFdBwGn6hftJo9JuWslSjNox 8+rslGV2tbZZJbgDD+f2hsAK1m29rf4bpHOFv7DEUJYFzR58hl/Ce3UwDemn3kH4 zHqy0NpRksXUcOnQJffXAo3zSiD1CRcSbwkRVkk8Wqtd2z0MzlgJxb9ERdEvwdBi bFzcePOiinKxa4FMMU3Jeu0IHv66PDBb3fXaV1WcCrzGKuSAT6+0JxHgX5ghKWLL ShOc3r1zxm3678H7zNKT2n+kqC5+V6TQLM3ziyzzscfxzmgWiBo4uJ3E62SpE9nM fVSLLBS7k6LGjYoNLIVORbuCSg8HUNdBoOfIXidqx9DiV2A+H/nZQ8kfNx+lh7Uf TD1KFXSbmvQf9xPM4aZuERIsoBgLMEQtQRZC9sby2jI9pE8UcFnHl2jvg1fDOUXG OV5iHxAxwbCtRSX+lapsNXXBtv0ioGGWJrYi08XwinqMq4WFNS+kGbS7lR1vNg7A a3Ro9fS4MTtO0u4Ajrz8xxUJw1Flslq5l9SONybDaQnDHBsnf1XCKIiqV/DNV/QD 1A1BUmNArq2R5+moaEf4 =wwqp -----END PGP SIGNATURE----- --sAMF9MHkXj43A5i+--