MySQL Cluster Failover doesn't work

Posted by Lukasz on Server Fault See other posts from Server Fault or by Lukasz
Published on 2012-08-29T09:00:28Z Indexed on 2012/08/29 9:40 UTC
Read the original article Hit count: 249

Filed under:
|
|

I have two servers, where

First server 10.100.15.150: 1. one mgm server 2. one ndbd 3. one mysql api

Second server 10.100.15.160: 1. one ndbd 2. one mysql api

When i start all 'parts' of cluster it looks :

Cluster Configuration

[ndbd(NDB)] 2 node(s)

id=21 @10.100.15.150 (mysql-5.1.56 ndb-7.1.17, Nodegroup: 0)

id=22 @10.100.15.160 (mysql-5.1.56 ndb-7.1.17, Nodegroup: 0, Master)

[ndb_mgmd(MGM)] 1 node(s)

id=3 @10.100.15.150 (mysql-5.1.56 ndb-7.1.17)

[mysqld(API)] 2 node(s)

id=11 @10.100.15.150 (mysql-5.1.56 ndb-7.1.17)

id=12 @10.100.15.160 (mysql-5.1.56 ndb-7.1.17)

When i shutdown first machine - 10.100.15.150, on second the nbdb process also has been shutdown so i cannot use this data node and cluster fail ...

How i must configure this cluster to get FailOver working ?

Thx

© Server Fault or respective owner

Related posts about mysql

Related posts about failover