Hi
I'm running MySQL cluster on two Solaris 10 machines and on Friday I updated both to version 7.2.1.19, from 7.2.1.15. I've been using the Solaris PKG files available from the dev.mysql.com site. I first did a "pkgrm mysql" and then a "pkgadd -d"
I start my cluster nodes using these commands:
cd /opt/mysql/mysql; /opt/mysql/mysql/bin/ndb_mgmd -f /opt/mysql/mysql/conf/config.ini --configdir=/opt/mysql/mysql/conf -d;
sleep 15;
/opt/mysql/mysql/bin/ndbd;
/opt/mysql/mysql/bin/mysqld_safe --defaults-file=/opt/mysql/mysql/conf/my.cnf -u mysql &
After the install, the first node came up w/o problems, but the cluster log on the second node says:
"2012-02-03 17:24:09 [MgmtSrvr] INFO -- Got initial configuration from '/opt/mysql/mysql/conf/config.ini', will try to set it when all ndb_mgmd(s) started
2012-02-03 17:24:10 [MgmtSrvr] INFO -- Id: 102, Command port: *:1186
2012-02-03 17:24:10 [MgmtSrvr] INFO -- MySQL Cluster Management Server mysql-5.1.56 ndb-7.1.19 started
2012-02-03 17:24:10 [MgmtSrvr] INFO -- Node 102: Node 102 Connected
2012-02-03 17:24:10 [MgmtSrvr] INFO -- Node 102: Node 101 Connected
2012-02-03 17:24:10 [MgmtSrvr] INFO -- Node 102 connected
2012-02-03 17:24:10 [MgmtSrvr] INFO -- Node 101 connected
2012-02-03 17:24:10 [MgmtSrvr] ERROR -- This node was started --initial with a config which is _not_ equal to the one node 101 is using. Refusing to start with different configurations, diff:
[ndbd(DB)]
NodeId=1
-MaxNoOfExecutionThreads=2
+MaxNoOfExecutionThreads=0
-EventLogBufferSize=4096
+EventLogBufferSize=8192
-NoOfFragmentLogParts=4
-ThreadConfig=
-CrashOnCorruptedTuple=0
-MinFreePct=5
[ndbd(DB)]
NodeId=2
-MaxNoOfExecutionThreads=2
+MaxNoOfExecutionThreads=0
-EventLogBufferSize=4096
+EventLogBufferSize=8192
-NoOfFragmentLogParts=4
-ThreadConfig=
-CrashOnCorruptedTuple=0
-MinFreePct=5
Config.ini looks like this:
[ndbd default]
noofreplicas=2
[ndbd]
hostname=10.192.32.27
NodeId=1
[ndbd]
hostname=10.192.32.28
NodeId=2
[ndb_mgmd]
NodeId = 101
hostname=10.192.32.27
[ndb_mgmd]
NodeId = 102
hostname=10.192.32.28
[mysqld]
NodeId=51
hostname=10.192.32.27
[mysqld]
NodeId=52
hostname=10.192.32.28
It's exactly the same on both nodes, as before. The machine with the .28 IP is the second node.
I am completely at a loss here, how to solve this and would greatly appreciate any advice how to re-instate my cluster.
Thanks
Ralf
I'm running MySQL cluster on two Solaris 10 machines and on Friday I updated both to version 7.2.1.19, from 7.2.1.15. I've been using the Solaris PKG files available from the dev.mysql.com site. I first did a "pkgrm mysql" and then a "pkgadd -d"
I start my cluster nodes using these commands:
cd /opt/mysql/mysql; /opt/mysql/mysql/bin/ndb_mgmd -f /opt/mysql/mysql/conf/config.ini --configdir=/opt/mysql/mysql/conf -d;
sleep 15;
/opt/mysql/mysql/bin/ndbd;
/opt/mysql/mysql/bin/mysqld_safe --defaults-file=/opt/mysql/mysql/conf/my.cnf -u mysql &
After the install, the first node came up w/o problems, but the cluster log on the second node says:
"2012-02-03 17:24:09 [MgmtSrvr] INFO -- Got initial configuration from '/opt/mysql/mysql/conf/config.ini', will try to set it when all ndb_mgmd(s) started
2012-02-03 17:24:10 [MgmtSrvr] INFO -- Id: 102, Command port: *:1186
2012-02-03 17:24:10 [MgmtSrvr] INFO -- MySQL Cluster Management Server mysql-5.1.56 ndb-7.1.19 started
2012-02-03 17:24:10 [MgmtSrvr] INFO -- Node 102: Node 102 Connected
2012-02-03 17:24:10 [MgmtSrvr] INFO -- Node 102: Node 101 Connected
2012-02-03 17:24:10 [MgmtSrvr] INFO -- Node 102 connected
2012-02-03 17:24:10 [MgmtSrvr] INFO -- Node 101 connected
2012-02-03 17:24:10 [MgmtSrvr] ERROR -- This node was started --initial with a config which is _not_ equal to the one node 101 is using. Refusing to start with different configurations, diff:
[ndbd(DB)]
NodeId=1
-MaxNoOfExecutionThreads=2
+MaxNoOfExecutionThreads=0
-EventLogBufferSize=4096
+EventLogBufferSize=8192
-NoOfFragmentLogParts=4
-ThreadConfig=
-CrashOnCorruptedTuple=0
-MinFreePct=5
[ndbd(DB)]
NodeId=2
-MaxNoOfExecutionThreads=2
+MaxNoOfExecutionThreads=0
-EventLogBufferSize=4096
+EventLogBufferSize=8192
-NoOfFragmentLogParts=4
-ThreadConfig=
-CrashOnCorruptedTuple=0
-MinFreePct=5
Config.ini looks like this:
[ndbd default]
noofreplicas=2
[ndbd]
hostname=10.192.32.27
NodeId=1
[ndbd]
hostname=10.192.32.28
NodeId=2
[ndb_mgmd]
NodeId = 101
hostname=10.192.32.27
[ndb_mgmd]
NodeId = 102
hostname=10.192.32.28
[mysqld]
NodeId=51
hostname=10.192.32.27
[mysqld]
NodeId=52
hostname=10.192.32.28
It's exactly the same on both nodes, as before. The machine with the .28 IP is the second node.
I am completely at a loss here, how to solve this and would greatly appreciate any advice how to re-instate my cluster.
Thanks
Ralf