<div dir="ltr">Er, ignore my last one. The setting you want is `backup` -- <a href="http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#5.2-backup">http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#5.2-backup</a></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 20, 2015 at 3:32 PM, Robert L. Harris <span dir="ltr"><<a href="mailto:robert.l.harris@gmail.com" target="_blank">robert.l.harris@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Guys,<div> I'm setting up an HAProxy to balance between some web servers. Working great with a least-used mode.</div><div><br></div><div> The next step is to balance between 2 databases but I don't want them in a round robin or even 'normal' balancing. The DBA's are setting up one-way data replication only ( long argument they are refusing to explain ). So I need to have 2 hosts in a 'cluster' with HostA as the single/primary and if it goes down, fail over to HostB. If HostA comes back up, do NOT fail back to HostA until manually told to do so ( data re-sync, etc ).</div><div><br></div><div>Any thoughts? I don't see an option to configure HAproxy in this type of config.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Robert</div><div><br></div></font></span></div>
<br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>James Sumners<br><a href="http://james.sumners.info/" target="_blank">http://james.sumners.info/</a> (technical profile)</div><div><a href="http://jrfom.com/" target="_blank">http://jrfom.com/</a> (personal site)</div><div><a href="http://haplo.bandcamp.com/" target="_blank">http://haplo.bandcamp.com/</a> (band page)</div></div></div></div></div>
</div>