Bug #64501 | every data node belongs to "Nodegroup: 0" | ||
---|---|---|---|
Submitted: | 1 Mar 2012 2:55 | Modified: | 1 Mar 2012 5:10 |
Reporter: | Yoshiaki Tajika (Basic Quality Contributor) | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S3 (Non-critical) |
Version: | 7.2.4 | OS: | Linux (RHEL5.7(x86_64)) |
Assigned to: | CPU Architecture: | Any |
[1 Mar 2012 2:55]
Yoshiaki Tajika
[1 Mar 2012 2:59]
Yoshiaki Tajika
ndb_1_cluster.log with verbose mode.
Attachment: ndb_1_cluster.log (application/octet-stream, text), 39.70 KiB.
[1 Mar 2012 3:37]
Jon Stephens
I don't believe that this is a bug. It can take some time for a MySQL Cluster to start. From the output of your SHOW command it can be seen that the data nodes are still starting, and have reached only start phase 0. Data nodes are not assigned to node groups until start phase 6 (see http://dev.mysql.com/doc/refman/5.5/en/mysql-cluster-start-phases.html). Note that it is also possible for all nodes to belong to a single node group even in a running cluster, depending on the configuration. You can also use the ALL STATUS command in the ndb_mgm client to get the curent status of the data nodes and verify that they have completely started. You are also welcome to the join the discussion in the MySQL Cluster Forum at http://forums.mysql.com/list.php?25. Thanks!
[1 Mar 2012 5:10]
Yoshiaki Tajika
Jon Stephens, thank you very much. I just figured out. Data nodes could not communicate with each other because of firewall, and got stuck. After disabling firewalls, ndb_mgm> show Cluster Configuration --------------------- [ndbd(NDB)] 4 node(s) id=25 @192.168.39.5 (mysql-5.5.19 ndb-7.2.4, Nodegroup: 0, Master) id=26 @192.168.39.6 (mysql-5.5.19 ndb-7.2.4, Nodegroup: 0) id=27 @192.168.39.7 (mysql-5.5.19 ndb-7.2.4, Nodegroup: 1) id=28 @192.168.39.8 (mysql-5.5.19 ndb-7.2.4, Nodegroup: 1) Sorry to bother you, and thanks a lot!!