I have tried to basics mysql clustring on MySQL5.1 have used the same how to posted by me at:
http://forums.linuxwebadmin.info/index.php...topic,90.0.html
MySQL Clustering How-to - Easy step by step guide
MySQL Cluster is a technology that enables clustering of in-memory databases in a shared-nothing system. The shared-nothing architecture allows the system to work with very inexpensive hardware, and without any specific requirements on hardware or software. It also does not have any single point of failure because each component has its own memory and disk.
A MySQL Cluster consists of a set of computers, each running a one or more processes which may include a MySQL server, a data node, a management server, and (possibly) a specialized data access programs. All these programs work together to form a MySQL Cluster.
There are three types of cluster nodes, and in a minimal MySQL Cluster configuration, there will be at least three nodes, one of each of these types:
Management node (MGM nod.): The role of this type of node is to manage the other nodes within the MySQL Cluster.
Data node: This type of node stores cluster data. There are as many data nodes as there are replicas, times the number of fragments.
SQL node: This is a node that accesses the cluster data. An SQL node is typically started with the command mysqld --ndbcluster or by using mysqld with the ndbcluster option added to my.cnf.
Assumptions:
1. The cluster setup has four nodes, each on a separate host, and each with a fixed network address on a typical Ethernet as shown here:
QUOTE
Node IP Address Function
Management (MGM) node 192.168.2.159 ndb_mgmd, ndb_mgm
MySQL server (SQL) node 192.168.2.160 mysqld –ndb-cluster
Data (NDBD) node "A" 192.168.2.161 ndbd
Data (NDBD) node "B" 192.168.2.162 ndbd
Management (MGM) node 192.168.2.159 ndb_mgmd, ndb_mgm
MySQL server (SQL) node 192.168.2.160 mysqld –ndb-cluster
Data (NDBD) node "A" 192.168.2.161 ndbd
Data (NDBD) node "B" 192.168.2.162 ndbd
Consider that each host is with enough ram and good hardware configuration.
Packages Specification:
MySQL-server-VERSION.i386.rpm
The MySQL server. You need this unless you only want to connect to a MySQL server running on another machine.
MySQL-client-VERSION.i386.rpm
The standard MySQL client programs. You probably always want to install this package
MySQL-bench-VERSION.i386.rpm
Tests and benchmarks. Requires Perl and the DBI and DBD::mysql modules.
MySQL-devel-VERSION.i386.rpm
The libraries and include files that are needed if you want to compile other MySQL clients, such as the Perl modules.
MySQL-shared-VERSION.i386.rpm
This package contains the shared libraries (libmysqlclient.so*) that certain languages and applications need to dynamically load and use MySQL. It contains single-threaded and thread-safe libraries. If you install this package, do not install the MySQL-shared-compat package.
MySQL-ndb-storage-VERSION.i386.rpm
NDB Cluster - Storage engine (contains the NDB Data Node program)
MySQL-ndb-management-VERSION.i386.rpm
NDB Cluster - Storage engine management (contains the NDB Management Server)
MySQL-ndb-tools-VERSION.i386.rpm
NDB Cluster - Storage engine basic tools
MySQL-ndb-extra-VERSION.i386.rpm
NDB Cluster - Storage engine extra tools
Cont.....
