mira1995 mira1995 - 1 year ago 86
Linux Question

Setting up a multi-node Cassandra Cluster distributed across two Linux VMs

So I have followed the datastax tutorial all of today
But am still unable to get my cassandra cluster up and running.

This is how my yaml file looks for both my cassandra instances:

Cluster Name: 'MyCassandraCluster'




class_name: org.apache.cassandra.locator.SimpleSeedProvider



This is the error message I am getting for the seed node

However, when I run nodetool status it runs but only for a single node. In addition, the ip address does not look right for what I set to the listen_address

I am extremely confused and I would really appreciate any guidance/help! Thank you in advance.

Answer Source

You need to put


on one node and


on another, not two IPs on both.

Also giving public IP to Cassandra is very bad idea in general - by default there's no authorization, anyone from public Internet can mess with your data.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download