RE: heartbeat prolem - two masters?
"Terry, Jason" <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
If I remember what ping does properly... then it lets heartbeat know that its connection is dead, thus shutting it down as master... That way when it's connection is restored, it won't be a master. I couldn't find much on the ultramonkey site about the ping directive in ha.cf. But here is something on the linux-ha.org site http://linux-ha.org/PingNode -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ken Snider Sent: Monday, June 26, 2006 11:30 AM To: [email protected] Subject: Re: heartbeat prolem - two masters? Terry, Jason wrote: > 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. The original problem seems to be that if both balancers are down, then restored, they do not seem to realize this case, and both serve as master. Does adding a ping help in this case? -- Ken Snider -- 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.