root / man / ganeti-watcher.sgml @ 36e23a40
History | View | Annotate | Download (2.8 kB)
1 | a8083063 | Iustin Pop | <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ |
---|---|---|---|
2 | a8083063 | Iustin Pop | |
3 | a8083063 | Iustin Pop | <!-- Fill in your name for FIRSTNAME and SURNAME. --> |
4 | a8083063 | Iustin Pop | <!-- Please adjust the date whenever revising the manpage. --> |
5 | 320d986d | Iustin Pop | <!ENTITY dhdate "<date>February 11, 2009</date>"> |
6 | a8083063 | Iustin Pop | <!-- SECTION should be 1-8, maybe w/ subsection other parameters are |
7 | a8083063 | Iustin Pop | allowed: see man(7), man(1). --> |
8 | a8083063 | Iustin Pop | <!ENTITY dhsection "<manvolnum>8</manvolnum>"> |
9 | a8083063 | Iustin Pop | <!ENTITY dhucpackage "<refentrytitle>ganeti-watcher</refentrytitle>"> |
10 | a8083063 | Iustin Pop | <!ENTITY dhpackage "ganeti-watcher"> |
11 | a8083063 | Iustin Pop | |
12 | a8083063 | Iustin Pop | <!ENTITY debian "<productname>Debian</productname>"> |
13 | a8083063 | Iustin Pop | <!ENTITY gnu "<acronym>GNU</acronym>"> |
14 | a8083063 | Iustin Pop | <!ENTITY gpl "&gnu; <acronym>GPL</acronym>"> |
15 | a8083063 | Iustin Pop | <!ENTITY footer SYSTEM "footer.sgml"> |
16 | a8083063 | Iustin Pop | ]> |
17 | a8083063 | Iustin Pop | |
18 | a8083063 | Iustin Pop | <refentry> |
19 | a8083063 | Iustin Pop | <refentryinfo> |
20 | a8083063 | Iustin Pop | <copyright> |
21 | a8083063 | Iustin Pop | <year>2007</year> |
22 | 320d986d | Iustin Pop | <year>2008</year> |
23 | 320d986d | Iustin Pop | <year>2009</year> |
24 | a8083063 | Iustin Pop | <holder>Google Inc.</holder> |
25 | a8083063 | Iustin Pop | </copyright> |
26 | a8083063 | Iustin Pop | &dhdate; |
27 | a8083063 | Iustin Pop | </refentryinfo> |
28 | a8083063 | Iustin Pop | <refmeta> |
29 | a8083063 | Iustin Pop | &dhucpackage; |
30 | a8083063 | Iustin Pop | |
31 | a8083063 | Iustin Pop | &dhsection; |
32 | 320d986d | Iustin Pop | <refmiscinfo>ganeti 2.0</refmiscinfo> |
33 | a8083063 | Iustin Pop | </refmeta> |
34 | a8083063 | Iustin Pop | <refnamediv> |
35 | a8083063 | Iustin Pop | <refname>&dhpackage;</refname> |
36 | a8083063 | Iustin Pop | |
37 | a8083063 | Iustin Pop | <refpurpose>ganeti cluster watcher</refpurpose> |
38 | a8083063 | Iustin Pop | </refnamediv> |
39 | a8083063 | Iustin Pop | <refsynopsisdiv> |
40 | a8083063 | Iustin Pop | <cmdsynopsis> |
41 | a8083063 | Iustin Pop | <command>&dhpackage; </command> |
42 | a8083063 | Iustin Pop | |
43 | a8083063 | Iustin Pop | </cmdsynopsis> |
44 | a8083063 | Iustin Pop | </refsynopsisdiv> |
45 | a8083063 | Iustin Pop | <refsect1> |
46 | a8083063 | Iustin Pop | <title>DESCRIPTION</title> |
47 | a8083063 | Iustin Pop | |
48 | a8083063 | Iustin Pop | <para> |
49 | a8083063 | Iustin Pop | The <command>&dhpackage;</command> is a periodically run script |
50 | a8083063 | Iustin Pop | which is responsible for keeping the instances in the correct |
51 | a8083063 | Iustin Pop | status. |
52 | a8083063 | Iustin Pop | </para> |
53 | a8083063 | Iustin Pop | |
54 | a8083063 | Iustin Pop | <para> |
55 | f69dab6d | Iustin Pop | Its primary function is to try to keep running all instances |
56 | f69dab6d | Iustin Pop | which are marked as <emphasis>up</emphasis> in the configuration |
57 | f69dab6d | Iustin Pop | file, by trying to start them a limited number of times. |
58 | f69dab6d | Iustin Pop | </para> |
59 | f69dab6d | Iustin Pop | |
60 | f69dab6d | Iustin Pop | <para> |
61 | f69dab6d | Iustin Pop | Its other function is to <quote>repair</quote> DRBD links by |
62 | f69dab6d | Iustin Pop | reactivating the block devices of instances which have |
63 | f69dab6d | Iustin Pop | secondaries on nodes that have been rebooted. |
64 | a8083063 | Iustin Pop | </para> |
65 | a8083063 | Iustin Pop | |
66 | 320d986d | Iustin Pop | <para> |
67 | 320d986d | Iustin Pop | The watcher does synchronous queries but will submit jobs for |
68 | 320d986d | Iustin Pop | executing the changes. Due to locking, it could be that the jobs |
69 | 320d986d | Iustin Pop | execute much later than the watcher executes them. |
70 | a8083063 | Iustin Pop | </para> |
71 | a8083063 | Iustin Pop | |
72 | a8083063 | Iustin Pop | <para> |
73 | a8083063 | Iustin Pop | The command has a state file located at |
74 | 52da0141 | Michael Hanselmann | <filename>@LOCALSTATEDIR@/lib/ganeti/watcher.data</filename> and a log |
75 | a8083063 | Iustin Pop | file at |
76 | 26c7e094 | Michael Hanselmann | <filename>@LOCALSTATEDIR@/log/ganeti/watcher.log</filename>. Removal of |
77 | a8083063 | Iustin Pop | either file will not affect correct operation; the removal of |
78 | a8083063 | Iustin Pop | the state file will just cause the restart counters for the |
79 | a8083063 | Iustin Pop | instances to reset to zero. |
80 | a8083063 | Iustin Pop | </para> |
81 | a8083063 | Iustin Pop | |
82 | a8083063 | Iustin Pop | </refsect1> |
83 | a8083063 | Iustin Pop | |
84 | a8083063 | Iustin Pop | &footer; |
85 | a8083063 | Iustin Pop | |
86 | a8083063 | Iustin Pop | </refentry> |
87 | a8083063 | Iustin Pop | |
88 | a8083063 | Iustin Pop | <!-- Keep this comment at the end of the file |
89 | a8083063 | Iustin Pop | Local variables: |
90 | a8083063 | Iustin Pop | mode: sgml |
91 | a8083063 | Iustin Pop | sgml-omittag:t |
92 | a8083063 | Iustin Pop | sgml-shorttag:t |
93 | a8083063 | Iustin Pop | sgml-minimize-attributes:nil |
94 | a8083063 | Iustin Pop | sgml-always-quote-attributes:t |
95 | a8083063 | Iustin Pop | sgml-indent-step:2 |
96 | a8083063 | Iustin Pop | sgml-indent-data:t |
97 | a8083063 | Iustin Pop | sgml-parent-document:nil |
98 | a8083063 | Iustin Pop | sgml-default-dtd-file:nil |
99 | a8083063 | Iustin Pop | sgml-exposed-tags:nil |
100 | a8083063 | Iustin Pop | sgml-local-catalogs:nil |
101 | a8083063 | Iustin Pop | sgml-local-ecat-files:nil |
102 | a8083063 | Iustin Pop | End: |
103 | a8083063 | Iustin Pop | --> |