How about handling it on the backend. Setup your health checks on a different port and forward that port with iptables to the actual health check. When you fail over to the slave have some automation that detects that and shuts down iptables on the master. When your ready to receive traffic again startup iptables on the master so the health checks pass again
Michael Glenney Sent from my iPhone On May 15, 2013, at 10:19 PM, Jayadevan M <[email protected]> wrote: > Hi, > We are using HAProxy to check for MySQL availability and failing over to a > slave. Is it possible to stop HAProxy going back to the master once it is up? > We want that to happen after manual intervention. > Regards, > Jayadevan > > > DISCLAIMER: "The information in this e-mail and any attachment is intended > only for the person to whom it is addressed and may contain confidential > and/or privileged material. If you have received this e-mail in error, > kindly contact the sender and destroy all copies of the original > communication. IBS makes no warranty, express or implied, nor guarantees the > accuracy, adequacy or completeness of the information contained in this email > or any attachment and is not liable for any errors, defects, omissions, > viruses or for resultant loss or damage, if any, direct or indirect."

