Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I am new to MySQL and MySQL cluster setup. However going through several blogs and Web links I've finally able to manage the cluster up and running. I have 1 management, 1 SQL and 3 data nodes (currently without any replicated SQL or data nodes as I have set NoOfReplicas=1 in the config.ini file). After running ndb_mgm> show I can see there is a start just after the first data node, what does it means? I searched over google but didn't find any proper answer. Kindly help.

ndb_mgm> show

Cluster Configuration

[ndbd(NDB)] 3 node(s)

id=3 @10.10.10.3 (mysql-5.5.34 ndb-7.2.14, Nodegroup: 0, *)

id=4 @10.10.10.4 (mysql-5.5.34 ndb-7.2.14, Nodegroup: 1)

id=5 @10.10.10.5 (mysql-5.5.34 ndb-7.2.14, Nodegroup: 2)

[ndb_mgmd(MGM)] 1 node(s)

id=1 @10.10.10.1 (mysql-5.5.34 ndb-7.2.14)

[mysqld(API)] 1 node(s)

id=6 @10.10.10.6 (mysql-5.5.34 ndb-7.2.14)


share|improve this question

1 Answer 1

up vote 0 down vote accepted

It shows which node is master. It is internal thing and probably the only visible effect of it is when exactly half of the nodes goes down. Then if one of the remaining nodes is master - cluster keeps working. If not - cluster aborts.

http://dev.mysql.com/doc/refman/5.1/en/faqs-mysql-cluster.html#qandaitem-B-10-1-8

share|improve this answer
    
Thanks a lot for the link. That totally answers my question :) –  jmkam Feb 2 at 23:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.