I am trying to setup two nodes of Cassandra cluster on my windows machine. Basically, I have two windows machine. In both of my machine, I have installed Cassandra 1.2.11 from Datastax. Now I was following this tutorial to setup two node Cassandra Cluster.
After installing Cassandra into those two machines, I stopped the services for the Cassandra server, DataStax OpsCenter, and the DataStax OpsCenter agent in those two machines..
And then I started making changes in the yaml file -
My First Node details are -
initial_token: 0
seeds: "10.0.0.4"
listen_address: 10.0.0.4 #IP of Machine - A (Wireless LAN adapter Wireless Network Connection)
rpc_address: 10.0.0.4
My Second Node details are -
initial_token: 0
seeds: "10.0.0.4"
listen_address: 10.0.0.7 #IP of Machine - B (Wireless LAN adapter Wireless Network Connection)
rpc_address: 10.0.0.7
Both of my serves gets started up properly after I start the services for server. But they are not forming a cluster of two nodes somehow? Is there anything I am missing here?
Machine-A Nodetool Information-
Datacenter: datacenter1
==========
Replicas: 1
Address Rack Status State Load Owns Token
10.0.0.4 rack1 Up Normal 212.1 KB 100.00% 5264744098649860606
Machine-B Nodetool Information-
Starting NodeTool
Datacenter: datacenter1
==========
Replicas: 1
Address Rack Status State Load Owns Token
10.0.0.7 rack1 Up Normal 68.46 KB 100.00% 407804996740764696
Both of my laptops are running Windows 7 64 bit and on the same wi-fi network, sitting next to each other.