Question

How can make master server and slave server

Posted June 28, 2016 2.4k views
Networking

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 !

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

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