You are not logged in.
Does anyone know the syntax/option for keepalived to specify a delay before preempting the current master when the master "fails"?
I have a pair of firewalls where the backup tries taking over a little too early because the master is very busy, the backup thinks it's dead. It only takes less than a second for it to detect that the master is OK though, so I just need it to wait 1 or 2 seconds before initiating a takeover.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
It seems there isn't the option you are searching for.
There's
# Seconds after startup until preemption
# (if not disabled by "nopreempt").
# Range: 0 (default) to 1,000
# NOTE: For this to work, the initial state of this
# entry must be BACKUP.
preempt_delay 300 # waits 5 minutesthat seems to apply only on daemon start.
Maybe trying to increase advert_int
# VRRP Advert interval, secs (use default)
advert_int 1so that the two firewalls talk to each other less frequently.
Offline
Yeah, I saw the preemt delay, which is exactly what I want, except not only at start up ![]()
I did try increasing advert_int to 3 and it made the whole setup incredibly unstable for some reason. It immediately started thrashing between MASTER and BACKUP states on the box that should have been BACKUP ![]()
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
maybe you should try asking the official mailing list...
Offline