Re: Data synchronization between 2 running clusters on different availability zone

2014-12-01 Thread Jeremy Jongsma
Here's a snitch we use for this situation - it uses a property file if it exists, but falls back to EC2 autodiscovery if it is missing. https://github.com/barchart/cassandra-plugins/blob/master/src/main/java/com/barchart/cassandra/plugins/snitch/GossipingPropertyFileWithEC2FallbackSnitch.java On

Re: Data synchronization between 2 running clusters on different availability zone

2014-12-01 Thread Robert Coli
On Thu, Nov 27, 2014 at 1:24 AM, Spico Florin wrote: > I have another question. What about the following scenario: two > Cassandra instances installed on different cloud providers (EC2, Flexiant)? > How do you synchronize them? Can you use some internal tools or do I have > to implement my own

Re: Data synchronization between 2 running clusters on different availability zone

2014-11-27 Thread Eric Stevens
There's no reason you can't run on multiple cloud providers as long as you treat them as logically distinct DC's. It should largely work the same way as running in several AWS regions, but you'll need to use something like GossipingPropertyFileSnitch because the EC2 snitches are specific to AWS.

Re: Data synchronization between 2 running clusters on different availability zone

2014-11-27 Thread Spico Florin
Hello! I have another question. What about the following scenario: two Cassandra instances installed on different cloud providers (EC2, Flexiant)? How do you synchronize them? Can you use some internal tools or do I have to implement my own mechanism? Thanks. Florin On Thu, Nov 27, 2014 at 11:

Re: Data synchronization between 2 running clusters on different availability zone

2014-11-27 Thread Spico Florin
Hello, Rob! Thank you very much for the detailed support. Regards, Florin On Wed, Nov 26, 2014 at 12:41 AM, Robert Coli wrote: > On Tue, Nov 25, 2014 at 7:09 AM, Spico Florin > wrote: > >> 1. For ensuring high availability I would like to install one Cassandra >> cluster on one availability

Re: Data synchronization between 2 running clusters on different availability zone

2014-11-25 Thread Robert Coli
On Tue, Nov 25, 2014 at 7:09 AM, Spico Florin wrote: > 1. For ensuring high availability I would like to install one Cassandra > cluster on one availability zone > (on Amazon EC2 US-east) and one Cassandra cluster on other AZ (Amazon EC2 > US-west). > One cluster, replication factor of 2, cluste

Data synchronization between 2 running clusters on different availability zone

2014-11-25 Thread Spico Florin
Hello! I have the following scenario: 1. For ensuring high availability I would like to install one Cassandra cluster on one availability zone (on Amazon EC2 US-east) and one Cassandra cluster on other AZ (Amazon EC2 US-west). 2.I have pipeline that is running on Amazon EC2-EAST and is feeding t