0
votes

We have three node cluster in the same datacenter configured using private ip and every thing is working fine . We wanted to add the DR for this node.When we try to add the node using seed node as public-IP we are getting error as

ERROR [main] 2017-12-04 02:35:12,329 CassandraDaemon.java:747 - Exception encountered during startup java.lang.RuntimeException: Unable to gossip with any seeds

Can someone help me with adding the node to the cluster which is on different data center?

1

1 Answers

0
votes

For the node in new DC:

  • Set the seeds value in cassandra.yaml to your seeds in your first DC. If you already have multiple DCs make sure to add seeds from those as well. You should have 2 seeds per DC.
  • Change endpoint_snitch value in cassandra.yaml to a snitch that supports multiple DCs. E.g. GossipingPropertyFileSnitch
  • Set dc value in cassandra-rackdc.properties.