incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roshan <codeva...@gmail.com>
Subject Cassandra 1.0.6 multi data center question
Date Thu, 09 Feb 2012 03:04:37 GMT
Hi All

I have 2 Cassandra data center (DC1=>1 node, DC2=>2 nodes).

XXX.XXX.XXX.XXX DC2         RAC1        Up     Normal  44.3 KB        
33.33%  0                                           
YYY.YYY.YY.YYY  DC1         RAC1        Up     Normal  48.71 KB       
33.33%  56713727820156407428984779325531226112      
ZZ.ZZZ.ZZZ.ZZ   DC2         RAC1        Up     Normal  48.69 KB       
33.33%  113427455640312814857969558651062452224   

My requirement is want to create a keyspace and want to replicate within
only DC1. So that keyspace is not visible to the DC2. I have create a
keyspave like this:
CREATE KEYSPACE WCSDC WITH placement_strategy = 'NetworkTopologyStrategy'
AND strategy_options={DC1:1};

But when I create the above keyspace from DC1 using cassandra-cli, the
schema is updated all over the cluster and keyspave is created on DC2 as
well.

Could someone please help me to solve this issue. Thanks.

--
View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Cassandra-1-0-6-multi-data-center-question-tp7268026p7268026.html
Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabble.com.

Mime
View raw message