177 |
177 |
| [{-H|--hypervisor-parameters} *hypervisor*:*hv-param*=*value*[,*hv-param*=*value*...]]
|
178 |
178 |
| [{-B|--backend-parameters} *be-param*=*value* [,*be-param*=*value*...]]
|
179 |
179 |
| [{-N|--nic-parameters} *nic-param*=*value* [,*nic-param*=*value*...]]
|
|
180 |
| [{-D|--disk-parameters} *disk-template*:*disk-param*=*value* [,*disk-param*=*value*...]]
|
180 |
181 |
| [--maintain-node-health {yes \| no}]
|
181 |
182 |
| [--uid-pool *user-id pool definition*]
|
182 |
183 |
| [{-I|--default-iallocator} *default instance allocator*]
|
... | ... | |
356 |
357 |
network script it is interpreted as a routing table number or
|
357 |
358 |
name.
|
358 |
359 |
|
|
360 |
The ``-D (--disk-parameters)`` option allows you to set the default disk
|
|
361 |
template parameters at cluster level. The format used for this option is
|
|
362 |
similar to the one use by the ``-H`` option: the disk template name
|
|
363 |
must be specified first, followed by a colon and by a comma-separated
|
|
364 |
list of key-value pairs. These parameters can only be specified at
|
|
365 |
cluster and node group level; the cluster-level parameter are inherited
|
|
366 |
by the node group at the moment of its creation, and can be further
|
|
367 |
modified at node group level using the **gnt-group**(8) command.
|
|
368 |
|
|
369 |
List of disk parameters available for the **drbd** template:
|
|
370 |
|
|
371 |
resync-rate
|
|
372 |
Re-synchronization rate, expressed in KiB/s
|
|
373 |
|
|
374 |
data-stripes
|
|
375 |
Number of stripes to use for data LVs
|
|
376 |
|
|
377 |
meta-stripes
|
|
378 |
Number of stripes to use for meta LVs
|
|
379 |
|
|
380 |
disk-barriers
|
|
381 |
What kind of barriers to **disable** for disks. It can either assume
|
|
382 |
the value "n", meaning no barrier disabled, or a non-empty string
|
|
383 |
containing a subset of the characters "bfd". "b" means disable disk
|
|
384 |
barriers, "f" means disable disk flushes, "d" disables disk drains
|
|
385 |
|
|
386 |
meta-barriers
|
|
387 |
Boolean value indicating whether the meta barriers should be
|
|
388 |
disabled (True) or not (False).
|
|
389 |
|
|
390 |
metavg
|
|
391 |
String containing the name of the default LVM volume group for DRBD
|
|
392 |
metadata. By default, it is set to ``xenvg``. It can be overridden
|
|
393 |
during the instance creation process by using the ``metavg`` key of
|
|
394 |
the ``--disk`` parameter.
|
|
395 |
|
|
396 |
disk-custom
|
|
397 |
String containing additional parameters to be appended to the
|
|
398 |
arguments list of ``drbdsetup disk``.
|
|
399 |
|
|
400 |
net-custom
|
|
401 |
String containing additional parameters to be appended to the
|
|
402 |
arguments list of ``drbdsetup net``.
|
|
403 |
|
|
404 |
List of parameters available for the **plain** template:
|
|
405 |
|
|
406 |
stripes
|
|
407 |
Number of stripes to use for new LVs
|
|
408 |
|
359 |
409 |
The option ``--maintain-node-health`` allows one to enable/disable
|
360 |
410 |
automatic maintenance actions on nodes. Currently these include
|
361 |
411 |
automatic shutdown of instances and deactivation of DRBD devices on
|
... | ... | |
445 |
495 |
| [{-H|--hypervisor-parameters} *hypervisor*:*hv-param*=*value*[,*hv-param*=*value*...]]
|
446 |
496 |
| [{-B|--backend-parameters} *be-param*=*value* [,*be-param*=*value*...]]
|
447 |
497 |
| [{-N|--nic-parameters} *nic-param*=*value* [,*nic-param*=*value*...]]
|
|
498 |
| [{-D|--disk-parameters} *disk-template*:*disk-param*=*value* [,*disk-param*=*value*...]]
|
448 |
499 |
| [--uid-pool *user-id pool definition*]
|
449 |
500 |
| [--add-uids *user-id pool definition*]
|
450 |
501 |
| [--remove-uids *user-id pool definition*]
|
... | ... | |
464 |
515 |
|
465 |
516 |
The ``--vg-name``, ``--no-lvm-storarge``, ``--enabled-hypervisors``,
|
466 |
517 |
``-H (--hypervisor-parameters)``, ``-B (--backend-parameters)``,
|
467 |
|
``--nic-parameters``, ``-C (--candidate-pool-size)``,
|
468 |
|
``--maintain-node-health``, ``--prealloc-wipe-disks``, ``--uid-pool``,
|
469 |
|
``--node-parameters``, ``--master-netdev``, ``--master-netmask`` and
|
470 |
|
``--use-external-mip-script`` options are described in the
|
471 |
|
**init** command.
|
|
518 |
``-D (--disk-parameters)``, ``--nic-parameters``, ``-C
|
|
519 |
(--candidate-pool-size)``, ``--maintain-node-health``,
|
|
520 |
``--prealloc-wipe-disks``, ``--uid-pool``, ``--node-parameters``,
|
|
521 |
``--master-netdev``, ``--master-netmask`` and
|
|
522 |
``--use-external-mip-script`` options are described in the **init**
|
|
523 |
command.
|
472 |
524 |
|
473 |
525 |
The ``--hypervisor-state`` and ``--disk-state`` options are described in
|
474 |
526 |
detail in **ganeti**(7).
|