Hi,
I have installed cassandra on freebsd hyper-v virtual machine. The first node seems to be running ok with the following settings:
cluster_name: 'Avargy Cluster'
initial_token: 0
seed_provider:
- seeds: "192.168.0.247"
listen_address: 192.168.0.247
rpc_address: 192.168.0.247
(the rest is at default settings)
so - running "nodetool -h localhost ring" returns:
Address DC Rack Status State Load Owns Token
192.168.0.247 datacenter1 rack1 Up Normal 22.21 KB 100.00% 0
So, I cloned the first machine, changed ip, host-name in /etc/rc.conf and added a dns entry. The network connection works fine. I don't think that the clone is the related to the problem - just to complete the picture...
I have disabled the firewall so it is not in the way :-)
Now - I updated the cassandra.yaml script on the second node:
initial_token: 85070591730234615865843651857942052864
seed_provider:
- seeds: "192.168.0.247"
listen_address: 192.168.0.248
rpc_address: 192.168.0.248
(the rest is as node1)
now - after starting cassandra I run "nodetool -h localhost ring" again (on node1):
Address DC Rack Status State Load Owns Token
192.168.0.248 datacenter1 rack1 Up Normal 31.22 KB 100.00% 0
So - apparently the new node "takes over"... and gets a token "0" - strange... :-(
I expected (hoped) to see both nodes listed with each handling 50%...
what do I do wrong?
Thanks in advance!
Thomas Augustinus
