On Tue, 25 Oct 2011, Dimitri Maziuk wrote: > On 10/24/2011 10:49 PM, Hai Tao wrote: >> >> In case heartbeat communication is lost, brain split then happened, both >> nodes (a two nodes cluster for a simple example) are having the vip and >> other resources. >> >> When the heartbeat commnication comes back, what will happen? >> >> 1. both nodes will still having the vip and resources forever? >> 2. both nodes realize that brain split has happened, and will restart >> heartbeat? > > In theory -- #2 except they shouldn't restart heartbeat, one of them > should stop the resources. In practice one of the interesting things > that happen when the comms come back is you have a duplicate ip address > (vip) on your network. That's not something you want to happen, so you > better make sure one of the nodes is down before you restore the comms.
actually, I believe that what happens is that both nodes stop the resouce, and then one of the nodes starts it. this solves the dup-IP problem because starting the resource re-sends the appropriate ARP packets to clean up the network. David Lang _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
