Question

How can I verify floating IP is on a different physical server for high availability?

Posted January 11, 2016 3.4k views
High Availability

I’m interested in using DO for a company that will need high availability. I really like the floating IP idea where it basically sets up high availability without all the mess.

Sounds good… something like creating a couple of droplets, synching them, and setting up the floating IP between them.

I’m digging this, but in order for it to be truly high available, it must work in the case of a hardware issue on one server, to push to another server still up.

How can I verify the droplets are on separate physical hardware?

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.

×
1 answer

We expose a “Droplet neighbors” API endpoint which can be used to verrify your Droplets are on seperate physical servers. Call it with:

curl -X GET -H "Content-Type: application/json" \
    -H "Authorization: Bearer $DO_TOKEN" \
    "https://api.digitalocean.com/v2/reports/droplet_neighbors" 

It will return a JSON array containing more arrays, one for each set of droplets that share a physical server. If no Droplets share a server, the response would look like:

{"neighbors":[]}
Submit an Answer