Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCM configure rack per node #686

Open
lehnerj opened this issue Nov 30, 2018 · 3 comments
Open

CCM configure rack per node #686

lehnerj opened this issue Nov 30, 2018 · 3 comments

Comments

@lehnerj
Copy link

lehnerj commented Nov 30, 2018

I would like to setup a multi data center (DC) scenario with multiple racks per DC. Is this possible with ccm?

@tamnguyenchi93
Copy link

Default config of snitch is SimpleSnitch.

SimpleSnitch: This is the default snitch, but it is good only for
development environments. This snitch is unaware of datacenters or
racks and thus is unusable for multi-datacenter environments

You have to change to GossipingPropertyFileSnitch then change config in file

${node_name}/conf/cassandra-rackdc.properties

Default value is

dc=dc1
rack=rack1

@markvdlaan93
Copy link

I try to do the same as @lehnerj. I first stop the cluster and after that I adjust the snitch type and the rackdc properties file. However, after starting the cluster again, the old rack name is still displayed on all three nodes when I run nodetool status. Is there something that I'm missing? Maybe flush a cache or something like that?

@cthumuluru
Copy link

@markvdlaan93: CCM is working for me with multi-dc setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants