Re: failover without downtime?
Amir Dafny-Man <[email protected]>
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Message-ID | <[email protected]> |
Regretfully this will not achieve what you want. When Keepalived is killed any virtual routers that were MASTER do not fallback to BACKUP and the resources they use (IPs and routes) remain defined on the server. On the secondary node however, when the MASTER was killed it stopped sending heart-beat messages. The secondary node will become MASTER and bring up all resources on it. When it sends gratuitous ARP, all network members ARP tables will be overwritten with the secondary node's MAC. At this point all existing connections to the original MASTER will be severed in an ugly way. They will continue communication to the service but will realize it does not recognize them as they are now communicating with the secondary node. What you want is to place your service behind a load balancer that can gracefully stop existing traffic to one node while allowing new traffic to the second node. Amir -----Original Message----- From: Stig Brautaset [mailto:[email protected]] Sent: Monday, February 15, 2016 12:50 To: [email protected] Subject: [Keepalived-devel] failover without downtime? I've inherited a live environment with a keepalived setup. Unfortunately the corresponding dev/test environments doesn't have keepalived, presumably for lack of IPs. (Noone still here _knows_, but that fits the symptoms.) We would like to fail over to the BACKUP, but we don't want to take the primary box offline -- as we don't want to fail the connections already in progress. Can I just kill the keepalived daemon running as MASTER? Will that that initiate a failover to the BACKUP without downtime for the traffic? I.e. new connections go to BACKUP but MASTER's old traffic is left to finish? Stig ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Keepalived-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/keepalived-devel ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140