<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Mon, Jan 14, 2013 at 9:43 AM, Digimer <span dir="ltr"><<a href="mailto:lists-5ZoueyuiTZiw5LPnMra/2Q@public.gmane.org" target="_blank">lists-5ZoueyuiTZiw5LPnMra/2Q@public.gmane.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 01/14/2013 09:33 AM, Jamon Camisso wrote:<br>
> On 13-01-14 08:57 AM, Dave Cramer wrote:<br>
>> It is relatively simple to distribute an application to a number of servers<br>
>> and use haproxy to switch ip's. What I can't figure out is how to switch<br>
>> make sure that the IP that points to ha-proxy can be moved easily if that<br>
>> machine fails ?<br>
><br>
> Research things like pacemaker, heartbeat, stonith, and using 3 or more<br>
> nodes in your system (3 nodes so that you don't end up in a split brain<br>
> situation, especially if your systems are distributed).<br>
><br>
> You'll likely want another back-channel method of communicating between<br>
> each system in case something goes awry - what if one your ISP/cloud<br>
> providers can't route public traffic to a node, but the node still<br>
> thinks it is online?<br>
><br>
> You want some method of achieving a quorum between remaining nodes, and<br>
> some method of killing off the rogue node.<br>
<br>
</div>A few points;<br>
<br>
- Heartbeat is deprecated, don't use it.<br>
- Quorum is optional. Both pacemaker and cman/rgmanager (Red Hat) use<br>
corosync for cluster communication and membership. Both can disable<br>
quorum and this is fine.<br>
- The members need to be (physically) close to each so that you can use<br>
fencing. Fencing is critical to safe operation of a cluster. Without it,<br>
it is easy/possible for a split-brain to occur.<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div><br></div><div style>If you place your machines physically close to one another then a geographical outage can take them both out. I guess pacemaker is more for machines dying than for geographical high availability </div>

<div style><br></div><div style>Dave</div><div style><br></div></div></div></div>