Have you tried simply unplugging one's network cable? (to more closely
replicate what would happen during a hard lock or panic?) I should think
things won't be as smooth. Additionally, what happens if you shut the
master down in to Single-User mode?
I'm seeing a bug where if the MASTER is shutdown to single user mode it
stops the BACKUP from becoming MASTER. ...which is somewhat disturbing
as the original MASTER no longer actually performs any useful network
functions, but it does prevent takeover of the ARP address.
Has anyone else tested/run in to this?
-Eli
Chad M Stewart wrote:
On Nov 22, 2005, at 11:52 AM, Ralf Hornik Mailings wrote:
Could this be a bug in preemption? Has anyone else successfully set up
carp with preemption? My OS is now OpenBSD 3.8 RELEASE. After going to
stable, I'll be back! :-)
This past weekend I implemented a pair of 3.8 (right of CD) carp/pf
firewalls in a production role. They are working great. I can be
watching movie trailers and while the trailer is still downloading I
can 'ifconfig rl0 down' on the active node and poof things fail over.
The trailer keeps downloading. 10 seconds later I can 'ifconfig rl0
up' on the now backup node and within seconds it becomes the active
node again. The trailer keeps downloading and playing.
/etc/hostname.carp0
vhid 1 pass foobar carpdev rl0 1.2.3.4 netmask 255.255.255.248
/etc/hostname.carp1
vhid 2 pass foo carpdev rl1 192.168.1.1 255.255.255.0
/etc/hostname.rl0
inet 172.16.10.1 255.255.255.0
!ifconfig rl0 description WAN
/etc/hostname.rl1
inet 192.168.1.44 255.255.255.0
!ifconfig rl1 description LAN
/etc/hostname.rl2
inet 172.16.30.1 255.255.255.0
!ifconfig pfsync0 syncdev rl2
!ifconfig rl2 description "ADM"
[EMAIL PROTECTED] grep carp /etc/sysctl.conf
net.inet.carp.preempt=1
net.inet.carp.log=1
-Chad