CARP on backup doesn't relinquish MASTER
marko.lerota at zg.t-com.hr
Wed Jun 13 08:08:26 UTC 2007
Rudy Rucker <crapsh at monkeybrains.net> writes:
> I noticed that if I reboot a server that is the MASTER, the carp0 on
> the BACKUP box goes into MASTER mode and stays that way -- even when
> the real master machine has finished rebooting. Is this a desired
> trait to prevent CARP from switching IPs out of control?
Yes, it depends of what you have put in 'net.inet.carp.preempt'
if it's net.inet.carp.preempt=0
than the backap will become master and stays that way
and if it's net.inet.carp.preempt=1
then the "real" master will take over the IP address from backup
server when he gets in the OK state
One cannot sell the earth upon which the people walk
More information about the freebsd-net