Use the nodetool status command. 

nodetool status

Datacenter: us-east-1

=====================

Status=Up/Down|/ State=Normal/Leaving/Joining/Moving--  Address    Load        
Tokens  Owns (effective)  Host ID                               Rack      

UN  10.0.1.115  205.6 KiB  256     66.9%             
b64cb32a-b32a-46b4-9eeb-e123fa8fc287  us-east-1b

UN  10.0.3.206  182.67 KiB 256     63.5%             
74863177-684b-45f4-99f7-d1006625dc9e  us-east-1d

UN  10.0.2.238  240.81 KiB 256     69.6%             
4dcdadd2-41f9-4f34-9892-1f20868b27c7  us-east-1c

 
UN in 1st column implies status is Up and Normal.

    On Wednesday, January 8, 2020, 08:37:42 p.m. UTC, Voytek Jarnot 
<voytek.jar...@gmail.com> wrote:  
 
 Needing to know when Cassandra is finished initializing and is up & running.
Had some scripts which were looking through system.log for "No gossip backlog; 
proceeding", but that turns out not to be 100% reliable.
Is looking for "Starting listening for CQL clients" considered definitive? 
I.E., always gets output on success, and not on failure?
Thanks  

Reply via email to