Date: Tue, 31 Mar 2015 18:02:44 +0200 From: Phi-Phong NGUYEN <phnguyen@biologie.ens.fr> To: freebsd-net@freebsd.org Subject: Re: FreeBSD 10.1 and ESXi 5.5 CARP setup Message-ID: <551AC524.7070208@biologie.ens.fr> In-Reply-To: <20150331142248.29b961db@efreet> References: <20150331142248.29b961db@efreet>
next in thread | previous in thread | raw e-mail | index | archive | help
I have a problem with carp too on FreeBSD 10.1 servers and posted a question but it seems to be more related to firmware network card. However your problem seems simplier as I had the same : If tcpdump reveals vrrp packets between servers and they are stuck in INIT state, try this workaround : Simply add in your /etc/sysctl.conf : ------------------- net.inet.carp.senderr_demotion_factor=0 # (default 240) If not, no preempt -> bug since FreeBSD10 ------------------- Cheers. On 03/31/2015 02:22 PM, Marko Cupać wrote: > Hi, > > I have CARP set up on two pairs of firewalls running OpenBSD directly > on metal. It works like a charm for almost 3 years now. Failover is > almost instant when shutting down master node. > > I am trying to implement CARP on a pair of FreeBSD 10.1 servers running > on top of VMWare ESXi 5.5U2, but so far haven't succedded. > > I tried both e1000 and vmx3f vNICs. I have made adjustments to ESXi as > described here: > https://doc.pfsense.org/index.php/CARP_Configuration_Troubleshooting#Hypervisor_users_.28Especially_VMware_ESX.2FESXi.29 > > I had interfaces stuck in INIT mode until I found this thread: > https://lists.freebsd.org/pipermail/freebsd-net/2014-October/040116.html > > After i put 'up' at the end of ifconfig_em0 It appears I am getting > MASTER and BACKUP, however on reboot of master, failover happens only > after master completely shuts down, which is almost 5 seconds. > > Is CARP supposed to work on FreeBSD 10.1 as ESXi 5.5 guest the same as > on bare-metal OpenBSD (instant failover)? If so, I'd be very grateful > if someone pointed me in the right direction. > > Thank you in advance, -- Phi-Phong NGUYEN Service informatique Institut de Biologie ENS 46 rue d'Ulm 75230 PARIS CEDEX 05 Tel: 01 44 32 36 34 Fax: 01 44 32 36 30
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?551AC524.7070208>