Reputation: 35
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'
num_tokens:256
listen_address: 9.98.171.184/9.98.171.183
rpc_address: 9.98.171.184/9.98.171.183
class_name: org.apache.cassandra.locator.SimpleSeedProvider
parameters:
-seeds:"9.98.171.184"
This is the error message I am getting for the seed node
I am extremely confused and I would really appreciate any guidance/help! Thank you in advance.
Upvotes: 1
Views: 155
Reputation: 794
You need to put
listen_address: 9.98.171.183
rpc_address: 9.98.171.183
on one node and
listen_address: 9.98.171.184
rpc_address: 9.98.171.184
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.
Upvotes: 1