Comments (3)
I did see Ec2Snitch is enabled. However its not working
from comboami.
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.
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)
- Java 8 HOT 2
- Exception seen in ds1_launcher.py HOT 2
- base64postscript fails when there are multiple commands HOT 2
- Installation Issue AWS EC2 dsc22 : Depends: cassandra (= 2.2.3) but 3.0.0 is to be installed HOT 10
- Please fix Cassandra version in http://debian.datastax.com/community HOT 1
- No cassandra/cassandra.yaml file or directory HOT 2
- Missing Enhanced Networking drivers on Ubuntu 14.04 HVM HOT 1
- Raid0 for DSE HOT 2
- Wrong device name md_d0 should be md0? HOT 1
- Unable to start a cluster using DataStax Auto-Clustering AMI 2.6-1404-hvm - ami-35ac725e HOT 5
- apt-get install fails due to unauthorized packages HOT 7
- Image failing to bootstrap HOT 3
- ComboAMI Updates Broken for named branches HOT 2
- skip reflector HOT 1
- Add custom script to execute at installation end HOT 7
- Uneven Token Distribution HOT 10
- Document additional switches HOT 3
- Bootstrap fails in AWS - Other bootstrapping/leaving/moving nodes detected HOT 1
- dsc22 : Depends: cassandra (= 2.2.3) but 3.0.0 is to be installed HOT 6
- Add support for DSC 3.0 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comboami.