root / man / ganeti-noded.sgml @ e0897adf
History | View | Annotate | Download (4.3 kB)
1 | a8083063 | Iustin Pop | <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ |
---|---|---|---|
2 | a8083063 | Iustin Pop | |
3 | a8083063 | Iustin Pop | <!-- Please adjust the date whenever revising the manpage. --> |
4 | e0897adf | Michael Hanselmann | <!ENTITY dhdate "<date>June 08, 2010</date>"> |
5 | a8083063 | Iustin Pop | <!-- SECTION should be 1-8, maybe w/ subsection other parameters are |
6 | a8083063 | Iustin Pop | allowed: see man(7), man(1). --> |
7 | a8083063 | Iustin Pop | <!ENTITY dhsection "<manvolnum>8</manvolnum>"> |
8 | a8083063 | Iustin Pop | <!ENTITY dhucpackage "<refentrytitle>ganeti-noded</refentrytitle>"> |
9 | a8083063 | Iustin Pop | <!ENTITY dhpackage "ganeti-noded"> |
10 | a8083063 | Iustin Pop | |
11 | a8083063 | Iustin Pop | <!ENTITY debian "<productname>Debian</productname>"> |
12 | a8083063 | Iustin Pop | <!ENTITY gnu "<acronym>GNU</acronym>"> |
13 | a8083063 | Iustin Pop | <!ENTITY gpl "&gnu; <acronym>GPL</acronym>"> |
14 | a8083063 | Iustin Pop | <!ENTITY footer SYSTEM "footer.sgml"> |
15 | a8083063 | Iustin Pop | ]> |
16 | a8083063 | Iustin Pop | |
17 | a8083063 | Iustin Pop | <refentry> |
18 | a8083063 | Iustin Pop | <refentryinfo> |
19 | a8083063 | Iustin Pop | <copyright> |
20 | a8083063 | Iustin Pop | <year>2006</year> |
21 | a8083063 | Iustin Pop | <year>2007</year> |
22 | 320d986d | Iustin Pop | <year>2008</year> |
23 | 320d986d | Iustin Pop | <year>2009</year> |
24 | e0897adf | Michael Hanselmann | <year>2010</year> |
25 | a8083063 | Iustin Pop | <holder>Google Inc.</holder> |
26 | a8083063 | Iustin Pop | </copyright> |
27 | a8083063 | Iustin Pop | &dhdate; |
28 | a8083063 | Iustin Pop | </refentryinfo> |
29 | a8083063 | Iustin Pop | <refmeta> |
30 | a8083063 | Iustin Pop | &dhucpackage; |
31 | a8083063 | Iustin Pop | |
32 | a8083063 | Iustin Pop | &dhsection; |
33 | e0897adf | Michael Hanselmann | <refmiscinfo>Ganeti 2.2</refmiscinfo> |
34 | a8083063 | Iustin Pop | </refmeta> |
35 | a8083063 | Iustin Pop | <refnamediv> |
36 | a8083063 | Iustin Pop | <refname>&dhpackage;</refname> |
37 | a8083063 | Iustin Pop | |
38 | e0897adf | Michael Hanselmann | <refpurpose>Ganeti node daemon</refpurpose> |
39 | a8083063 | Iustin Pop | </refnamediv> |
40 | a8083063 | Iustin Pop | <refsynopsisdiv> |
41 | a8083063 | Iustin Pop | <cmdsynopsis> |
42 | a8083063 | Iustin Pop | <command>&dhpackage; </command> |
43 | a8083063 | Iustin Pop | <arg>-f</arg> |
44 | 320d986d | Iustin Pop | <arg>-d</arg> |
45 | a8083063 | Iustin Pop | |
46 | a8083063 | Iustin Pop | </cmdsynopsis> |
47 | a8083063 | Iustin Pop | </refsynopsisdiv> |
48 | a8083063 | Iustin Pop | <refsect1> |
49 | a8083063 | Iustin Pop | <title>DESCRIPTION</title> |
50 | a8083063 | Iustin Pop | |
51 | a8083063 | Iustin Pop | <para> |
52 | a8083063 | Iustin Pop | The <command>&dhpackage;</command> is the daemon which is |
53 | e0897adf | Michael Hanselmann | responsible for the node functions in the Ganeti system. |
54 | a8083063 | Iustin Pop | </para> |
55 | a8083063 | Iustin Pop | |
56 | a8083063 | Iustin Pop | <para> |
57 | bebf68d3 | Guido Trotter | By default, in order to be able to support features such as node |
58 | e0897adf | Michael Hanselmann | powercycling even on systems with a very damaged root disk, |
59 | e0897adf | Michael Hanselmann | <command>ganeti-noded</command> locks itself in RAM using |
60 | e0897adf | Michael Hanselmann | <citerefentry> |
61 | e0897adf | Michael Hanselmann | <refentrytitle>mlockall</refentrytitle> |
62 | e0897adf | Michael Hanselmann | <manvolnum>2</manvolnum> |
63 | e0897adf | Michael Hanselmann | </citerefentry>. You can disable this feature by passing in the |
64 | e0897adf | Michael Hanselmann | <option>--no-mlock</option> to the daemon. |
65 | bebf68d3 | Guido Trotter | </para> |
66 | bebf68d3 | Guido Trotter | |
67 | bebf68d3 | Guido Trotter | <para> |
68 | a8083063 | Iustin Pop | For testing purposes, you can give the <option>-f</option> |
69 | a8083063 | Iustin Pop | option and the program won't detach from the running terminal. |
70 | a8083063 | Iustin Pop | </para> |
71 | 320d986d | Iustin Pop | |
72 | 320d986d | Iustin Pop | <para> |
73 | 320d986d | Iustin Pop | Debug-level message can be activated by giving the |
74 | 320d986d | Iustin Pop | <option>-d</option> option. |
75 | 320d986d | Iustin Pop | </para> |
76 | 2e98275a | Guido Trotter | |
77 | 2e98275a | Guido Trotter | <para> |
78 | 2e98275a | Guido Trotter | Logging to syslog, rather than its own log file, can be enabled by |
79 | 2e98275a | Guido Trotter | passing in the <option>--syslog</option> option. |
80 | 2e98275a | Guido Trotter | </para> |
81 | 2e98275a | Guido Trotter | |
82 | 2e98275a | Guido Trotter | <para> |
83 | e0897adf | Michael Hanselmann | The <command>ganeti-noded</command> daemon listens to port 1811 TCP, on |
84 | e0897adf | Michael Hanselmann | all interfaces, by default. This can be overridden by an entry the |
85 | e0897adf | Michael Hanselmann | services database (<filename>/etc/services</filename>) or by passing the |
86 | e0897adf | Michael Hanselmann | <option>-p</option> option. The <option>-b</option> option can be used to |
87 | e0897adf | Michael Hanselmann | specify the address to bind to (defaults to 0.0.0.0). |
88 | 2e98275a | Guido Trotter | </para> |
89 | 2e98275a | Guido Trotter | |
90 | 2e98275a | Guido Trotter | <para> |
91 | 2e98275a | Guido Trotter | Ganeti noded communication is protected via SSL, with a key generated at |
92 | 2e98275a | Guido Trotter | cluster init time. This can be disabled with the |
93 | e0897adf | Michael Hanselmann | <option>--no-ssl</option> option, or a different SSL key and certificate |
94 | 2e98275a | Guido Trotter | can be specified using the <option>-K</option> and <option>-C</option> |
95 | 2e98275a | Guido Trotter | options. |
96 | 2e98275a | Guido Trotter | </para> |
97 | 2e98275a | Guido Trotter | |
98 | a8083063 | Iustin Pop | <refsect2> |
99 | a8083063 | Iustin Pop | <title>ROLE</title> |
100 | a8083063 | Iustin Pop | <para> |
101 | a8083063 | Iustin Pop | The role of the node daemon is to do almost all the actions |
102 | a8083063 | Iustin Pop | that change the state of the node. Things like creating disks |
103 | a8083063 | Iustin Pop | for instances, activating disks, starting/stopping instance |
104 | a8083063 | Iustin Pop | and so on are done via the node daemon. |
105 | a8083063 | Iustin Pop | </para> |
106 | a8083063 | Iustin Pop | |
107 | a8083063 | Iustin Pop | <para> |
108 | 320d986d | Iustin Pop | Also, in some cases the startup/shutdown of the master daemon |
109 | 320d986d | Iustin Pop | are done via the node daemon, and the cluster IP address is |
110 | 320d986d | Iustin Pop | also added/removed to the master node via it. |
111 | 320d986d | Iustin Pop | </para> |
112 | 320d986d | Iustin Pop | |
113 | 320d986d | Iustin Pop | <para> |
114 | a8083063 | Iustin Pop | If the node daemon is stopped, the instances are not affected, |
115 | a8083063 | Iustin Pop | but the master won't be able to talk to that node. |
116 | a8083063 | Iustin Pop | </para> |
117 | a8083063 | Iustin Pop | </refsect2> |
118 | a8083063 | Iustin Pop | |
119 | a8083063 | Iustin Pop | <refsect2> |
120 | a8083063 | Iustin Pop | <title>COMMUNICATION PROTOCOL</title> |
121 | a8083063 | Iustin Pop | <para> |
122 | e0897adf | Michael Hanselmann | Currently the master-node RPC is done using a simple RPC protocol built |
123 | e0897adf | Michael Hanselmann | using JSON over HTTP(S). |
124 | a8083063 | Iustin Pop | </para> |
125 | a8083063 | Iustin Pop | </refsect2> |
126 | a8083063 | Iustin Pop | |
127 | a8083063 | Iustin Pop | </refsect1> |
128 | a8083063 | Iustin Pop | |
129 | a8083063 | Iustin Pop | &footer; |
130 | a8083063 | Iustin Pop | |
131 | a8083063 | Iustin Pop | </refentry> |
132 | a8083063 | Iustin Pop | |
133 | a8083063 | Iustin Pop | <!-- Keep this comment at the end of the file |
134 | a8083063 | Iustin Pop | Local variables: |
135 | a8083063 | Iustin Pop | mode: sgml |
136 | a8083063 | Iustin Pop | sgml-omittag:t |
137 | a8083063 | Iustin Pop | sgml-shorttag:t |
138 | a8083063 | Iustin Pop | sgml-minimize-attributes:nil |
139 | a8083063 | Iustin Pop | sgml-always-quote-attributes:t |
140 | a8083063 | Iustin Pop | sgml-indent-step:2 |
141 | a8083063 | Iustin Pop | sgml-indent-data:t |
142 | a8083063 | Iustin Pop | sgml-parent-document:nil |
143 | a8083063 | Iustin Pop | sgml-default-dtd-file:nil |
144 | a8083063 | Iustin Pop | sgml-exposed-tags:nil |
145 | a8083063 | Iustin Pop | sgml-local-catalogs:nil |
146 | a8083063 | Iustin Pop | sgml-local-ecat-files:nil |
147 | a8083063 | Iustin Pop | End: |
148 | a8083063 | Iustin Pop | --> |