Revision a46b1883

b/man/gnt-cluster.rst
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).
b/man/gnt-group.rst
26 26
| **add**
27 27
| [--node-parameters=*NDPARAMS*]
28 28
| [--alloc-policy=*POLICY*]
29
| [{-D|--disk-parameters} *disk-template*:*disk-param*=*value* [,*disk-param*=*value*...]]
29 30
| {*group*}
30 31

  
31 32
Creates a new group with the given name. The node group will be
......
52 53
    (this is the default). Note that prioritization among groups in this
53 54
    state will be deferred to the iallocator plugin that's being used.
54 55

  
56
The ``-D (--disk-parameters)`` option allows you to set the disk
57
parameters for the node group; please see the section about
58
**gnt-cluster add** in **gnt-cluster**(8) for more information about
59
disk parameters
60

  
55 61
ASSIGN-NODES
56 62
~~~~~~~~~~~~
57 63

  
......
75 81
| [--node-parameters=*NDPARAMS*]
76 82
| [--alloc-policy=*POLICY*]
77 83
| [--hypervisor-state *hvstate*]
84
| [{-D|--disk-parameters} *disk-template*:*disk-param*=*value* [,*disk-param*=*value*...]]
78 85
| [--disk-state *diskstate*]
79 86
| {*group*}
80 87

  
......
84 91
in the **add** command above. ``--hypervisor-state`` as well as
85 92
``--disk-state`` are documented in detail in **ganeti**(7).
86 93

  
94
The ``--node-parameters``, ``--alloc-policy`` and ``-D
95
(--disk-parameters)`` options are documented in the **add** command
96
above.
97

  
87 98
REMOVE
88 99
~~~~~~
89 100

  

Also available in: Unified diff