Report this

What is the reason for this report?

Is it possible to have Multiple HaProxy?

Posted on August 31, 2014

Hello,

I just read this tutorial serie https://www.digitalocean.com/community/tutorials/an-introduction-to-haproxy-and-load-balancing-concepts

I have a question, with this haProxy, pretty much any server could go down, and the user won’t see a anything. But what about the haProxy server? What if he goes down? Is there a way to have 2 HaProxy (or more)? So one could go down and everything is still working?

Thank you



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This comment has been deleted

At the moment we don’t provide support for floating IPs which would allow you to setup heartbeat or another service to swap the active IP between two HAProxy servers.

In the meantime if you want to add a bit of redundancy you can setup two separate HAProxy servers and use DNS round-robin to distribute the load between them in an active-active state. That won’t provide complete failover in the case one goes down but it will provide some redundancy to ensure that not all connections are rejected if a load balancer has failed.

Floating IPs are on our roadmap specifically to allow customers to setup redundant load balancing and other services.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.