cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Duplicate a node (replication).
Date Tue, 08 Jun 2010 16:18:23 GMT
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 <xav@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

Mime
View raw message