yes, if you're going from 1 to 2 then

1. nodetool drain & stop original node
2. copy everything from *your keyspaces* in data/ directories (but not
system keyspace!) to new node
3. start both nodes with replicationfactor=2 and autobootstrap=false
[the default]

will be faster.

On Tue, Jun 8, 2010 at 7:12 AM, xavier manach <x...@tekio.org> wrote:
> Hi.
>
>   I have a cluster with only 1 node with a lot of datas (500 Go) .
>   I want add a new node with the same datas (with a ReplicationFactor 2)
>
> The method normal is :
> stop node.
> add a node.
> change replication factor to 2.
> start nodes
> use nodetool repair
>
>   But , I didn't know if this other method is valid, and if it's can be
> faster :
> stop nodes.
> copy all SSTables
> change replication factor.
> start nodes
> and
> use nodetool repair
>
>   Have you an idea for the faster valid method ?
>
> Thx.
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com

Reply via email to