Skip to content

Commit

Permalink
Merge pull request #2751 from Veki301/documentation_updates
Browse files Browse the repository at this point in the history
Documentation updates fix - missing -h param in nodetool
  • Loading branch information
Veki301 authored Oct 6, 2022
2 parents 8b0382a + a0e34c7 commit 0aff221
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/src/how-to/administrate/backup-disaster-recovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Make sure (while connected via ssh) your Cassandra installation is doing well wi

or (in newer versions)

nodetool ::FFFF:127.0.0.1 status
nodetool -h ::FFFF:127.0.0.1 status

You should see a list of nodes like this:

Expand Down
4 changes: 2 additions & 2 deletions docs/src/how-to/administrate/cassandra.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ or if you are running a newer version of wire-server (altough it should be backw

.. code:: sh
ssh <ip of cassandra node> /opt/cassandra/bin/nodetool ::FFFF:127.0.0.1 status
ssh <ip of cassandra node> /opt/cassandra/bin/nodetool -h ::FFFF:127.0.0.1 status
You should see a list of nodes like this:

Expand Down Expand Up @@ -55,7 +55,7 @@ For maintenance you may need to restart the cluster.
On each server one by one:
1. check your cluster is healthy: ``nodetool status`` or ``nodetool ::FFFF:127.0.0.1 status`` (in newer versions)
1. check your cluster is healthy: ``nodetool status`` or ``nodetool -h ::FFFF:127.0.0.1 status`` (in newer versions)
2. ``nodetool drain && systemctl stop cassandra`` (to stop accepting writes and flush data to disk; then stop the process)
3. do any operation you need, if any
4. Start the cassandra daemon process: ``systemctl start cassandra``
Expand Down

0 comments on commit 0aff221

Please sign in to comment.