Re:Don't ever use Digital Ocean as your production System.
by SEJeff on Monday May 12, 2014 @10:15AM
(#7732781)
Yes, and then setup keepalived on them so you have a stable VIP that is guaranteed to move between them. I did a writeup of how we did it (when I worked there) for ticketmaster here:
The gist is that you have a dummy interface ie: dummy0, and when you down that interface, the VIP flips to the backup node with the highest VRRP priority.
http://www.digitalprognosis.com/opensource/scripts/keepalive...
The gist is that you have a dummy interface ie: dummy0, and when you down that interface, the VIP flips to the backup node with the highest VRRP priority.