MySQL Forums
Forum List  »  NDB clusters

Second API node is not visible on the cluster.
Posted by: Dmitry Buzolin
Date: December 08, 2004 04:05PM

Hello!
We set up two node cluster. Both nodes act as DB and API nodes, plus one runs MGM.
We use compiled sources on Fedora Core2 linux for 4.1.7 MySQL database. The MGM and db nodes and one API node start succesfully however when I start second API node it starts but "show" command doesn't list it as connected:

NDB> show
Cluster Configuration
---------------------
[ndbd(NDB)] 2 node(s)
id=10 @192.168.20.101 (Version: 3.5.3, Nodegroup: 0, Master)
id=11 @192.168.20.102 (Version: 3.5.3, Nodegroup: 0)

[ndb_mgmd(MGM)] 1 node(s)
id=1 @192.168.20.101 (Version: 3.5.3)

[mysqld(API)] 2 node(s)
id=5 @127.0.0.1 (Version: 3.5.3)
id=6 (not connected, accepting connect from 192.168.20.102)

We don't have Ndb.cfg files instead we supply parameters from command line:
./ndbd --connect-string="nodeid=10;host=192.168.20.101:2200"
./ndbd --connect-string="nodeid=11;host=192.168.20.101:2200"

Our config.ini :
[NDBD DEFAULT]
NoOfReplicas=2

[MYSQLD DEFAULT]
[NDB_MGMD DEFAULT]
[TCP DEFAULT]

[NDB_MGMD]
Id=1
HostName=192.168.20.101
DataDir=/var/log/mysqlmgm

[NDBD]
Id=10
HostName=192.168.20.101
DataDir=/mysqlndb

[NDBD]
Id=11
HostName=192.168.20.102
DataDir=/mysqlndb

[MYSQLD]
Id=5
HostName=192.168.20.101

[MYSQLD]
Id=6
HostName=192.168.20.102


Please advise what is wrong in our configuration.
Thanks!

Options: ReplyQuote


Subject
Views
Written By
Posted
Second API node is not visible on the cluster.
4493
December 08, 2004 04:05PM


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.