dsetool ring
Lists the nodes in the ring. For more readable output, use dsetool status.
Synopsis
dsetool ring
Syntax conventions | Description |
---|---|
UPPERCASE |
Literal keyword. |
Lowercase |
Not literal. |
<`Italics>` |
Variable value. Replace with a valid option or user-defined value. |
|
Optional.
Square brackets ( |
|
Group.
Parentheses ( |
|
Or.
A vertical bar ( |
|
Repeatable.
An ellipsis ( |
|
Single quotation ( |
|
Map collection.
Braces ( |
|
Set, list, map, or tuple.
Angle brackets ( |
|
End CQL statement.
A semicolon ( |
|
Separate the command line options from the command arguments with two hyphens ( |
|
Search CQL only: Single quotation marks ( |
|
Search CQL only: Identify the entity and literal value to overwrite the XML element in the schema and solrconfig files. |
This command takes no arguments.
Examples
List nodes in a cluster:
dsetool ring
Results:
Address DC Rack Workload Graph Status State Load Effective-Ownership Token Health [0,1]
0
10.101.33.157 Cassandra rack1 Cassandra no Up Normal 178.75 KiB 50.00% -9223372036854775808 1.00
10.101.32.188 Cassandra rack1 Cassandra no Up Normal 188.22 KiB 50.00% 0 1.00
List the status of a search reindexing in a cluster:
dsetool ring
Results:
Address DC Rack Workload Graph Status State Load Owns VNodes Health [0,1]
10.200.182.8 Solr rack1 Search no Up Normal 888.77 MiB ? -9223372036854775808 1.00
10.200.182.82 Solr rack1 Search no Up Normal 1.09 GiB ? -3074457345618258603 0.90
10.200.182.81 Solr rack1 Search no Up Joining 446.34 MiB ? 3074457345618258602 0.00
Joining node 10.200.182.81 is currently indexing following cores: solr_tests.paging
NOTE: you must specify a keyspace to get ownership information.