cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From A J <s5a...@gmail.com>
Subject Re: How to make a node an exact replica of another node ?
Date Tue, 05 Jul 2011 18:52:22 GMT
Perfect ! Thanks.

On Tue, Jul 5, 2011 at 1:51 PM, Eric tamme <etamme@gmail.com> wrote:
> AJ,
>
> You can use offset mirror tokens to achieve this.   Pick your initial
> tokens for DC1N1 and DC1N2 as if they were the only nodes in your
> cluster.  Now increment each by 1 and use them as the tokens for DC2N1
> and DC2N2.  This will give you a complete keyspace within each data
> center with even distribution between nodes.
>
>
> If you want a more detailed description, there is a recipe for this
> titled "Calculating Ideal Initial Tokens for use with Network Topology
> Strategy and Random Partitioner" in the last part of the sample
> chapter of "Cassandra High Performance" book
> http://www.packtpub.com/cassandra-apache-high-performance-cookbook/book
>
> -Eric
>

Mime
View raw message