Yes, set the replication factor of the keyspace to only use the datacenter
you want.

More information here:
http://docs.datastax.com/en/cql/3.1/cql/cql_reference/create_keyspace_r.html

Regards,

Carlos Juzarte Rolo
Cassandra Consultant

Pythian - Love your data

rolo@pythian | Twitter: cjrolo | Linkedin: *linkedin.com/in/carlosjuzarterolo
<http://linkedin.com/in/carlosjuzarterolo>*
Mobile: +31 6 159 61 814 | Tel: +1 613 565 8696 x1649
www.pythian.com

On Tue, Jun 16, 2015 at 5:07 PM, Willis Yonker <wyon...@gmail.com> wrote:

>
> Hi,
>
> I'm wondering if it would be possible to have a keyspace setup to
> replicate only within a single datacenter, regardless of how many other
> datacenters there are in the cluster.
>
> I have a case where some machines will be at a site that needs it's
> database replicated to all nodes at that site.  However, no other site will
> need that database nor do we really want to have it replicate to a remote
> site for backup or D/R.  Those nodes will need access to other keyspaces
> that are in the cluster though.
>
> Is there a way to do this?
>

-- 


--



Reply via email to