How can I list all the nodes in a Cassandra cluster?
If JMX authentication is not enabled, run the following command:
nodetool status
If JMX authentication is not enabled, and SSL is enabled for JMX interface, run the following command:
nodetool status --ssl
If JMX authentication is enabled, run the following command:
nodetool -u username -pw password statusIf both JMX authentication and SSL are enabled for JMX interface, run the following command:
nodetool -u username -pw password status --sslHow do I connect to the cqlsh interface?
If CQL authentication is not enabled, run the following command:
cqlsh hostIP cqlportIf CQL authentication is not enabled, and SSL is enabled for CQL interface, run the following command:
cqlsh hostIP cqlport --sslIf CQL authentication is enabled, run the following command:
cqlsh hostIP cqlport -u username -p passwordIf both CQL authentication and SSL are enabled for CQL interface, run the following command:
cqlsh hostIP cqlport -u username -p password --ssl