Last active
March 7, 2017 03:38
-
-
Save psgganesh/e019fd237ce21177c637c106c7daaf9c to your computer and use it in GitHub Desktop.
Using digital ocean floating IPs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Complete tutorial | |
https://www.digitalocean.com/community/tutorials/how-to-create-a-high-availability-haproxy-setup-with-corosync-pacemaker-and-floating-ips-on-ubuntu-14-04 | |
Below is the main trouble-shooting steps missed on the above post. | |
As per: Pathfinder - https://www.digitalocean.com/community/users/pathfinder - Run below also. | |
sudo apt-get install python-pip | |
sudo pip install requests | |
Add below step too, missed on their aticle. | |
Need to export the DA_TOKEN variable to match your personal DA API token | |
export DA_TOKEN=<your-personal-digital-ocean-API-token> | |
Reboot both servers, all done and test it with curl command or browser | |
-- | |
Very important point: While you play around with re-booting servers on DA | |
Secondary is only a back-up server. | |
Floating IP will point to Secondary server automatically the moment Primary server is down | |
* But not the vice versa | |
All done :) | |
* Open to anyone to correct me, if the * statment is wrong, ready to hear your thoughts too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment