HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   High Availability and Load Balanced MySQL cluster (http://www.howtoforge.com/forums/showthread.php?t=32007)

EricTRA 3rd March 2009 12:25

High Availability and Load Balanced MySQL cluster
 
Hello all,

I have set up successfully a high availability, load balanced MySQL cluster using the HowTo : How To Set Up A Load-Balanced MySQL Cluster from Falko. I had to adapt some of the commands because I'm using Debian Lenny but everything works like a charm.

The setup as I have it now is:

LoadBalancer1 with the Cluster management.
LoadBalancer2 failover config in case LoadBalancer1 goes down
MySQL1
MySQL2

I was wondering, since both LoadBalancers don't use a lot of resources, if I can run the same on only two servers, configuring the following:

MySQL1 being the cluster manager and first SQL node, with UltraMonkey for heartbeat and ldirector.
MySQL2 being the failover for management and the second SQL node, with UltraMonkey failover.

I'm not sure if one of the nodes goes down, what would be the consequence on the data level, will the cluster keep running on one machine and replicate the data when the other one comes up again? Or is this whole thing a bad idea?

This question of course was posed to me by my chief who is interested in limiting our expense :D
Now that I have it set up and running pretty good, he's coming up with this so any help to provide me with arguments in order to change his mind is welcome.

If someone with more experience could give me some pro's and con's of this change, I'd really appreciate it.

Kind regards,

Eric

falko 4th March 2009 13:27

I think this should work. But another solution might be to use virtual machines - that way you can use less physical servers.


All times are GMT +2. The time now is 06:43.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.