How can make master server and slave server

June 28, 2016 2.3k views

Can i have two servers Master server for my website and if this server is down or have any problem like network etc .. then slave server start working ??

i need this because DO have network problem in our server`s region ! and all our servers down !

1 Answer

This guide will walk you through configuring a setup that will watch your droplets and if one becomes unreachable it will failover connections to the other. It should fit your requirements.

by Justin Ellingwood
Keepalived is a service that can monitor servers or processes in order to implement high availability on your infrastructure. In this guide, we will use the `keepalived` daemon to monitor two web servers. The secondary server will take over the web traffic if the primary server experiences issues by automatically claiming ownership of a shared Floating IP address using the DigitalOcean API.
Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!