I am trying to setup a Cassandra multinode cluster on CentOS 7 with OpenJDK.
I have 2 Nodes:
- node1 10.99.189.49
- node2 10.99.189.50
I have done following things till now:
- Downloaded the tarball of Cassandra from PlanetCassandra site
- Extracted it in Documents folder.
- Created all the necessary directories (data/saved_cache, data/commitlog, data/data) as mentioned in the YAML file.
And I have made 3 changes in my conf/cassandra.yaml file as follows:
On node 10.99.189.49:
seeds: "10.99.189.49"
listen_address: 10.99.189.49
rpc_address: 10.99.189.49
On node 10.99.189.50:
seeds: "10.99.189.49"
listen_address: 10.99.189.50
rpc_address: 10.99.189.50
Now I run cassandra on node 10.99.189.49 and then I run cassandra on the other node.
Cassandra starts normally on both the nodes BUT when I do:
bin/nodetool status
I can see only one node in it.
Can anyone point what I am doing wrong or missing something?
cluster_nameis the same.telnet 10.99.189.50 7000.