Langue: en

Version: 24 September 2008 (ubuntu - 08/07/09)

Section: 8 (Commandes administrateur)


ganeti-watcher - ganeti cluster watcher




The ganeti-watcher is a periodically run script which is responsible for keeping the instances in the correct status.

Its primary function is to try to keep running all instances which are marked as up in the configuration file, by trying to start them a limited number of times.

Its other function is to ``repair'' DRBD links by reactivating the block devices of instances which have secondaries on nodes that have been rebooted.

In order to prevent piling up commands, all the gnt-* commands executed by ganeti-watcher are run with a timeout of 15 seconds.

The command has a state file located at /var/lib/ganeti/ and a log file at /var/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.


Report bugs to or contact the developers using the ganeti mailing list <>.


Ganeti overview and specifications: ganeti(7) (general overview), ganeti-os-interface(7) (guest OS definitions).

Ganeti commands: gnt-cluster(8) (cluster-wide commands), gnt-node(8) (node-related commands), gnt-instance(8) (instance commands), gnt-os(8) (guest OS commands). gnt-backup(8) (instance import/export commands).

Ganeti daemons: ganeti-watcher(8) (automatic instance restarter), ganeti-noded(8) (node daemon), ganeti-master(8) (the master startup script), ganeti-rapi(8) (remote API daemon).

Copyright (C) 2006, 2007 Google Inc. Permission is granted to copy, distribute and/or modify under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.