Re: Node containing all data of the cluster

2017-05-11 Thread Igor Leão
Thank you Varun and DuyHai!

2017-05-10 20:57 GMT-03:00 Varun Gupta :

> Hi Igor,
>
> You can setup cluster with configuration as below.
>
> Replication: DC1: 3 and DC2: 1.
>
> If you are using datastax java driver, then use dcaware load balancing
> policy and pass DC1, as input. As well as add DC2 node in ignore nodes, so
> request never goes to that node.
>
> Thanks,
> Varun
>
> On Wed, May 10, 2017 at 1:21 PM, Igor Leão  wrote:
>
>> Hey everyone,
>>
>> Imagine a have Cassandra cluster with 4 nodes.
>>
>> Is it possible to have a separate node which would not receive requests
>> but would by in sync with the rest of the cluster? Ideally this super node
>> would have all data of the cluster.
>>
>> I want to take a snapshot of this node from time to time in order to
>> reproduce scenarios that are happening in production.
>>
>> Thanks in advance!
>>
>>
>>
>>
>>
>>
>>
>>
>


-- 
Igor Leão  Site Reliability Engineer

Mobile: +55 81 99727-1083 
Skype: *igorvpcleao*
Office: +55 81 4042-9757 
Website: inlocomedia.com 
[image: inlocomedia]

 [image: LinkedIn]

 [image: Facebook]  [image: Twitter]



Re: Node containing all data of the cluster

2017-05-10 Thread Varun Gupta
Hi Igor,

You can setup cluster with configuration as below.

Replication: DC1: 3 and DC2: 1.

If you are using datastax java driver, then use dcaware load balancing
policy and pass DC1, as input. As well as add DC2 node in ignore nodes, so
request never goes to that node.

Thanks,
Varun

On Wed, May 10, 2017 at 1:21 PM, Igor Leão  wrote:

> Hey everyone,
>
> Imagine a have Cassandra cluster with 4 nodes.
>
> Is it possible to have a separate node which would not receive requests
> but would by in sync with the rest of the cluster? Ideally this super node
> would have all data of the cluster.
>
> I want to take a snapshot of this node from time to time in order to
> reproduce scenarios that are happening in production.
>
> Thanks in advance!
>
>
>
>
>
>
>
>


Node containing all data of the cluster

2017-05-10 Thread Igor Leão
Hey everyone,

Imagine a have Cassandra cluster with 4 nodes.

Is it possible to have a separate node which would not receive requests but
would by in sync with the rest of the cluster? Ideally this super node
would have all data of the cluster.

I want to take a snapshot of this node from time to time in order to
reproduce scenarios that are happening in production.

Thanks in advance!