Statistics
| Branch: | Tag: | Revision:

root / man / ganeti.rst @ fc42a408

History | View | Annotate | Download (11.5 kB)

1 cc424a1d Iustin Pop
ganeti(7) Ganeti | Version @GANETI_VERSION@
2 cc424a1d Iustin Pop
===========================================
3 cc424a1d Iustin Pop
4 cc424a1d Iustin Pop
Name
5 cc424a1d Iustin Pop
----
6 cc424a1d Iustin Pop
7 cc424a1d Iustin Pop
ganeti - cluster-based virtualization management
8 cc424a1d Iustin Pop
9 cc424a1d Iustin Pop
Synopsis
10 cc424a1d Iustin Pop
--------
11 cc424a1d Iustin Pop
12 cc424a1d Iustin Pop
::
13 cc424a1d Iustin Pop
14 cc424a1d Iustin Pop
    # gnt-cluster init cluster1.example.com
15 cc424a1d Iustin Pop
    # gnt-node add node2.example.com
16 cc424a1d Iustin Pop
    # gnt-instance add -n node2.example.com \
17 cc424a1d Iustin Pop
    > -o debootstrap --disk 0:size=30g \
18 cc424a1d Iustin Pop
    > -t plain instance1.example.com
19 cc424a1d Iustin Pop
20 cc424a1d Iustin Pop
21 cc424a1d Iustin Pop
DESCRIPTION
22 cc424a1d Iustin Pop
-----------
23 cc424a1d Iustin Pop
24 cc424a1d Iustin Pop
The Ganeti software manages physical nodes and virtual instances of a
25 cc424a1d Iustin Pop
cluster based on a virtualization software. The current version (2.3)
26 cc424a1d Iustin Pop
supports Xen 3.x and KVM (72 or above) as hypervisors, and LXC as an
27 cc424a1d Iustin Pop
experimental hypervisor.
28 cc424a1d Iustin Pop
29 cc424a1d Iustin Pop
Quick start
30 cc424a1d Iustin Pop
-----------
31 cc424a1d Iustin Pop
32 cc424a1d Iustin Pop
First you must install the software on all the cluster nodes, either
33 cc424a1d Iustin Pop
from sources or (if available) from a package. The next step is to
34 cc424a1d Iustin Pop
create the initial cluster configuration, using **gnt-cluster init**.
35 cc424a1d Iustin Pop
36 cc424a1d Iustin Pop
Then you can add other nodes, or start creating instances.
37 cc424a1d Iustin Pop
38 cc424a1d Iustin Pop
Cluster architecture
39 cc424a1d Iustin Pop
--------------------
40 cc424a1d Iustin Pop
41 cc424a1d Iustin Pop
In Ganeti 2.0, the architecture of the cluster is a little more
42 cc424a1d Iustin Pop
complicated than in 1.2. The cluster is coordinated by a master daemon
43 cc424a1d Iustin Pop
(**ganeti-masterd**(8)), running on the master node. Each node runs
44 cc424a1d Iustin Pop
(as before) a node daemon, and the master has the RAPI daemon running
45 cc424a1d Iustin Pop
too.
46 cc424a1d Iustin Pop
47 cc424a1d Iustin Pop
Node roles
48 cc424a1d Iustin Pop
~~~~~~~~~~
49 cc424a1d Iustin Pop
50 cc424a1d Iustin Pop
Each node can be in one of the following states:
51 cc424a1d Iustin Pop
52 cc424a1d Iustin Pop
master
53 cc424a1d Iustin Pop
    Only one node per cluster can be in this role, and this node is the
54 cc424a1d Iustin Pop
    one holding the authoritative copy of the cluster configuration and
55 cc424a1d Iustin Pop
    the one that can actually execute commands on the cluster and
56 cc424a1d Iustin Pop
    modify the cluster state. See more details under
57 cc424a1d Iustin Pop
    *Cluster configuration*.
58 cc424a1d Iustin Pop
59 cc424a1d Iustin Pop
master_candidate
60 cc424a1d Iustin Pop
    The node receives the full cluster configuration (configuration
61 cc424a1d Iustin Pop
    file and jobs) and can become a master via the
62 cc424a1d Iustin Pop
    **gnt-cluster master-failover** command. Nodes that are not in this
63 cc424a1d Iustin Pop
    state cannot transition into the master role due to missing state.
64 cc424a1d Iustin Pop
65 cc424a1d Iustin Pop
regular
66 cc424a1d Iustin Pop
    This the normal state of a node.
