incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Data management on a ring
Date Wed, 10 Nov 2010 14:38:57 GMT
Yes, on a per-keyspace basis with NetworkTopologyStrategy (in 0.7).

On Wed, Nov 10, 2010 at 4:40 AM, Jean-Yves LEBLEU <jlebleu@gmail.com> wrote:
> Thanks for the anwser.
>
> It was not exactly my point, I would like to know if in a 10 nodes rings if
> it is possible to restrict replication of some data to only 2 nodes, and
> other data to all nodes ?
> Regards.
> Jean-Yves
>
> On Wed, Nov 10, 2010 at 11:17 AM, aaron morton <aaron@thelastpickle.com>
> wrote:
>>
>> If I understand your correctly, you just want to add 8 nodes to a ring
>> that already has 2 ?
>>
>> You could add the nodes and manually assign them tokens following the
>> guidelines here http://wiki.apache.org/cassandra/Operations
>>
>> I'm not sure how to ensure the minimum amount of data transfer though.
>> Adding all 8 at once is probably a bad idea.
>>
>> How about you make a new cluster of 8 nodes, manually assign tokens and
>> then copy the data from the 2 node ring to the 8 node. Then move the 2
>> original nodes into the new cluster?
>>
>> Hope that helps.
>> Aaron
>>
>> On 10 Nov 2010, at 20:56, Jean-Yves LEBLEU wrote:
>>
>> > Hello all,
>> >
>> > We have an installation of 10 nodes, and we choose to deploy 5 rings of
>> > 2 nodes.
>> >
>> > We would like to change to a ring of 10 nodes.
>> >
>> > Some data have to be replicated on the 10 nodes, some should stay on 2
>> > nodes. Do you have any idea or documentation pointer in order to have a ring
>> > of 10 nodes with such data repartition ?
>> >
>> > Thanks for any answer.
>> >
>> > Jean-Yves
>>
>
>



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

Mime
View raw message