Most of us love to have tools to monitor and automate database operations. For Cassandra, that tool is DataStax OpsCenter. If you prefer to roll with the command line, then two core utilities you'll need to understand are nodetool and dsetool.
- nodetool - Cassandra's main utility tool
- dsetool - DSE's main utility tool
Shows current status of the cluster:
nodetool status
shows thread pool status - critical for ops:
nodetool tpstats
Shows current status of cluster, including DSE features:
dsetool status
The main log you'll be taking a look at for troubleshooting outside of OpsCenter can be viewed with the command:
cat /var/log/cassandra/system.log