67 cc424a1d Iustin Pop
68 cc424a1d Iustin Pop
drained
69 cc424a1d Iustin Pop
    Nodes in this state are functioning normally but cannot receive
70 cc424a1d Iustin Pop
    new instances, because the intention is to set them to *offline*
71 cc424a1d Iustin Pop
    or remove them from the cluster.
72 cc424a1d Iustin Pop
73 cc424a1d Iustin Pop
offline
74 cc424a1d Iustin Pop
    These nodes are still recorded in the Ganeti configuration, but
75 cc424a1d Iustin Pop
    except for the master daemon startup voting procedure, they are not
76 cc424a1d Iustin Pop
    actually contacted by the master. This state was added in order to
77 cc424a1d Iustin Pop
    allow broken machines (that are being repaired) to remain in the
78 cc424a1d Iustin Pop
    cluster but without creating problems.
79 cc424a1d Iustin Pop
80 cc424a1d Iustin Pop
81 cc424a1d Iustin Pop
Node flags
82 cc424a1d Iustin Pop
~~~~~~~~~~
83 cc424a1d Iustin Pop
84 cc424a1d Iustin Pop
Nodes have two flags which govern which roles they can take:
85 cc424a1d Iustin Pop
86 cc424a1d Iustin Pop
master_capable
87 cc424a1d Iustin Pop
    The node can become a master candidate, and furthermore the master
88 cc424a1d Iustin Pop
    node. When this flag is disabled, the node cannot become a
89 cc424a1d Iustin Pop
    candidate; this can be useful for special networking cases, or less
90 cc424a1d Iustin Pop
    reliable hardware.
91 cc424a1d Iustin Pop
92 cc424a1d Iustin Pop
vm_capable
93 cc424a1d Iustin Pop
    The node can host instances. When enabled (the default state), the
94 cc424a1d Iustin Pop
    node will participate in instance allocation, capacity calculation,
95 cc424a1d Iustin Pop
    etc. When disabled, the node will be skipped in many cluster checks
96 cc424a1d Iustin Pop
    and operations.
97 cc424a1d Iustin Pop
98 cc424a1d Iustin Pop
99 b74bf80c René Nussbaumer
Node Parameters
100 b74bf80c René Nussbaumer
~~~~~~~~~~~~~~~
101 b74bf80c René Nussbaumer
102 b74bf80c René Nussbaumer
These parameters are node specific and can be preseeded on node-group
103 b74bf80c René Nussbaumer
and cluster level.
104 b74bf80c René Nussbaumer
105 b74bf80c René Nussbaumer
Currently we support the following node parameters:
106 b74bf80c René Nussbaumer
107 b74bf80c René Nussbaumer
oob_program
108 b74bf80c René Nussbaumer
    Path to an executable used as the out-of-band helper as described in
109 b74bf80c René Nussbaumer
    the `Ganeti Node OOB Management Framework <design-oob.rst>`_ design
110 b74bf80c René Nussbaumer
    document.
111 b74bf80c René Nussbaumer
112 b74bf80c René Nussbaumer
113 0ec2ce46 René Nussbaumer
Hypervisor State Parameters
114 0ec2ce46 René Nussbaumer
~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 0ec2ce46 René Nussbaumer
116 0ec2ce46 René Nussbaumer
Using ``--hypervisor-state`` you can set hypervisor specific states as
117 0ec2ce46 René Nussbaumer
pointed out in ``Ganeti Resource Model <design-resource-model.rst>``.
118 0ec2ce46 René Nussbaumer
119 0ec2ce46 René Nussbaumer
The format is: ``hypervisor:option=value``.
120 0ec2ce46 René Nussbaumer
121 0ec2ce46 René Nussbaumer
Currently we support the following hypervisor state values:
122 0ec2ce46 René Nussbaumer
123 0ec2ce46 René Nussbaumer
mem_total
124 0ec2ce46 René Nussbaumer
  Total node memory, as discovered by this hypervisor
125 0ec2ce46 René Nussbaumer
mem_node
126 0ec2ce46 René Nussbaumer
  Memory used by, or reserved for, the node itself; note that some
127 0ec2ce46 René Nussbaumer
  hypervisors can report this in an authoritative way, other not
128 0ec2ce46 René Nussbaumer
mem_hv
129 0ec2ce46 René Nussbaumer
  Memory used either by the hypervisor itself or lost due to instance
