cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MORAND Jean <>
Subject RE: multiple snitches in the same cluster
Date Wed, 17 Apr 2019 13:06:59 GMT

De : Shravan R []
Envoyé : mardi 16 avril 2019 17:04
À :
Objet : Re: multiple snitches in the same cluster

Thanks Paul

On Tue, Apr 16, 2019 at 9:52 AM Paul Chandler <<>>
Hi Shravan,

We did not see any down sides of using the GossipingPropertyFileSnitch, in fact being able
to handcraft the DC allowed us to easily create “virtual” cassandra datacenters within
the google DC, something we have used for splitting multi tenanted clusters. I am not sure
how easy that would have been with the GoogleCloudSnitch.

Looking at the code for the various snitches, obviously the loading of the dc and rack information
is different, but once it is loaded, the data is used in the same way.

So I can’t see any problem with continuing to use the GossipingPropertyFileSnitch, although
that comes with the one caveat that I have never tried it on Amazon, only GCP.


Paul Chandler<>

On 16 Apr 2019, at 15:02, Shravan R <<>>

Thanks Paul. Glad to know that you are speaking on the very subject soon.

 Even though you are on GCP, you are still tied with GossipingPropertyFileSnitch and not enjoying
the GoogleCloudSnitch. If it is not too much to ask, other than hand stitching RACK and DC
in are there any down sides of not using GoogleCloudSnitch in
your case and EC2Snitch in my case?


On Tue, Apr 16, 2019 at 4:05 AM Paul Chandler <<>>

When we migrated to google we just continued using the GossipingPropertyFileSnitch, we did
not try and use the google version of the snitch.

The only downside is the need to manually setup the file, but
for us that was controlled by puppet anyway, so it was not an issue.


Paul Chandler<>

PS Myself and Gilberto Müeller are presenting at Datastax Accelerate on this very subject,
how we migrated 91 clusters to Google, including what problems we had along the way. It would
be worth you attending that session if you are there.

> On 16 Apr 2019, at 03:46, Shravan R <<>>
> Can we have multiple snitches within the same cluster?
> Reason for the ask: I need to find an optimal migration path from on prem DC to AWS.
> Currently the cluster has TWO on prem DCs and the end cluster state should be TWO DCs
in same region/multiple zones in AWS.
> I know there is EC2Snitch - but that is if I have all the servers in AWS
> I am thinking of using existing property file snitch but hand stitch the rack and dc
from AWS region/zone and add two more DC's. Down side with this approach - I am really not
using EC2Snitch which would have been nice.
> BTW I am running apache cassandra 2.1.9 (yeah old).
> Appreciate your thoughts on this.
> -Sravan

To unsubscribe, e-mail:<>
For additional commands, e-mail:<>

View raw message