Introduction to Cassandra Nodetool:
1. Nodetool is the command line utility for managing cassandra cluster.
/install/bin/nodetool
2. Command to connect to the node other than that you are currently on use the below command.
$ bin/nodetool -h 'hostname' -p 'jmx_port' [command] [options]
> jmx_port is configured in cassandra-env.sh
> default jmx port is 7199.
Example:
3. Nodetool supports over 60 commands including:
> status
> info
> ring
Example:
4. Sample outout of nodetool info command.
5.Additional nodetool commands
> jmx_port is configured in cassandra-env.sh
> default jmx port is 7199.
Example:
3. Nodetool supports over 60 commands including:
> status
> info
> ring
Example:
4. Sample outout of nodetool info command.
5.Additional nodetool commands