Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i had configured a MySQl Replication Server with 2 DB Servers.Now we are planning to implement a failover Scenario.If Master fails The slave should act as a Master and we have a addition server.It will be going to act as slve.i had mentioned the points below..
1.Replication is made between Master (DBS 1) and Slave (DBS 2) (successfully done)
2.If Master (DBS 1) failed Slave (DBS 2) should act as a Master and Additional Server (DBS 3) needs to be Slave
3.Whenever Orginal Master (DBS 1) became online the current Master ie ..Slave (DBS 2) should go back to Slave position and all lost data will be replicated to Master DBS 1.
how can i meet this scenario..Any Suggestion will be appreciated..
Thanks My Friend..
It was a Nice article and now i got a good idea.I will try to work out this.
Since i Working with Critical data,is any option to automate this failover Scenario otherwise i have to keep an eye to Change Master-Slave Settings on each server.
In order to monitor the status of your servers, it might be handier to write your own script using Bash or another scripting language and have it send an email or other notification when a node is not replicating correctly or when the master is down. If you have a monitoring server like Nagios you can also include it in there.
Of course that would make sense. Have a look at HeartBeat in combination with Pacemaker. I don't have experience with DRBD so I cannot elaborate on that option, but I'm sure there will be someone on LQ who'll step in.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.