Hey all!
In carp(4) or ifconfig(8) no information when in seconds BACKUP will be MASTER.
I mean, 'man ifconfig' from openbsd says:
so if advbase=1 and advskew=100, formula 3*(1+100/256)= ~4 seconds.
But when I make [cmd=]ifconfig carp0 down[/cmd] on primary server with advskew=0 I see that second (backup) server becomes MASTER immediately, no 4 seconds timeout.
So how truly CARP works on FreeBSD?
My backup server is too frequently becomes MASTER (about 5-10 times per day) and I can't understand why.
In carp(4) or ifconfig(8) no information when in seconds BACKUP will be MASTER.
I mean, 'man ifconfig' from openbsd says:
Taken together, the advbase and advskew indicate how frequently, in
seconds, the host will advertise the fact that it considers itself master
of the virtual host. The formula is advbase + (advskew / 256). If the
master does not advertise within three times this interval, this host
will begin advertising as master.
so if advbase=1 and advskew=100, formula 3*(1+100/256)= ~4 seconds.
But when I make [cmd=]ifconfig carp0 down[/cmd] on primary server with advskew=0 I see that second (backup) server becomes MASTER immediately, no 4 seconds timeout.
So how truly CARP works on FreeBSD?
My backup server is too frequently becomes MASTER (about 5-10 times per day) and I can't understand why.