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.

 Thanks 

Paul Chandler
www.redshots.com

> On 16 Apr 2019, at 15:02, Shravan R <skr...@gmail.com> wrote:
> 
> 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 
> cassandra-rackdc.properties are there any down sides of not using 
> GoogleCloudSnitch in your case and EC2Snitch in my case? 
> 
> Thanks,
> Shravan
> 
> On Tue, Apr 16, 2019 at 4:05 AM Paul Chandler <p...@redshots.com 
> <mailto:p...@redshots.com>> wrote:
> Sravan,
> 
> 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 
> cassandra-rackdc.properties file, but for us that was controlled by puppet 
> anyway, so it was not an issue.
> 
> Thanks 
> 
> Paul Chandler
> www.redshots.com <http://www.redshots.com/>
> 
> 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 <skr...@gmail.com 
> > <mailto:skr...@gmail.com>> wrote:
> > 
> > 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: user-unsubscr...@cassandra.apache.org 
> <mailto:user-unsubscr...@cassandra.apache.org>
> For additional commands, e-mail: user-h...@cassandra.apache.org 
> <mailto:user-h...@cassandra.apache.org>
> 

Reply via email to