Much of this chapter will focus on using Apache Cassandra's nodetool utility. As mentioned previously, the nodetool utility installs with Cassandra, and is central to most aspects of cluster management. Before we get too far into discussing it, there are some important things to note about nodetool:
- It uses port 7199 for JMX.
- Remote JMX access must be explicitly enabled within each node's configuration.
- Without remote JMX, you will need to SSH into the node to utilize it in nodetool.
- Nodetool is separate from Apache Cassandra. Different versions of nodetool can communicate with different versions of Cassandra, so use it with caution.