130 0ec2ce46 René Nussbaumer
  allocation rounding; usually this cannot be precisely computed, but
131 0ec2ce46 René Nussbaumer
  only roughly estimated
132 0ec2ce46 René Nussbaumer
cpu_total
133 0ec2ce46 René Nussbaumer
  Total node cpu (core) count; usually this can be discovered
134 0ec2ce46 René Nussbaumer
  automatically
135 0ec2ce46 René Nussbaumer
cpu_node
136 0ec2ce46 René Nussbaumer
  Number of cores reserved for the node itself; this can either be
137 0ec2ce46 René Nussbaumer
  discovered or set manually. Only used for estimating how many VCPUs
138 0ec2ce46 René Nussbaumer
  are left for instances
139 0ec2ce46 René Nussbaumer
140 0ec2ce46 René Nussbaumer
141 0ec2ce46 René Nussbaumer
Disk State Parameters
142 0ec2ce46 René Nussbaumer
~~~~~~~~~~~~~~~~~~~~~
143 0ec2ce46 René Nussbaumer
144 0ec2ce46 René Nussbaumer
Using ``--disk-state`` you can set disk specific states as pointed out
145 0ec2ce46 René Nussbaumer
in ``Ganeti Resource Model <design-resource-model.rst>``.
146 0ec2ce46 René Nussbaumer
147 0ec2ce46 René Nussbaumer
The format is: ``storage_type/identifier:option=value``. Where we
148 0ec2ce46 René Nussbaumer
currently just support ``lvm`` as storage type. The identifier in this
149 0ec2ce46 René Nussbaumer
case is the LVM volume group. By default this is ``xenvg``.
150 0ec2ce46 René Nussbaumer
151 0ec2ce46 René Nussbaumer
Currently we support the following hypervisor state values:
152 0ec2ce46 René Nussbaumer
153 0ec2ce46 René Nussbaumer
disk_total
154 0ec2ce46 René Nussbaumer
  Total disk size (usually discovered automatically)
155 0ec2ce46 René Nussbaumer
disk_reserved
156 0ec2ce46 René Nussbaumer
  Reserved disk size; this is a lower limit on the free space, if such a
157 0ec2ce46 René Nussbaumer
  limit is desired
158 0ec2ce46 René Nussbaumer
disk_overhead
159 0ec2ce46 René Nussbaumer
  Disk that is expected to be used by other volumes (set via
160 0ec2ce46 René Nussbaumer
  ``reserved_lvs``); usually should be zero
161 0ec2ce46 René Nussbaumer
162 0ec2ce46 René Nussbaumer
163 cc424a1d Iustin Pop
Cluster configuration
164 cc424a1d Iustin Pop
~~~~~~~~~~~~~~~~~~~~~
165 cc424a1d Iustin Pop
166 cc424a1d Iustin Pop
The master node keeps and is responsible for the cluster
167 cc424a1d Iustin Pop
configuration. On the filesystem, this is stored under the
168 cc424a1d Iustin Pop
``@LOCALSTATEDIR@/ganeti/lib`` directory, and if the master daemon is
169 cc424a1d Iustin Pop
stopped it can be backed up normally.
170 cc424a1d Iustin Pop
171 cc424a1d Iustin Pop
The master daemon will replicate the configuration database called
172 cc424a1d Iustin Pop
``config.data`` and the job files to all the nodes in the master
173 cc424a1d Iustin Pop
candidate role. It will also distribute a copy of some configuration
174 cc424a1d Iustin Pop
values via the *ssconf* files, which are stored in the same directory
175 cc424a1d Iustin Pop
and start with a ``ssconf_`` prefix, to all nodes.
176 cc424a1d Iustin Pop
177 cc424a1d Iustin Pop
Jobs
178 cc424a1d Iustin Pop
~~~~
179 cc424a1d Iustin Pop
180 cc424a1d Iustin Pop
All cluster modification are done via jobs. A job consists of one
181 cc424a1d Iustin Pop
or more opcodes, and the list of opcodes is processed serially. If
182 cc424a1d Iustin Pop
an opcode fails, the entire job is failed and later opcodes are no
183 cc424a1d Iustin Pop
longer processed. A job can be in one of the following states:
184 cc424a1d Iustin Pop
185 cc424a1d Iustin Pop
queued
186 cc424a1d Iustin Pop
    The job has been submitted but not yet processed by the master
187 cc424a1d Iustin Pop
    daemon.
