I'm finally trying to set up a MySQL-CLuster with this tutorial
( http://dev.mysql.com/tech-resources/articles/mysql-cluster-for-two-servers.html
) on openSUSE 11.2.
I've been past stage 1 and nearly stage 2, but when I try to start the
management server at the end of stage 2 I get some errors.
When I type "ndb_mgmd" it sais:
2009-11-20 14:12:14 [MgmtSrvr] INFO -- NDB Cluster Management Server.
mysql-5.1.37 ndb-7.0.8a
2009-11-20 14:12:14 [MgmtSrvr] ERROR -- Could not determine which
nodeid to use for this node. Specify it with --ndb-nodeid=<nodeid> on
command line
If I try "ndb_mgmd --ndb-nodeid=3" for example it sais:
2009-11-20 14:20:05 [MgmtSrvr] INFO -- NDB Cluster Management Server.
mysql-5.1.37 ndb-7.0.8a
2009-11-20 14:20:05 [MgmtSrvr] INFO -- Trying to get configuration
from other mgmd(s) using 'nodeid=3,localhost:1186'...
And the second sentence repeats every 30 seconds...
Did I do anything wrong? How can I start the management server?
I hope someone is around here who could help me out with this problem.
Thanks in advance.
Yukari
Hm, ok after searching a while I found out how to start it.
I used this now:
ndb_mgmd -f /var/lib/mysql-cluster/config.ini
After creating the config.ini-file of course. Actually I already
created it before, but didn't know that I had to include it into the
command.