When stopping (service keepalived stop), keepalived does send the priority 0 adverts so the backup server takes over almost immediately. However, when it goes to fault mode (check script returns not zero) then it just shuts up and then the other server waits until the adverts time out (3x advert interval) before going to MASTER state.

Is there a way to make keepalived send priority 0 adverts when going to FAULT state? It would speed up the failover process as the other host would not need to wait until the adverts timed out.


I ended up capturing the priority 0 packet and playing it back from the fault_notify script.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.