Carp configuration errors

Anton Yuzhaninov citrin at citrin.ru
Fri Jan 25 10:13:25 UTC 2013


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



More information about the freebsd-net mailing list