Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 764 Bytes

Lab 8 - Operations.md

File metadata and controls

35 lines (22 loc) · 764 Bytes

Lab 8 - Operations

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

nodetool Examples

Shows current status of the cluster:

nodetool status

shows thread pool status - critical for ops:

nodetool tpstats

dsetool Examples

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