Solved

Mysql Failover

Posted on 2010-08-19
5
486 Views
Last Modified: 2012-05-10
I have one master server Mysql and one slave working with replication feature and works really fine!

I can install another slave, but the question is how can I do a transparent automatic failover MySQL server scenario... (Both servers are connected by VPN)

Regards
0
Comment
Question by:lnrivera
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:jeremycrussell
ID: 33479810
To do transparent failover of MySQL, your best bet would be to institure an HA cluster of MySQL.  You're slaves act as your data redundancy, but do not provide true High Availability capabilities for the MySQL service.
0
 

Author Comment

by:lnrivera
ID: 33479878
The cluster is for MySQL or OS cluster?
0
 

Author Comment

by:lnrivera
ID: 33479900
I need to do it in Windows
0
 
LVL 9

Expert Comment

by:jeremycrussell
ID: 33479906
It would be an OS  based cluster.   What OS are you running?
0
 
LVL 9

Accepted Solution

by:
jeremycrussell earned 500 total points
ID: 33479950
If you have Windows Server and MSCS available, you can install a MySQL HA cluster using the generic service resource.  Not sure if this is something available to you or not though.  However, it would provide you with the automated failover you are looking for.

You can implement a failover scenario with you master/slave setup...  However, it would not be instantaneous and would require intervention (although it could be automated).  You would have to promote the slave to a master, etc.. etc..  A pretty touch undertaking compared to the alternative.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foreword In the years since this article was written, numerous hacking attacks have targeted password-protected web sites.  The storage of client passwords has become a subject of much discussion, some of it useful and some of it misguided.  Of cou…
By, Vadim Tkachenko. In this article we’ll look at ClickHouse on its one year anniversary.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question