Re: 5.1.6-alpha NDB: Could not get apply status share
I may be able to conclude this conversation with myself. :-)
I was able to get a multi-data-node configuration working. This is exactly the same setup as discussed in the last two posts. To make it go you just:
Bring everything down:
(on Xeon)
[root]# support-files/mysql.server stop
[root]# killall ndbd
[root]# killall ndb_mgmd
(on Athlon)
[root]# killall ndbd
Flush the ndb_fs on both nodes:
(on Xeon)
[root]# rm -rf /var/lib/mysql-cluster/ndb_2_fs
(on Athlon)
[root]# rm -rf /var/lib/mysql-cluster/ndb_3_fs
Bring everything up (in this order):
(on Xeon)
[root]# bin/ndb_mgmd
[root]# bin/ndbd --initial
(on Athlon)
[root]# bin/ndbd --initial
(on Xeon)
[root]# support-files/mysql.server start
When everything looked pristine from the start and came up synchronously, I didn't have any trouble. I was able to (in this order):
- create a table then add and verify data
- drop node3 then add and verify data
- bring node3 back then add and verify data
- drop node2 then add and verify data
- bring node 2 back then verify data
The only caveat to this looks a little like the problem from Gabe Harriman's post. Node 2 did not finish its startup until node 3 came up. Then both registered as 'started' simultaneously. From my past trials, I would believe that starting the api node before that point would have produced catastrophy.
It would be a valuable lesson to others setting up mysql-clusters on 5.0.19 that, while the system is designed to handle lost nodes at run-time, at startup it appears that everything must be present and functional.
Good luck!
Subject
Views
Written By
Posted
3754
February 24, 2006 10:08AM
1697
February 28, 2006 02:05PM
1552
March 02, 2006 04:35PM
1799
March 03, 2006 02:19PM
1637
March 05, 2006 06:25PM
2115
March 28, 2006 01:07AM
1929
March 28, 2006 04:44PM
1649
March 28, 2006 10:53PM
3209
March 29, 2006 03:01PM
3198
March 29, 2006 03:16PM
Re: 5.1.6-alpha NDB: Could not get apply status share
2203
March 29, 2006 05:06PM
1765
March 29, 2006 09:56PM
1763
March 29, 2006 10:42PM
1676
March 29, 2006 11:46PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.