Skip to content

Commit 1b7be61

Browse files
committed
Updated docs
1 parent 2e389a9 commit 1b7be61

File tree

2 files changed

+44
-4
lines changed

2 files changed

+44
-4
lines changed

README.markdown

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,48 @@ cassandra-tools-wmf
33

44
Cluster management tools for [Apache Cassandra](http://cassandra.apache.org).
55

6-
Debian package
7-
--------------
6+
The tools
7+
---------
8+
* `c-any-nt <arg> [arg ...]`
9+
10+
Execute nodetool on an instance (any instance).
11+
12+
* `c-cqlsh <id>`
13+
14+
Execute `cqlsh` on an instance (uses the cqlshrc file in the instance's
15+
configuration directory).
16+
17+
* `c-foreach-nt <arg> [arg ...]`
18+
19+
Iteratively execute nodetool on all local Cassandra instances.
20+
21+
* `c-foreach-restart [-r RETRIES] [-d DELAY] [--execute-post-shutdown CMD]`
22+
23+
Iteratively restart Cassandra instances.
24+
25+
Each instance is drained prior to being restarted. After each restart, the
26+
process will block until the CQL port opens up.
27+
28+
Any command specified using `--execute-post-shutdown` will be executed after
29+
Cassandra is shutdown, and before it is restarted. Commands can include the
30+
`{id}` template which will be substituted with the instance being restarted
31+
before executing the command.
32+
33+
* `c-ls`
34+
35+
List the locally configured instance IDs.
36+
37+
* `streams [--nodetool CMD]`
38+
39+
Realtime console monitoring of streaming operations.
40+
41+
* `uyaml <yaml file> <attribute>`
42+
43+
Query attributes from a yaml file.
44+
45+
46+
Building a Debian package
47+
-------------------------
848
$ git checkout master
949
$ make orig.tar.gz
1050
$ git checkout debian

TODO.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
* c-foreach-restart: configurable retries/timeout for CQL port check
2+
* <del>c-foreach-restart: configurable retries/timeout for CQL port check</del>
33
* c-foreach-restart: log timestamps
4-
* c-foreach-restart: configurable delay between restarts
4+
* <del>c-foreach-restart: configurable delay between restarts</del>
55
* c-foreach-restart: add a --with-sudo argument

0 commit comments

Comments
 (0)