I just set up a 3 node system with ip addresses "192.168.0.101", "192.168.0.102", "192.168.0.103". I have set the seeds value on the configuration of all three machines as
seeds: "192.168.0.101,192.168.0.102,192.168.0.103"
However, on running nodetool on any of them, only the 103
machine gets discovered.
node101:/opt/cassandra/apache-cassandra-0.8.5/bin# ./nodetool
ring -h 192.168.0.101 Address DC Rack Status
State Load Owns Token192.168.0.103 datacenter1 rack1 Up Normal 151.96 KB
100.00% 38174485210079977599903748344879358256
Could someone tell me where the problem lies?
Best Answer
Seeds are really only important when bootstrapping new machines into a cluster, and they should only be set to mature members of the cluster.
In a three-node cluster, I usually:
In your case (not seeing discovery), I would double-check the following:
Also, please run the nodetool ring command on each node and see if they all think they're members of single-node rings.