How do i check the status of cassandra nodes?
-
As this a training setup only one node is being used, for real use you would have a Cassandra cluster, consisting of many nodes.
$ nodetool status Datacenter: datacenter1 ======================= Status=Up/Down |/ State=Normal/Leaving/Joining/Moving -- Address Load Tokens Owns (effective) Host ID Rack UN 127.0.0.1 171.3 KB 256 100.0% 1baa34tf-1965-1w40-a322-eb08b1267x58 rack1
UN - The U mean Up and the Normal.
If you have a cassandra cluster: There will be more nodes.
$ nodetool status Note: Ownership information does not include topology; for complete information, specify a keyspace Datacenter: DC1 =============== Status=Up/Down |/ State=Normal/Leaving/Joining/Moving -- Address Load Tokens Owns Host ID Rack UN 172.31.31.190 106.05 KB 256 23.3% 2984e774-3rds-45b1-9e15-8be9b21f5d6a RAC2 UN 172.31.18.146 119.46 KB 256 24.2% 6302e2e9-bdgf-497c-9b3b-3cbb1eb740dc RAC4 UN 172.31.16.130 119.41 KB 256 25.2% 6d3d5470-5751-4865-98e7-6d85b21616c2 RAC3 UN 172.31.27.66 114.95 KB 256 27.4% dfbc2a96-1swf-4544-aee4-3aaa37b10597 RAC1
© Lightnetics 2024