High Availability Setup with Heartbeat and Floating IPs question about location

October 1, 2018 835 views
High Availability Ubuntu 18.04

Hi,

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?

Regards,
Garry

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.
2 Answers
unixynet October 1, 2018
Accepted Answer

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.

Cheers

Hi,

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.

Regards,
Garry

Have another answer? Share your knowledge.