June 20, 2007"> 8"> ganeti-watcher"> Debian"> GNU"> GPL"> ]> 2007 Google Inc. &dhdate; &dhucpackage; &dhsection; ganeti 1.2 &dhpackage; ganeti cluster watcher &dhpackage; DESCRIPTION The &dhpackage; is a periodically run script which is responsible for keeping the instances in the correct status. Its 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. 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/restart_state 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. KNOWN BUGS Due to the way we initialize DRBD peers, restarting a secondary node for an instance will cause the DRBD endpoints on that node to disappear, thus all instances which have that node as a secondary will lose redundancy. The watcher does not detect this situation. The workaround is to manually run gnt-instance activate-disks for all the affected instances. &footer;