Skip to content

cassandra cluster on docker swarm

Check cassandra cluster

docker exec -i {CONTAINER_ID} nodetool status

Answer should be link this

Datacenter: eu-west
===================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address   Load       Tokens       Owns (effective)  Host ID                               Rack
UN  10.0.1.4  231 KiB    256          68.7%             8584e558-9eac-4dea-976b-602384717f36  1b
UN  10.0.1.6  303.61 KiB  256          65.3%             e7701e73-3a34-4057-b7e4-2110e22e9ef3  1b
UN  10.0.1.8  258.13 KiB  256          66.0%             a64300c4-6129-4462-8c86-7f58e510624d  1b