You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Roni <ro...@similarweb.com> on 2011/04/16 07:48:45 UTC

What will be the steps for adding new nodes

I have a 0.6.4 Cassandra cluster of two nodes in full replica (replica
factor 2). I wants to add two more nodes and balance the cluster (replica
factor 2).

I want all of them to be seed's.

 

What should be the simple steps:

1. add the "<AutoBootstrap>true</AutoBootstrap>" to all the nodes or only
the new ones?

2. add the "<Seed>[new_node]</Seed>" to the config file of the old nodes
before adding the new ones?

3. do the old node need to be restarted (if no change is needed in their
config file)?

 

TX,

 

 


Re: What will be the steps for adding new nodes

Posted by Jonathan Colby <jo...@gmail.com>.
Your questions are pretty fundamental.  I recommend reading through the documentation to get a better understanding of how Cassandra works.

Here's good documentation from DataStax:

http://www.datastax.com/docs/0.7/operations/clustering#adding-capacity

In a nutshell: you only bootstrap new nodes, all nodes should have the same seed list, old nodes don't have to be restarted


On Apr 16, 2011, at 7:48 AM, Roni wrote:

> I have a 0.6.4 Cassandra cluster of two nodes in full replica (replica factor 2). I wants to add two more nodes and balance the cluster (replica factor 2).
> I want all of them to be seed's.
>  
> What should be the simple steps:
> 1. add the "<AutoBootstrap>true</AutoBootstrap>" to all the nodes or only the new ones?
> 2. add the "<Seed>[new_node]</Seed>" to the config file of the old nodes before adding the new ones?
> 3. do the old node need to be restarted (if no change is needed in their config file)?
>  
> TX,
>  
>  


Re: What will be the steps for adding new nodes

Posted by ruslan usifov <ru...@gmail.com>.
2011/4/16 Roni <ro...@similarweb.com>:
> I have a 0.6.4 Cassandra cluster of two nodes in full replica (replica
> factor 2). I wants to add two more nodes and balance the cluster (replica
> factor 2).
>
> I want all of them to be seed's.
>
>
>
> What should be the simple steps:
>
> 1. add the "<AutoBootstrap>true</AutoBootstrap>" to all the nodes or only
> the new ones?
>

You must add this option only on new nodes

> 2. add the "<Seed>[new_node]</Seed>" to the config file of the old nodes
> before adding the new ones?
>


If you do that bootstrap will no be working. And this is not needed
step. I think that enough only few seed nodes for fault tolerance

> 3. do the old node need to be restarted (if no change is needed in their
> config file)?
>

No that not needed