Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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