-
Notifications
You must be signed in to change notification settings - Fork 277
Closed
Description
Trying to build a dev cluster at Digital Ocean.
These are the steps I followed:
- Created 2 boxes with docker 1.6.2 Ubuntu 14.04 default image from Digital Ocean
- docker pull cassandra on both boxes
- first node ip is 10.13.13.13 and second node is 10.13.13.14
- started cassandra on first node docker run --name cassandra1 -d -e CASSANDRA_BROADCAST_ADDRESS=10.13.13.13 -p 7000:7000 -v /data:/var/lib/cassandra/data cassandra
- telnet 10.13.13.13 7000 from second node. Got Escape character is '^]'. as usual
- Started second cassandra node: docker run --name cassandra2 -d -e CASSANDRA_SEEDS=10.13.13.13 -e CASSANDRA_BOADCAST_ADDRESS=10.13.13.13 -v /data:/var/lib/cassandra/data cassandra
- Nodetool output on first node:
root@cassandra1:~# docker exec -ti cassandra1 /usr/bin/nodetool status
Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Tokens Owns (effective) Host ID Rack
UN 10.13.13.13 51.29 KB 256 100.0% 0daf1848-0d59-46a9-8067-a8f89ad52b24 rack1
And second node:
Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Tokens Owns (effective) Host ID Rack
UN 10.13.13.13 65.66 KB 256 100.0% be11a163-cc73-4c52-9c93-c8dadb0daf54 rack1
It seems that second node is node becoming a member of the cluster. What am I doing wrong?
Metadata
Metadata
Assignees
Labels
No labels