I installed Cassandra DB on my Ubuntu VM1 and also installed on other VM Ubuntu VM2. MY question is:
How to initialize multi node cluster (single data-center) on my VM's?
I also changed my Cassandra.yaml like below:
- IP default to IP system seed , listen_address.
- cluster_name: 'MyDigitalOceanCluster'
- initial_token: 0
- seed_provider:
- seeds: "198.211.50.0"
- listen_address: 198.211.50.0
- rpc_address: 0.0.0.0
- endpoint_snitch: RackInferringSnitch
After the changes I received this message:
Connection error: ('Unable to connect to any servers', {'127.0.0.1':
error(111, "Tried connecting to [('127.0.0.1', 9042)]. Last error:
Connection refused")})
cqlsh
. Also, theseeds:
parameter should have both IP addresses (in a 2 node cluster, I'd make them both seed nodes). – Aaron