Question

Digital ocean change floating ip address from dropplet command

Posted April 23, 2018 2.2k views
UbuntuDigitalOcean Articles

Can i put a rule on floating ip, or possibly can run a command on a droplet to change the floating ip address reference to a different droplet (prefered).

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

You can. Here is an example of using floating IPs with heartbeat to implement an automatic failover configuration.

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.
Submit an Answer