188 cc424a1d Iustin Pop
189 cc424a1d Iustin Pop
waiting
190 cc424a1d Iustin Pop
    The job is waiting for for locks before the first of its opcodes.
191 cc424a1d Iustin Pop
192 cc424a1d Iustin Pop
canceling
193 cc424a1d Iustin Pop
    The job is waiting for locks, but is has been marked for
194 cc424a1d Iustin Pop
    cancellation. It will not transition to *running*, but to
195 cc424a1d Iustin Pop
    *canceled*.
196 cc424a1d Iustin Pop
197 cc424a1d Iustin Pop
running
198 cc424a1d Iustin Pop
    The job is currently being executed.
199 cc424a1d Iustin Pop
200 cc424a1d Iustin Pop
canceled
201 cc424a1d Iustin Pop
    The job has been canceled before starting execution.
202 cc424a1d Iustin Pop
203 cc424a1d Iustin Pop
success
204 cc424a1d Iustin Pop
    The job has finished successfully.
205 cc424a1d Iustin Pop
206 cc424a1d Iustin Pop
error
207 cc424a1d Iustin Pop
    The job has failed during runtime, or the master daemon has been
208 cc424a1d Iustin Pop
    stopped during the job execution.
209 cc424a1d Iustin Pop
210 cc424a1d Iustin Pop
211 7ba19f39 Iustin Pop
Common command line features
212 7ba19f39 Iustin Pop
----------------------------
213 7ba19f39 Iustin Pop
214 7ba19f39 Iustin Pop
Options
215 7ba19f39 Iustin Pop
~~~~~~~
216 cc424a1d Iustin Pop
217 cc424a1d Iustin Pop
Many Ganeti commands provide the following options. The
218 cc424a1d Iustin Pop
availability for a certain command can be checked by calling the
219 cc424a1d Iustin Pop
command using the ``--help`` option.
220 cc424a1d Iustin Pop
221 cc424a1d Iustin Pop
**gnt-...** *command* [--dry-run] [--priority {low | normal | high}]
222 cc424a1d Iustin Pop
223 cc424a1d Iustin Pop
The ``--dry-run`` option can be used to check whether an operation
224 cc424a1d Iustin Pop
would succeed.
225 cc424a1d Iustin Pop
226 cc424a1d Iustin Pop
The option ``--priority`` sets the priority for opcodes submitted
227 cc424a1d Iustin Pop
by the command.
228 8cabf472 Michael Hanselmann
229 d24303b3 René Nussbaumer
Defaults
230 d24303b3 René Nussbaumer
~~~~~~~~
231 d24303b3 René Nussbaumer
232 d24303b3 René Nussbaumer
For certain commands you can use environment variables to provide
233 d24303b3 René Nussbaumer
default command line arguments. Just assign the arguments as a string to
234 d24303b3 René Nussbaumer
the corresponding environment variable. The format of that variable
235 d24303b3 René Nussbaumer
name is **binary**_*command*. **binary** is the name of the ``gnt-*``
236 d24303b3 René Nussbaumer
script all upper case and dashes replaced by underscores, and *command*
237 d24303b3 René Nussbaumer
is the command invoked on that script.
238 d24303b3 René Nussbaumer
239 d24303b3 René Nussbaumer
Currently supported commands are ``gnt-node list``, ``gnt-group list``
240 d24303b3 René Nussbaumer
and ``gnt-instance list``. So you can configure default command line
241 d24303b3 René Nussbaumer
flags by setting ``GNT_NODE_LIST``, ``GNT_GROUP_LIST`` and
242 d24303b3 René Nussbaumer
``GNT_INSTANCE_LIST``.
243 d24303b3 René Nussbaumer
244 7ba19f39 Iustin Pop
Field formatting
245 7ba19f39 Iustin Pop
----------------
246 f0b1bafe Iustin Pop
247 f0b1bafe Iustin Pop
Multiple ganeti commands use the same framework for tabular listing of
248 f0b1bafe Iustin Pop
resources (e.g. **gnt-instance list**, **gnt-node list**, **gnt-group
249 f0b1bafe Iustin Pop
list**, **gnt-debug locks**, etc.). For these commands, special states
250 f0b1bafe Iustin Pop
are denoted via a special symbol (in terse mode) or a string (in
251 f0b1bafe Iustin Pop
verbose mode):
252 f0b1bafe Iustin Pop
253 3802f3cf Michael Hanselmann
\*, (offline)
254 f0b1bafe Iustin Pop
    The node in question is marked offline, and thus it cannot be
