Solved

Mysql Failover

Posted on 2010-08-19
5
477 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
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

A lot of articles have been written on splitting mysqldump and grabbing the required tables. A long while back, when Shlomi (http://code.openark.org/blog/mysql/on-restoring-a-single-table-from-mysqldump) had suggested a “sed” way, I actually shell …
Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikipedia.org/wiki/PHP  Very powerful.  But a…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 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