High Availability Setup with Heartbeat and Floating IPs question about location

Posted October 1, 2018 2.5k views
High AvailabilityUbuntu 18.04


I followed the High Availability Setup with Heartbeat and Floating IPs for Ubuntu 16.04 with both droplets in the UK.

I was wondering if I can have a droplet in the UK and France or elsewhere.
Or the droplets need to be in the same location?


1 comment
  • This guide mentions that the droplets would be in the same location. I am unsure if it is mandatory tho.

    by Mitchell Anicas
    Heartbeat is an open source program that provides cluster infrastructure capabilities—cluster membership and messaging—to client servers, which is a critical component in a high availability (HA) server infrastructure. Heartbeat is typically used in conjunction with a cluster resource manager (CRM), such as Pacemaker, to achieve a complete HA setup. However, in this tutorial, we will demonstrate how to create a 2-node HA server setup by simply using Heartbeat and a DigitalOcean Floating IP.

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.

Submit an Answer
2 answers

Hi Garry

Droplets need to be in the same data center for Load Balancers and Floating IPs. So technically you’re only protecting yourself from local server hardware failures. Network, weather, and geopolitical issues will affect availability.



So I presume the answer to that is setup another set in a different datacenter and failover to them if the main set goes down, then use DNS failover or maybe even round robin.