How can make master server and slave server

June 28, 2016 180 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.

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.