255 f0b1bafe Iustin Pop
    queried for data. This result is persistent until the node is
256 f0b1bafe Iustin Pop
    de-offlined.
257 f0b1bafe Iustin Pop
258 f0b1bafe Iustin Pop
?, (nodata)
259 f0b1bafe Iustin Pop
    Ganeti expected to receive an answer from this entity, but the
260 f0b1bafe Iustin Pop
    cluster RPC call failed and/or we didn't receive a valid answer;
261 f0b1bafe Iustin Pop
    usually more information is available in the node daemon log (if
262 f0b1bafe Iustin Pop
    the node is alive) or the master daemon log. This result is
263 f0b1bafe Iustin Pop
    transient, and re-running command might return a different result.
264 f0b1bafe Iustin Pop
265 f0b1bafe Iustin Pop
-, (unavail)
266 f0b1bafe Iustin Pop
    The respective field doesn't make sense for this entity;
267 f0b1bafe Iustin Pop
    e.g. querying a down instance for its current memory 'live' usage,
268 f0b1bafe Iustin Pop
    or querying a non-vm_capable node for disk/memory data. This
269 f0b1bafe Iustin Pop
    result is persistent, and until the entity state is changed via
270 f0b1bafe Iustin Pop
    ganeti commands, the result won't change.
271 f0b1bafe Iustin Pop
272 f0b1bafe Iustin Pop
??, (unknown)
273 f0b1bafe Iustin Pop
    This field is not known (note that this is different from entity
274 f0b1bafe Iustin Pop
    being unknown). Either you have mis-typed the field name, or you
275 f0b1bafe Iustin Pop
    are using a field that the running Ganeti master daemon doesn't
276 f0b1bafe Iustin Pop
    know. This result is persistent, re-running the command won't
277 f0b1bafe Iustin Pop
    change it.
278 7ba19f39 Iustin Pop
279 7ba19f39 Iustin Pop
Key-value parameters
280 7ba19f39 Iustin Pop
~~~~~~~~~~~~~~~~~~~~
281 7ba19f39 Iustin Pop
282 7ba19f39 Iustin Pop
Multiple options take parameters that are of the form
283 7ba19f39 Iustin Pop
``key=value,key=value,...`` or ``category:key=value,...``. Examples
284 7ba19f39 Iustin Pop
are the hypervisor parameters, backend parameters, etc. For these,
285 7ba19f39 Iustin Pop
it's possible to use values that contain commas by escaping with via a
286 7ba19f39 Iustin Pop
backslash (which needs two if not single-quoted, due to shell
287 7ba19f39 Iustin Pop
behaviour)::
288 7ba19f39 Iustin Pop
289 7ba19f39 Iustin Pop
  # gnt-instance modify -H kernel_path=an\\,example instance1
290 7ba19f39 Iustin Pop
  # gnt-instance modify -H kernel_path='an\,example' instance1
291 7ba19f39 Iustin Pop
292 3802f3cf Michael Hanselmann
Query filters
293 3802f3cf Michael Hanselmann
~~~~~~~~~~~~~
294 3802f3cf Michael Hanselmann
295 3802f3cf Michael Hanselmann
Most commands listing resources (e.g. instances or nodes) support filtering.
296 3802f3cf Michael Hanselmann
The filter language is similar to Python expressions with some elements from
297 3802f3cf Michael Hanselmann
Perl. The language is not generic. Each condition must consist of a field name
298 3802f3cf Michael Hanselmann
and a value (except for boolean checks), a field can not be compared to another
299 3802f3cf Michael Hanselmann
field. Keywords are case-sensitive.
300 3802f3cf Michael Hanselmann
301 3802f3cf Michael Hanselmann
Syntax in pseudo-BNF::
302 3802f3cf Michael Hanselmann
303 3802f3cf Michael Hanselmann
  <quoted-string> ::= /* String quoted with single or double quotes,
304 3802f3cf Michael Hanselmann
                         backslash for escaping */
305 3802f3cf Michael Hanselmann
306 3802f3cf Michael Hanselmann
  <integer> ::= /* Number in base-10 positional notation */
307 3802f3cf Michael Hanselmann
308 3802f3cf Michael Hanselmann
  <re> ::= /* Regular expression */
