Skip to content
Snippets Groups Projects
Commit 4e3c9f2d authored by Iustin Pop's avatar Iustin Pop
Browse files

Correct the watcher state files in the man page


The move to per-group state files forgot to update the man page of
ganeti-watcher; let's fix this and add some more details on what
removal means and when it's needed.

Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent 40b068e5
No related branches found
No related tags found
No related merge requests found
......@@ -68,12 +68,24 @@ execute much later than the watcher submits them.
FILES
-----
The command has a state file located at
``@LOCALSTATEDIR@/lib/ganeti/watcher.data`` (only used on the master)
and a log file at ``@LOCALSTATEDIR@/log/ganeti/watcher.log``. Removal
of either file will not affect correct operation; the removal of the
state file will just cause the restart counters for the instances to
reset to zero.
The command has a set of state files (one per group) located at
``@LOCALSTATEDIR@/lib/ganeti/watcher.GROUP-UUID.data`` (only used on the
master) and a log file at
``@LOCALSTATEDIR@/log/ganeti/watcher.log``. Removal of either file(s)
will not affect correct operation; the removal of the state file will
just cause the restart counters for the instances to reset to zero, and
mark nodes as freshly rebooted (so for example DRBD minors will be
re-activated).
In some cases, it's even desirable to reset the watcher state, for
example after maintenance actions, or when you want to simulate the
reboot of all nodes, so in this case, you can remove all state files::
rm -f @LOCALSTATEDIR@/lib/ganeti/watcher.*.data
rm -f @LOCALSTATEDIR@/lib/ganeti/watcher.*.instance-status
rm -f @LOCALSTATEDIR@/lib/ganeti/instance-status
And then re-run the watcher.
.. vim: set textwidth=72 :
.. Local Variables:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment