cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alain RODRIGUEZ <arodr...@gmail.com>
Subject Re: Duplicating a cluster with different # of disks
Date Thu, 06 Aug 2015 20:43:18 GMT
I forget to specify that you will obtain 2 DC instead of 2 cluster, the
main differences are that DCs are connected through gossip and keep synced
(make sure your clients are sticked to your main DC). Depending on what you
want to achieve you might want 2 clusters or 2 DC.

2015-08-06 22:31 GMT+02:00 Alain RODRIGUEZ <arodrime@gmail.com>:

> Hi Gerard,
>
> You should probably add a new datacenter following this procedure :
> http://docs.datastax.com/en/cassandra/2.1/cassandra/operations/ops_add_dc_to_cluster_t.html
>
> You will just have to make sure to configure all the nodes of the new
> nodes to use mnt + mnt2 instead of mnt + mnt2 + mnt3.
>
> Make sure to have enough space (disks / nodes) to handle your whole set of
> data in the keyspace you want to load and it should be ok.
>
> I think that this is the easiest approach, you don't need to care about
> SSTable at all, Cassandra does it for you.
>
> C*heers,
>
> Alain
>
> 2015-08-06 18:50 GMT+02:00 Gerard Maas <gerard.maas@gmail.com>:
>
>> Hi,
>>
>> I'm currently trying to duplicate a given keyspace on a new cluster to
>> run some analytics on it.
>>
>> My source cluster has 3 disks and corresponding data directories (mnt,
>> mnt2, mnt3) but the machines in my target cluster only have 2 disks (mnt,
>> mnt2).
>>
>> What should be the correct procedure to copy the sstable data  from
>> source to destination in this case?
>>
>> -kr, Gerard.
>>
>
>

Mime
View raw message