Giter Site home page Giter Site logo

Comments (3)

StrongPa55word avatar StrongPa55word commented on August 22, 2024

I did see Ec2Snitch is enabled. However its not working

from comboami.

joaquincasares avatar joaquincasares commented on August 22, 2024

Hey @titotp ,

I'm not sure exactly what's going on, but I'll explain a bit more on what you may be seeing and hopefully that clears up the issue.

I'm assuming your cluster is visible as 3 separate clusters and not one continuous one? If so, that has nothing to do with the snitches. The snitches allow the cluster to see where the nodes fall in terms of the data distribution by placing nodes in different datacenters, and sometimes racks. If you're seeing 3 separate clusters that can't talk to each other, that may just be a routing situation and I'm not sure where to begin with VPC support on that end. For normal EC2 usage all nodes know of seeds (composed of a few nodes' internal IP addresses) and all nodes communicate with each other via those internal IP addresses that are setup as the listen_address in the cassandra.yaml. If you need a different setup, you'll need to set the broadcast_address to be the external address, the listen_address remain the internal address, and the seeds will be composed of the broadcast_addresses (external IP addresses).

However, if your cluster is showing up with all the nodes visible under nodetool ring or nodetool status but they all show the same datacenter, then it would be a snitch issue.

SimpleSnitch will place all nodes into DC1, or something similar, while EC2Snitch will place nodes in DC's according to EC2 Regions and racks according to EC2 AZ's. (However, before you go down that route, I'd highly recommend using separate datacenters and single rack. It makes setup, maintenance, and emergency situations much easier. Read up a bit more on the very last caveat, if you're thinking about this setup: http://www.datastax.com/dev/blog/multi-datacenter-replication)

Let me know if I misunderstood the problem with feedback on where exactly I did.

Hope this helps!

from comboami.

joaquincasares avatar joaquincasares commented on August 22, 2024

Hello I'm closing out old issues and just realized you were may have been expecting cross-AZ's launches to work. The reason they won't work is due to the fact that EC2 reservations are in a single AZ. What I typed above was a manual solution for getting things setup after using the AMI to launch 3 separate clusters.

Cheers.

from comboami.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.