309 3802f3cf Michael Hanselmann
310 3802f3cf Michael Hanselmann
  /*
311 3802f3cf Michael Hanselmann
    Modifier "i": Case-insensitive matching, see
312 3802f3cf Michael Hanselmann
    http://docs.python.org/library/re#re.IGNORECASE
313 3802f3cf Michael Hanselmann
314 3802f3cf Michael Hanselmann
    Modifier "s": Make the "." special character match any character,
315 3802f3cf Michael Hanselmann
    including newline, see http://docs.python.org/library/re#re.DOTALL
316 3802f3cf Michael Hanselmann
  */
317 3802f3cf Michael Hanselmann
  <re-modifiers> ::= /* empty */ | i | s
318 3802f3cf Michael Hanselmann
319 3802f3cf Michael Hanselmann
  <value> ::= <quoted-string> | <integer>
320 3802f3cf Michael Hanselmann
321 3802f3cf Michael Hanselmann
  <condition> ::=
322 3802f3cf Michael Hanselmann
    { /* Value comparison */
323 3802f3cf Michael Hanselmann
      <field> { == | != } <value>
324 3802f3cf Michael Hanselmann
325 3802f3cf Michael Hanselmann
      /* Collection membership */
326 3802f3cf Michael Hanselmann
      | <value> [ not ] in <field>
327 3802f3cf Michael Hanselmann
328 3802f3cf Michael Hanselmann
      /* Regular expressions (recognized delimiters
329 3802f3cf Michael Hanselmann
         are "/", "#", "^", and "|"; backslash for escaping)
330 3802f3cf Michael Hanselmann
      */
331 3802f3cf Michael Hanselmann
      | <field> { =~ | !~ } m/<re>/<re-modifiers>
332 3802f3cf Michael Hanselmann
333 16629d10 Michael Hanselmann
      /* Globbing */
334 16629d10 Michael Hanselmann
      | <field> { =* | !* } <quoted-string>
335 16629d10 Michael Hanselmann
336 3802f3cf Michael Hanselmann
      /* Boolean */
337 3802f3cf Michael Hanselmann
      | <field>
338 3802f3cf Michael Hanselmann
    }
339 3802f3cf Michael Hanselmann
340 3802f3cf Michael Hanselmann
  <filter> ::=
341 3802f3cf Michael Hanselmann
    { [ not ] <condition> | ( <filter> ) }
342 3802f3cf Michael Hanselmann
    [ { and | or } <filter> ]
343 3802f3cf Michael Hanselmann
344 3802f3cf Michael Hanselmann
Operators:
345 3802f3cf Michael Hanselmann
346 3802f3cf Michael Hanselmann
*==*
347 3802f3cf Michael Hanselmann
  Equality
348 3802f3cf Michael Hanselmann
*!=*
349 3802f3cf Michael Hanselmann
  Inequality
350 3802f3cf Michael Hanselmann
*=~*
351 3802f3cf Michael Hanselmann
  Pattern match using regular expression
352 3802f3cf Michael Hanselmann
*!~*
353 3802f3cf Michael Hanselmann
  Logically negated from *=~*
354 16629d10 Michael Hanselmann
*=\**
355 16629d10 Michael Hanselmann
  Globbing, see **glob**(7), though only * and ? are supported
356 16629d10 Michael Hanselmann
*!\**
357 16629d10 Michael Hanselmann
  Logically negated from *=\**
358 3802f3cf Michael Hanselmann
*in*, *not in*
359 3802f3cf Michael Hanselmann
  Collection membership and negation
360 3802f3cf Michael Hanselmann
361 037c7b95 Michael Hanselmann
As a shortcut globbing patterns can be specified as names, e.g.
362 037c7b95 Michael Hanselmann
``gnt-instance list '*.site1' '*.site2'``.
363 037c7b95 Michael Hanselmann
364 3802f3cf Michael Hanselmann
365 7ba19f39 Iustin Pop
Common daemon functionality
366 7ba19f39 Iustin Pop
---------------------------
367 7ba19f39 Iustin Pop
368 7ba19f39 Iustin Pop
All Ganeti daemons re-open the log file(s) when sent a SIGHUP signal.
369 7ba19f39 Iustin Pop
**logrotate**(8) can be used to rotate Ganeti's log files.
370 9ff4f2c0 Michael Hanselmann
371 9ff4f2c0 Michael Hanselmann
.. vim: set textwidth=72 :
372 9ff4f2c0 Michael Hanselmann
.. Local Variables:
373 9ff4f2c0 Michael Hanselmann
.. mode: rst
374 9ff4f2c0 Michael Hanselmann
.. fill-column: 72
375 9ff4f2c0 Michael Hanselmann
.. End: