Statistics
| Branch: | Tag: | Revision:

root / man / ganeti-noded.rst @ 756df409

History | View | Annotate | Download (2.1 kB)

1 9aaab110 Iustin Pop
ganeti-noded(8) Ganeti | Version @GANETI_VERSION@
2 9aaab110 Iustin Pop
=================================================
3 9aaab110 Iustin Pop
4 9aaab110 Iustin Pop
Name
5 9aaab110 Iustin Pop
----
6 9aaab110 Iustin Pop
7 9aaab110 Iustin Pop
ganeti-noded - Ganeti node daemon
8 9aaab110 Iustin Pop
9 9aaab110 Iustin Pop
Synopsis
10 9aaab110 Iustin Pop
--------
11 9aaab110 Iustin Pop
12 9aaab110 Iustin Pop
**ganeti-noded** [-f] [-d]
13 9aaab110 Iustin Pop
14 9aaab110 Iustin Pop
DESCRIPTION
15 9aaab110 Iustin Pop
-----------
16 9aaab110 Iustin Pop
17 9aaab110 Iustin Pop
The **ganeti-noded** is the daemon which is responsible for the
18 9aaab110 Iustin Pop
node functions in the Ganeti system.
19 9aaab110 Iustin Pop
20 9aaab110 Iustin Pop
By default, in order to be able to support features such as node
21 9aaab110 Iustin Pop
powercycling even on systems with a very damaged root disk,
22 9aaab110 Iustin Pop
**ganeti-noded** locks itself in RAM using **mlockall**(2). You can
23 9aaab110 Iustin Pop
disable this feature by passing in the ``--no-mlock`` to the daemon.
24 9aaab110 Iustin Pop
25 9aaab110 Iustin Pop
For testing purposes, you can give the ``-f`` option and the
26 9aaab110 Iustin Pop
program won't detach from the running terminal.
27 9aaab110 Iustin Pop
28 9aaab110 Iustin Pop
Debug-level message can be activated by giving the ``-d`` option.
29 9aaab110 Iustin Pop
30 9aaab110 Iustin Pop
Logging to syslog, rather than its own log file, can be enabled by
31 9aaab110 Iustin Pop
passing in the ``--syslog`` option.
32 9aaab110 Iustin Pop
33 9aaab110 Iustin Pop
The **ganeti-noded** daemon listens to port 1811 TCP, on all
34 b578501b Iustin Pop
interfaces, by default. The port can be overridden by an entry the
35 b578501b Iustin Pop
services database (usually ``/etc/services``) or by passing the ``-p``
36 9aaab110 Iustin Pop
option.  The ``-b`` option can be used to specify the address to bind
37 9aaab110 Iustin Pop
to (defaults to ``0.0.0.0``).
38 9aaab110 Iustin Pop
39 9aaab110 Iustin Pop
Ganeti noded communication is protected via SSL, with a key
40 9aaab110 Iustin Pop
generated at cluster init time. This can be disabled with the
41 9aaab110 Iustin Pop
``--no-ssl`` option, or a different SSL key and certificate can be
42 9aaab110 Iustin Pop
specified using the ``-K`` and ``-C`` options.
43 9aaab110 Iustin Pop
44 9aaab110 Iustin Pop
ROLE
45 9aaab110 Iustin Pop
~~~~
46 9aaab110 Iustin Pop
47 9aaab110 Iustin Pop
The role of the node daemon is to do almost all the actions that
48 9aaab110 Iustin Pop
change the state of the node. Things like creating disks for
49 9aaab110 Iustin Pop
instances, activating disks, starting/stopping instance and so on
50 9aaab110 Iustin Pop
are done via the node daemon.
51 9aaab110 Iustin Pop
52 9aaab110 Iustin Pop
Also, in some cases the startup/shutdown of the master daemon are
53 9aaab110 Iustin Pop
done via the node daemon, and the cluster IP address is also
54 9aaab110 Iustin Pop
added/removed to the master node via it.
55 9aaab110 Iustin Pop
56 9aaab110 Iustin Pop
If the node daemon is stopped, the instances are not affected, but
57 9aaab110 Iustin Pop
the master won't be able to talk to that node.
58 9aaab110 Iustin Pop
59 9aaab110 Iustin Pop
COMMUNICATION PROTOCOL
60 9aaab110 Iustin Pop
~~~~~~~~~~~~~~~~~~~~~~
61 9aaab110 Iustin Pop
62 9aaab110 Iustin Pop
Currently the master-node RPC is done using a simple RPC protocol
63 9aaab110 Iustin Pop
built using JSON over HTTP(S).
64 9ff4f2c0 Michael Hanselmann
65 9ff4f2c0 Michael Hanselmann
.. vim: set textwidth=72 :
66 9ff4f2c0 Michael Hanselmann
.. Local Variables:
67 9ff4f2c0 Michael Hanselmann
.. mode: rst
68 9ff4f2c0 Michael Hanselmann
.. fill-column: 72
69 9ff4f2c0 Michael Hanselmann
.. End: