Bug #41170 | ndbd nodes can not start with two ndb_mgmd nodes | ||
---|---|---|---|
Submitted: | 2 Dec 2008 11:51 | Modified: | 12 Feb 2009 14:39 |
Reporter: | Wen Xiong | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S1 (Critical) |
Version: | mysql-5.1-telco-6.4 | OS: | Solaris |
Assigned to: | CPU Architecture: | Any |
[2 Dec 2008 11:51]
Wen Xiong
[2 Dec 2008 12:14]
Wen Xiong
trace file for ndbd nodes
Attachment: trace_file.tar.gz (application/x-gzip, text), 96.76 KiB.
[2 Dec 2008 12:26]
Jon Stephens
I don't see a connectstring in your configuration. One of the following two things must be done: 1. In the [ndbd_default] section of the config.ini file: connect-string=nanna13,nanna14 (or you can specify it in each [ndbd] section) OR 2. Include the option --connect-string=nanna13,nanna14 on the command line when starting ndbd. If you didn't do this when starting the cluster, please repeat your test using the connectstring. Otherwise, please show the options you used when starting the Cluster ndbd and ndb_mgmd executables. Thanks!
[2 Dec 2008 12:40]
Wen Xiong
The command I start ndb_mgmd on nanna13 and nanna14: # config.ini.1 and config.ini.2 are the identical copies. ./libexec/ndb_mgmd -f /export/home/tmp/wx228566/ndb_mgmd.2/config.ini.1 --datadir=/export/home/tmp/wx228566/ndb_mgmd.2 ./libexec/ndb_mgmd -f /export/home/tmp/wx228566/ndb_mgmd.2/config.ini.2 --datadir=/export/home/tmp/wx228566/ndb_mgmd.2 The command to start ndbd: ./libexec/ndbd --ndb-connectstring="nanna13:1186" --initial ./libexec/ndbd --ndb-connectstring="nanna14:1186" --initial
[2 Dec 2008 15:31]
Jon Stephens
*Both* management servers must be referenced in the connectstrings used for *all* data nodes in the cluster. Please repeat using ./libexec/ndbd --ndb-connectstring=nanna13,nanna14 --initial for both data nodes and see if the cluster still fails to start. (1186 is the default port, and shouldn't be necessary. IIRC, the quotes aren't needed, either.)
[3 Dec 2008 8:51]
Wen Xiong
I have tried once again using ./libexec/ndbd --ndb-connectstring=nanna15,nanna16 for both ndbd nodes. Unfortunately, it does not work as well with the same error message I got before.
[3 Dec 2008 9:25]
Wen Xiong
Sorry, write something wrong, it is ./libexec/ndbd --ndb-connectstring=nanna13,nanna14
[4 Dec 2008 12:22]
Wen Xiong
I tried once again with ndbd nodes on nanna13 and nanna14, then it is working. After that, I start the cluster with the original config file (ndbd nodes on nanna15 and nanna16), it is working.
[11 Dec 2008 11:26]
Sveta Smirnova
Thank you for the feedback. Closing as "Not a Bug" according to the last comment.
[11 Dec 2008 13:39]
Jon Stephens
The relevant info is in http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-connectstring.html - does there seem to be anything misleading/confusing or missing here?