1 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
3 <!-- Fill in your name for FIRSTNAME and SURNAME. -->
4 <!-- Please adjust the date whenever revising the manpage. -->
5 <!ENTITY dhdate "<date>February 11, 2009</date>">
6 <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
7 allowed: see man(7), man(1). -->
8 <!ENTITY dhsection "<manvolnum>8</manvolnum>">
9 <!ENTITY dhucpackage "<refentrytitle>ganeti-watcher</refentrytitle>">
10 <!ENTITY dhpackage "ganeti-watcher">
12 <!ENTITY debian "<productname>Debian</productname>">
13 <!ENTITY gnu "<acronym>GNU</acronym>">
14 <!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
15 <!ENTITY footer SYSTEM "footer.sgml">
24 <holder>Google Inc.</holder>
32 <refmiscinfo>ganeti 2.0</refmiscinfo>
35 <refname>&dhpackage;</refname>
37 <refpurpose>ganeti cluster watcher</refpurpose>
41 <command>&dhpackage; </command>
46 <title>DESCRIPTION</title>
49 The <command>&dhpackage;</command> is a periodically run script
50 which is responsible for keeping the instances in the correct
55 Its primary function is to try to keep running all instances
56 which are marked as <emphasis>up</emphasis> in the configuration
57 file, by trying to start them a limited number of times.
61 Its other function is to <quote>repair</quote> DRBD links by
62 reactivating the block devices of instances which have
63 secondaries on nodes that have been rebooted.
67 The watcher does synchronous queries but will submit jobs for
68 executing the changes. Due to locking, it could be that the jobs
69 execute much later than the watcher executes them.
73 The command has a state file located at
74 <filename>@LOCALSTATEDIR@/lib/ganeti/watcher.data</filename> and a log
76 <filename>@LOCALSTATEDIR@/log/ganeti/watcher.log</filename>. Removal of
77 either file will not affect correct operation; the removal of
78 the state file will just cause the restart counters for the
79 instances to reset to zero.
88 <!-- Keep this comment at the end of the file
93 sgml-minimize-attributes:nil
94 sgml-always-quote-attributes:t
97 sgml-parent-document:nil
98 sgml-default-dtd-file:nil
100 sgml-local-catalogs:nil
101 sgml-local-ecat-files:nil