Re: Clarification on --initial
On Thu, 2007-08-16 at 19:53 +0200, Philipp Taprogge wrote:
> Hi! > > Thus spake Al on 08/16/2007 06:58 PM: > > Say I have two data nodes in my cluster that uses on-disk memory, and > > I'd like to add two more data nodes to the cluster. When restarting > > the cluster, I'll need to run ndbd --initial on all the data nodes, > > not just the new ones, correct? > > I think not. If I get it right, starting a node with --initial will > effectively wipe it clean, so in your above scenario, you'd have a brand new > but empty four-node cluster. > I guess that's not what you want.
It's the only (current) way to add data nodes. start a fresh cluster and
restore from backup.
> But I am getting a little confused by the whole tread... > Perhaps one of the enlightened could explain, what /is/ a scenario where you'd > use --initial? > It now seems there isn't one and I wonder why keep the option if it's not > dangerously misnamed but also superfluous? >
There is.
a) some configuration changes require --initial
b) when wanting to force a resync.
--
Stewart Smith, Senior Software Engineer
MySQL AB, www.mysql.com
Office: +14082136540 Ext: 6616
VoIP: 6616@sip.us.mysql.com
Mobile: +61 4 3 8844 332
Jumpstart your cluster:
http://www.mysql.com/consulting/packaged/cluster.html
Received on Thu Aug 16 21:47:21 2007
This archive was generated by hypermail 2.1.8
: Sun Oct 07 2007 - 10:15:01 EDT
|