Solved

Mysql Failover

Posted on 2010-08-19
5
463 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
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:jeremycrussell
Comment Utility
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
Comment Utility
The cluster is for MySQL or OS cluster?
0
 

Author Comment

by:lnrivera
Comment Utility
I need to do it in Windows
0
 
LVL 9

Expert Comment

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

Accepted Solution

by:
jeremycrussell earned 500 total points
Comment Utility
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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

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…
All XML, All the Time; More Fun MySQL Tidbits – Dynamically Generate XML via Stored Procedure in MySQL Extensible Markup Language (XML) and database systems, a marriage we are seeing more and more of.  So the topics of parsing and manipulating XM…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now