CARP master not falling back (ignoring advskew)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: silvershadow123
Date: Friday, April 23, 2010 - 4:14 am

Hi list,

I found some traces of this 'issue' (if it actually is one, no idea), e.g. here:

http://www.pubbs.net/openbsd/200911/51706/

host A:

# cat /etc/hostname.carp1                                                      
inet 10.0.0.5 255.0.0.0 NONE vhid 2

host B:

# cat /etc/hostname.carp1                                                      
inet 10.0.0.5 255.0.0.0 NONE vhid 2 advskew 100

On both hosts:

# sysctl |grep carp                                                            
net.inet.carp.allow=1
net.inet.carp.preempt=1
net.inet.carp.log=2

# dmesg |head 
OpenBSD 4.6 (GENERIC.MP) #89: Thu Jul  9 21:32:39 MDT 2009
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 499 MHz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX
real mem  = 268009472 (255MB)
avail mem = 250314752 (238MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/10/07, BIOS32 rev. 0 @ 0xfceb2
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000

(ALIX boards by PC Engines.)

However, if host A is MASTER (the 'usual' setup) and then reboots, host B becomes MASTER -- perfect. However, if host A is back online again, it does NOT become MASTER again. Host B stays MASTER (either until its rebooted or the carp or underlying interfaces are shut down).

Is this a known behaviour? Is it wanted? Thanks for shedding light on this.

Best,

Donald
-- 
GRATIS f|r alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
CARP master not falling back (ignoring advskew), silvershadow123, (Fri Apr 23, 4:14 am)
Re: CARP master not falling back (ignoring advskew), Janne Johansson, (Fri Apr 23, 4:42 am)
Re: CARP master not falling back (ignoring advskew), Otto Moerbeek, (Fri Apr 23, 4:47 am)
Re: CARP master not falling back (ignoring advskew), silvershadow123, (Fri Apr 23, 5:13 am)