PDA

View Full Version : How to setup MySQL 5 Cluster


Floris
Sun 23rd Apr '06, 8:36pm
We don't have permission (didn't ask) to publish this howto on our site, but as vBulletin is powered by vBulletin I think this is a good read for those big sites that have millions of posts and thousends of online users.

http://www.howtoforge.com/loadbalanced_mysql_cluster_debian (http://www.howtoforge.com/loadbalanced_mysql_cluster_debian)


How To Set Up A Load-Balanced MySQL Cluster


Version 1.0
Author: Falko Timme <ft [at] falkotimme [dot] com>
Last edited 03/27/2006

This tutorial shows how to configure a MySQL 5 cluster with three nodes: two storage nodes and one management node. This cluster is load-balanced by a high-availability load balancer that in fact has two nodes that use the Ultra Monkey package which provides heartbeat (for checking if the other node is still alive) and ldirectord (to split up the requests to the nodes of the MySQL cluster).
In this document I use Debian Sarge for all nodes. Therefore the setup might differ a bit for other distributions. The MySQL version I use in this setup is 5.0.19. If you do not want to use MySQL 5, you can use MySQL 4.1 as well, although I haven't tested it.
This howto is meant as a practical guide; it does not cover the theoretical backgrounds. They are treated in a lot of other documents in the web.
This document comes without warranty of any kind! I want to say that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!

Enjoy!

I am curious who's been able to set vBulletin up in this scenario

eva2000
Thu 27th Apr '06, 11:11am
Interesting thanks for the link, having tried clustering myself though heh