Statistics
| Branch: | Tag: | Revision:

root / man / ganeti-watcher.sgml @ 26c7e094

History | View | Annotate | Download (3 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 a8083063 Iustin Pop
  <!ENTITY dhdate      "<date>June 20, 2007</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 a8083063 Iustin Pop
      <holder>Google Inc.</holder>
23 a8083063 Iustin Pop
    </copyright>
24 a8083063 Iustin Pop
    &dhdate;
25 a8083063 Iustin Pop
  </refentryinfo>
26 a8083063 Iustin Pop
  <refmeta>
27 a8083063 Iustin Pop
    &dhucpackage;
28 a8083063 Iustin Pop
29 a8083063 Iustin Pop
    &dhsection;
30 a8083063 Iustin Pop
    <refmiscinfo>ganeti 1.2</refmiscinfo>
31 a8083063 Iustin Pop
  </refmeta>
32 a8083063 Iustin Pop
  <refnamediv>
33 a8083063 Iustin Pop
    <refname>&dhpackage;</refname>
34 a8083063 Iustin Pop
35 a8083063 Iustin Pop
    <refpurpose>ganeti cluster watcher</refpurpose>
36 a8083063 Iustin Pop
  </refnamediv>
37 a8083063 Iustin Pop
  <refsynopsisdiv>
38 a8083063 Iustin Pop
    <cmdsynopsis>
39 a8083063 Iustin Pop
      <command>&dhpackage; </command>
40 a8083063 Iustin Pop
41 a8083063 Iustin Pop
    </cmdsynopsis>
42 a8083063 Iustin Pop
  </refsynopsisdiv>
43 a8083063 Iustin Pop
  <refsect1>
44 a8083063 Iustin Pop
    <title>DESCRIPTION</title>
45 a8083063 Iustin Pop
46 a8083063 Iustin Pop
    <para>
47 a8083063 Iustin Pop
      The <command>&dhpackage;</command> is a periodically run script
48 a8083063 Iustin Pop
      which is responsible for keeping the instances in the correct
49 a8083063 Iustin Pop
      status.
50 a8083063 Iustin Pop
    </para>
51 a8083063 Iustin Pop
52 a8083063 Iustin Pop
    <para>
53 a8083063 Iustin Pop
      Its function is to try to keep running all instances which are
54 a8083063 Iustin Pop
      marked as <emphasis>up</emphasis> in the configuration file, by
55 a8083063 Iustin Pop
      trying to start them a limited number of times.
56 a8083063 Iustin Pop
    </para>
57 a8083063 Iustin Pop
58 a8083063 Iustin Pop
    <para>In order to prevent piling up commands, all the
59 a8083063 Iustin Pop
    <emphasis>gnt-*</emphasis> commands executed by ganeti-watcher are
60 a8083063 Iustin Pop
    run with a timeout of 15 seconds.
61 a8083063 Iustin Pop
    </para>
62 a8083063 Iustin Pop
63 a8083063 Iustin Pop
    <para>
64 a8083063 Iustin Pop
      The command has a state file located at
65 26c7e094 Michael Hanselmann
      <filename>@LOCALSTATEDIR@/lib/ganeti/restart_state</filename> and a log
66 a8083063 Iustin Pop
      file at
67 26c7e094 Michael Hanselmann
      <filename>@LOCALSTATEDIR@/log/ganeti/watcher.log</filename>. Removal of
68 a8083063 Iustin Pop
      either file will not affect correct operation; the removal of
69 a8083063 Iustin Pop
      the state file will just cause the restart counters for the
70 a8083063 Iustin Pop
      instances to reset to zero.
71 a8083063 Iustin Pop
    </para>
72 a8083063 Iustin Pop
73 a8083063 Iustin Pop
  </refsect1>
74 a8083063 Iustin Pop
75 a8083063 Iustin Pop
  <refsect1>
76 a8083063 Iustin Pop
    <title>KNOWN BUGS</title>
77 a8083063 Iustin Pop
78 a8083063 Iustin Pop
    <para>
79 a8083063 Iustin Pop
      Due to the way we initialize DRBD peers, restarting a secondary
80 a8083063 Iustin Pop
      node for an instance will cause the DRBD endpoints on that node
81 a8083063 Iustin Pop
      to disappear, thus all instances which have that node as a
82 a8083063 Iustin Pop
      secondary will lose redundancy. The watcher does not detect this
83 a8083063 Iustin Pop
      situation. The workaround is to manually run
84 a8083063 Iustin Pop
      <command>gnt-instance activate-disks</command> for all the
85 a8083063 Iustin Pop
      affected instances.
86 a8083063 Iustin Pop
    </para>
87 a8083063 Iustin Pop
  </refsect1>
88 a8083063 Iustin Pop
89 a8083063 Iustin Pop
  &footer;
90 a8083063 Iustin Pop
91 a8083063 Iustin Pop
</refentry>
92 a8083063 Iustin Pop
93 a8083063 Iustin Pop
<!-- Keep this comment at the end of the file
94 a8083063 Iustin Pop
Local variables:
95 a8083063 Iustin Pop
mode: sgml
96 a8083063 Iustin Pop
sgml-omittag:t
97 a8083063 Iustin Pop
sgml-shorttag:t
98 a8083063 Iustin Pop
sgml-minimize-attributes:nil
99 a8083063 Iustin Pop
sgml-always-quote-attributes:t
100 a8083063 Iustin Pop
sgml-indent-step:2
101 a8083063 Iustin Pop
sgml-indent-data:t
102 a8083063 Iustin Pop
sgml-parent-document:nil
103 a8083063 Iustin Pop
sgml-default-dtd-file:nil
104 a8083063 Iustin Pop
sgml-exposed-tags:nil
105 a8083063 Iustin Pop
sgml-local-catalogs:nil
106 a8083063 Iustin Pop
sgml-local-ecat-files:nil
107 a8083063 Iustin Pop
End:
108 a8083063 Iustin Pop
-->