Looks good to me. Last time I checked the Partitioner did not take the DC into consideration https://issues.apache.org/jira/browse/CASSANDRA-3047
Good luck. ----------------- Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 14/09/2011, at 8:41 AM, Anand Somani wrote: > Hi, > > Just trying to setup a cluster of 4 nodes for multiDC scenario - with 2 nodes > in each DC. This is all on the same box just for testing the configuration > aspect. I have configured things as > PropertyFile > 127.0.0.4=SC:rack1 > 127.0.0.5=SC:rack2 > 127.0.0.6=AT:rack1 > 127.0.0.7=AT:rack2 > # default for unknown nodes > default=SC:rack1 > Setup initial tokens as - advised > configured keyspace with SC:2, AT:2 > ring looks like > Address Status State Load Owns Token > > > 85070591730234615865843651857942052865 > 127.0.0.4 Up Normal 464.98 KB 50.00% 0 > > 127.0.0.5 Up Normal 464.98 KB 0.00% 1 > > 127.0.0.6 Up Normal 464.99 KB 50.00% > 85070591730234615865843651857942052864 > 127.0.0.7 Up Normal 464.99 KB 0.00% > 85070591730234615865843651857942052865 > Is that what I should expect the ring to look like? Is there anything else I > should be testing/validating to make sure that things are configured > correctly for NTS? > > Thanks > Anand