incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francisco Andrades Grassi <bigjoc...@gmail.com>
Subject Re: Having 2 nodes with 100% Ownership ?
Date Mon, 12 Aug 2013 19:20:11 GMT
Hi,

You should use a 50% token distribution as Mohit pointed out, but configure a replication
factor of 2, so all your rows will be effectively in both nodes.

--
Francisco Andrades Grassi
www.bigjocker.com
@bigjocker

On Aug 12, 2013, at 2:44 PM, Morgan Segalis <msegalis@gmail.com> wrote:

> Hi, thank you for you answer…
> 
> I don't want 50% I would like 100% so I one is down the second can take over.
> 
> Thank you.
> 
> Le 12 août 2013 à 21:09, Mohit Anchlia <mohitanchlia@gmail.com> a écrit :
> 
>> You need to get it to 50% on each to equally distribute the has range. You need to
1) Calculate new token 2) move nodes to that token or use vnodes For the first option see:
>>  
>> http://www.datastax.com/docs/0.8/install/cluster_init
>> 
>> 
>>  
>> On Mon, Aug 12, 2013 at 12:06 PM, Morgan Segalis <msegalis@gmail.com> wrote:
>> Hi everyone,
>> 
>> I would like to have 100% Effective-Owership on both cassandra nodes…
>> 
>> I just have created the second node now…
>> 
>> ./nodetool ring gives me :
>> 
>> Address         DC          Rack        Status State   Load            Effective-Owership
 Token
>>                                                                                 
                                                           17406244052094587115982865059561225030
>> my.first.cassandra.ip   datacenter1 rack1       Up     Normal  1,2 GB          89,77%
        1
>> my.sec.cassandra.ip   datacenter1 rack1       Up     Normal  1,37 GB         10,23%
       17406244052094587115982865059561225030
>> 
>> What should I do in order to get 100% on both nodes ?
>> 
>> Thank you.
>> 
> 


Mime
View raw message