RE: heartbeat prolem - two masters?
"Terry, Jason" <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
You probably want to add a ping for your network gateway. That way each machine will know if it should be master, or if it is just dead. Probably something like this in your ha.cf file ping 172.16.1.1 If the machine can't ping, it shouldn't set itself up as a master... that way if/when it does regain access, you shouldn't have the dual master problem. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jiang Sent: Saturday, June 10, 2006 9:30 AM To: [email protected] Subject: heartbeat prolem - two masters? Hi All, I am using two NICs to do Heartbeat, configuration as in ha.cf is like: ucast eth1 172.16.1.2 ucast eth3 172.16.2.2 Now if I disconnect both LAN cables, ldirectord of both nodes will be started. So it is an expected behaviour. But the problem is when I connect both cables back, None of the load balancers will shutdown their ldirectord, thus they all become masters... How can I solve this problem? Thanks! -- Regards, - Jiang - -- Ultra Monkey - http://www.ultramonkey.org/ To UNSUBSCRIBE, email to [email protected], with a body: unsubscribe ultramonkey-users [email protected] where "[email protected]" is YOUR email address. -- Ultra Monkey - http://www.ultramonkey.org/ To UNSUBSCRIBE, email to [email protected], with a body: unsubscribe ultramonkey-users [email protected] where "[email protected]" is YOUR email address.