Introduction to MySQL Clusters
Due to lack of concise information on putting together a MySQL Cluster I’ve decided to assemble a step-by-step guide. On the high level, here are the steps:
- Compiling from the sources
- Setting up a basic 4-machine cluster
- Adding a new Application Server to the cluster
- Adding a new Management Server to the cluster
- Adding a new cluster group consisting of two ndb nodes
- Adding a Proxy Server
- Testing the MySQL cluster
- Backing up and Restoring from backup
- Replacing a broken ndb server with a new one
- Moving MySQL 4.1 MyISAM to a MySQL Cluster ndbcluster
A high level diagram
I’m using Ubuntu 13.04 Server