From 0b3cf7da55d8d1ea65aedd3ce4270228889918ce Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 3 Mar 2015 14:18:46 -0500 Subject: [PATCH] Tweak the carp demotion factors slightly to avoid CARP transitions that are most likely unnecessary. --- etc/inc/globals.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc index a7654f9629..1c8c4d4381 100644 --- a/etc/inc/globals.inc +++ b/etc/inc/globals.inc @@ -166,6 +166,8 @@ $sysctls = array("net.inet.ip.portrange.first" => "1024", "net.enc.out.ipsec_filter_mask" => "0x0001", "net.enc.in.ipsec_bpf_mask" => "0x0002", "net.enc.in.ipsec_filter_mask" => "0x0002" + "net.inet.carp.senderr_demotion_factor" => 0, /* Do not demote CARP for interface send errors */ + "net.pfsync.carp_demotion_factor" => 0 /* Do not demote CARP for pfsync errors */ ); /* Include override values for the above if needed. If the file doesn't exist, don't try to load it. */