Date: Thu, 01 Jan 2015 22:29:05 +1100 From: Aristedes Maniatis <ari@ish.com.au> To: freebsd-net@freebsd.org Cc: Freddie Cash <fjwcash@gmail.com> Subject: Re: CARP vhid: across interfaces? Message-ID: <54A52F81.4080409@ish.com.au> In-Reply-To: <CAOjFWZ7rWN1RA8zwOC60FUNbGmb3oaPto8ALbKXqPbNnuV_nuA@mail.gmail.com> References: <54A52966.9040407@ish.com.au> <CAOjFWZ7rWN1RA8zwOC60FUNbGmb3oaPto8ALbKXqPbNnuV_nuA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/01/2015 10:22pm, Freddie Cash wrote: > There's a sysctl specifically for this. Not at my computer right now, but the following should make it jump out at you: > > # sysctl -d | grep carp I'm guessing this one (from the openBSD docs)... net.inet.carp.preempt Allow hosts within a redundancy group that have a better advbase and advskew to preempt the master. In addition, this option also enables failing over a group of interfaces together in the event that one interface goes down. If one physical CARP-enabled interface goes down, CARP will increase the demotion counter, carpdemote, by 1 on interface groups that the carp(4) interface is a member of, in effect causing all group members to fail-over together. net.inet.carp.preempt is 0 (disabled) by default. But the FreeBSD man page doesn't talk about carpdemote net.inet.carp.preempt Allow virtual hosts to preempt each other. When enabled, a vhid in a backup state would preempt a master that is announcing itself with a lower advskew. Disabled by default. At any rate what does "interface groups that the carp(4) interface is a member of" mean? Freddie, thanks for pointing me to this setting. Maybe the answer is in the somewhere. Ari -- --------------------------> Aristedes Maniatis ish http://www.ish.com.au Level 1, 30 Wilson Street Newtown 2042 Australia phone +61 2 9550 5001 fax +61 2 9550 4001 GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54A52F81.4080409>