5 ms·
You don't know about keepalived or something? Your wait 3 days example is actually just bring the VIP up on another haproxy in one second. You can get essential
by staunch 12y ago
You don't know about keepalived or something? Your wait 3 days example is actually just bring the VIP up on another haproxy in one second. You can get essentially identical behavior like this. Kill keepalived and other box takes over IP instantly. VRRP.
- phil21 12y agoI haven't kept up on it, when did they add TCP state syncing? Edit: Glanced over the docs, I don't see this listed as an obvious feature. So I'm missing what your point is. If you mean you can failover a VIP instantly, sure I agree. But you're dropping the TCP session for all those clients utilizing that VIP at the moment. I was illustrating how with ECMP you can just wait a few minutes and the sessions migrate away/timeout then you do your maint without impacting a single TCP flow. Might not matter to you, matters to some folks.
- todayismyday2 12y agoThen use state "EQUAL" and nopreempt options. This will make your VIP failover only when one of the hosts dies and keep it there regardless of whether the new host came back up.