Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Dec 2015 21:21:24 +0100
From:      Julien Cigar <jcigar@ulb.ac.be>
To:        Terje Elde <terje@elde.net>
Cc:        Emmanuel Vadot <manu@bidouilliste.com>, freebsd-questions@freebsd.org
Subject:   Re: CARP demotion counter
Message-ID:  <20151210202124.GO13477@mordor.lan>
In-Reply-To: <F5A58402-FBA6-4B18-B78A-D38C4AA8D3D4@elde.net>
References:  <20151210182821.GM13477@mordor.lan> <ee17d45f9f7b1a24f76b59b09608d466@megadrive.org> <F5A58402-FBA6-4B18-B78A-D38C4AA8D3D4@elde.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <manu@bidouilliste.com> 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+--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151210202124.GO13477>