Date: Mon, 25 Oct 2010 10:19:11 +0400 From: c0re <nr1c0re@gmail.com> To: freebsd-net@freebsd.org Subject: Re: carp and arp_rtrequest: bad gateway 1.1.1.5 (!AF_LINK) Message-ID: <AANLkTim1MSrQonQfyoT5CpZZ6rhUtz7vxOKFmqunn_s=@mail.gmail.com> In-Reply-To: <AANLkTimk6jN80k7AhDo6vDGoQzXepX-de75uegFO0Oqm@mail.gmail.com> References: <AANLkTimk6jN80k7AhDo6vDGoQzXepX-de75uegFO0Oqm@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
It's strange... No log messages about moving from BACKUP to MASTER. Oct 23 04:00:05 carp2 kernel: arp_rtrequest: bad gateway 1.1.1.5 (!AF_LINK) Oct 23 04:00:05 carp2 kernel: arp_rtrequest: bad gateway 1.1.1.6 (!AF_LINK) Oct 23 04:00:05 carp2 kernel: arp_rtrequest: bad gateway 1.1.1.9 (!AF_LINK) Oct 23 04:00:06 carp2 kernel: carp0: MASTER -> BACKUP (more frequent advertisement received) Oct 24 00:10:18 carp2 kernel: arp_rtrequest: bad gateway 1.1.1.5 (!AF_LINK) Oct 24 00:10:18 carp2 kernel: arp_rtrequest: bad gateway 1.1.1.6 (!AF_LINK) Oct 24 00:10:18 carp2 kernel: arp_rtrequest: bad gateway 1.1.1.9 (!AF_LINK) Oct 24 00:10:18 carp2 kernel: carp0: MASTER -> BACKUP (more frequent advertisement received) 2010/10/20 c0re <nr1c0re@gmail.com>: > I got 2 servers with CARP enabled. One is MASTER, second - BACKUP. > CARP is for HA of running some service on that servers. > > All works fine, but today I've got interesting case: > Service was not responding for 5 minutes. Can't tell more details > because it was said by not IT guy. > > Okay, I went to check logs on master and backup servers. All was fine > except dmesg and messages: > > Master server has no recored in messages for about 1 hour. > > But on slave server I saw that: > > Oct 20 12:15:00 carp-backup kernel: arp_rtrequest: bad gateway 1.1.1.5 > (!AF_LINK) > Oct 20 12:15:00 carp-backup kernel: arp_rtrequest: bad gateway 1.1.1.6 > (!AF_LINK) > Oct 20 12:15:00 carp-backup kernel: arp_rtrequest: bad gateway 1.1.1.9 > (!AF_LINK) > .................. > Oct 20 12:49:58 carp-backup kernel: arp_rtrequest: bad gateway 1.1.1.5 > (!AF_LINK) > Oct 20 12:49:58 carp-backup kernel: arp_rtrequest: bad gateway 1.1.1.6 > (!AF_LINK) > Oct 20 12:49:58 carp-backup kernel: arp_rtrequest: bad gateway 1.1.1.9 > (!AF_LINK) > > Total about 300 records. > > Can anyone comment something about it? What was that? Backup server > was loosing connectivity with Master server? > > In sysctl.conf I've got only net.inet.carp.preempt=1.Now I tuned log > to net.inet.carp.log=2. This should log carp info messages. > > Am I right about loosing connectivity between master-backup servers or > there can be another reason? >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTim1MSrQonQfyoT5CpZZ6rhUtz7vxOKFmqunn_s=>