MySQL Forums
Forum List  »  NDB clusters

Adding a new SQL node to a mysql Cluster
Posted by: Jensen Zheng
Date: January 19, 2009 09:49PM

Hello,

I have MySQL cluster(mysql-5.1.30 ndb-6.3.20) running and I wanted to add a sql node.
So I have added the new node to the management node and added the management node to the my.cnf of the sql node.
After that I have restarted all the datanodes and when I view the configuration in the management node it shows the following:

Cluster Configuration
---------------------
[ndbd(NDB)] 2 node(s)
id=2 @192.168.0.103 (Version: 5.0.32, Nodegroup: 0)
id=3 @192.168.0.104 (Version: 5.0.32, Nodegroup: 0, Master)

[ndb_mgmd(MGM)] 1 node(s)
id=1 @192.168.0.108 (Version: 5.0.32)

[mysqld(API)] 2 node(s)
id=4 @192.168.0.101 (Version: 5.0.32)
id=5 @192.168.0.102 (Version: 5.0.32)

So everything seems to be configured correctly and the cluster management node is aware of all the data and sql nodes.
The problem however is, that the new datanode does not load the databases. When I would do execute 'SHOW DATABASES' on the new sql node it only shows me the standard databases which come with MySQL, and not the databases running in the cluster.

Is there a step that I have forgotten?

Options: ReplyQuote


Subject
Views
Written By
Posted
Adding a new SQL node to a mysql Cluster
4230
January 19, 2009 09:49PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.