Revision d2d3935a man/gnt-cluster.rst
b/man/gnt-cluster.rst | ||
---|---|---|
183 | 183 |
| [\--specs-disk-size *spec-param*=*value* [,*spec-param*=*value*...]] |
184 | 184 |
| [\--specs-mem-size *spec-param*=*value* [,*spec-param*=*value*...]] |
185 | 185 |
| [\--specs-nic-count *spec-param*=*value* [,*spec-param*=*value*...]] |
186 |
| [\--ipolicy-std-specs *spec*=*value* [,*spec*=*value*...]] |
|
187 |
| [\--ipolicy-bounds-specs *bounds_ispecs*] |
|
186 | 188 |
| [\--ipolicy-disk-templates *template* [,*template*...]] |
187 | 189 |
| [\--ipolicy-spindle-ratio *ratio*] |
188 | 190 |
| [\--ipolicy-vcpu-ratio *ratio*] |
... | ... | |
492 | 494 |
details about this role and other node roles, see the **ganeti**\(7). |
493 | 495 |
|
494 | 496 |
The ``--specs-...`` and ``--ipolicy-...`` options specify the instance |
495 |
policy on the cluster. For the ``--specs-...`` options, each option can |
|
496 |
have three values: ``min``, ``max`` and ``std``, which can also be |
|
497 |
modified on group level (except for ``std``, which is defined once for |
|
498 |
the entire cluster). Please note, that ``std`` values are not the same |
|
499 |
as defaults set by ``--beparams``, but they are used for the capacity |
|
500 |
calculations. |
|
501 |
|
|
502 |
The ``--ipolicy-disk-templates`` and ``--ipolicy-spindle-ratio`` options |
|
503 |
take a decimal number. The ``--ipolicy-disk-templates`` option takes a |
|
504 |
comma-separated list of disk templates. |
|
497 |
policy on the cluster. The ``--ipolicy-bounds-specs`` option sets the |
|
498 |
minimum and maximum specifications for instances. The format is: |
|
499 |
min:*param*=*value*,.../max:*param*=*value*,... The |
|
500 |
``--ipolicy-std-specs`` option takes a list of parameter/value pairs. |
|
501 |
For both options, *param* can be: |
|
502 |
|
|
503 |
- ``cpu-count``: number of VCPUs for an instance |
|
504 |
- ``disk-count``: number of disk for an instance |
|
505 |
- ``disk-size``: size of each disk |
|
506 |
- ``memory-size``: instance memory |
|
507 |
- ``nic-count``: number of network interface |
|
508 |
- ``spindle-use``: spindle usage for an instance |
|
509 |
|
|
510 |
For the ``--specs-...`` options, each option can have three values: |
|
511 |
``min``, ``max`` and ``std``, which can also be modified on group level |
|
512 |
(except for ``std``, which is defined once for the entire cluster). |
|
513 |
Please note, that ``std`` values are not the same as defaults set by |
|
514 |
``--beparams``, but they are used for the capacity calculations. |
|
505 | 515 |
|
506 | 516 |
- ``--specs-cpu-count`` limits the number of VCPUs that can be used by an |
507 | 517 |
instance. |
... | ... | |
509 | 519 |
- ``--specs-disk-size`` limits the disk size for every disk used |
510 | 520 |
- ``--specs-mem-size`` limits the amount of memory available |
511 | 521 |
- ``--specs-nic-count`` sets limits on the number of NICs used |
522 |
|
|
523 |
The ``--ipolicy-disk-templates`` and ``--ipolicy-spindle-ratio`` options |
|
524 |
take a decimal number. The ``--ipolicy-disk-templates`` option takes a |
|
525 |
comma-separated list of disk templates. |
|
526 |
|
|
512 | 527 |
- ``--ipolicy-disk-templates`` limits the allowed disk templates |
513 | 528 |
- ``--ipolicy-spindle-ratio`` limits the instances-spindles ratio |
514 | 529 |
- ``--ipolicy-vcpu-ratio`` limits the vcpu-cpu ratio |
... | ... | |
589 | 604 |
| [\--specs-disk-size *spec-param*=*value* [,*spec-param*=*value*...]] |
590 | 605 |
| [\--specs-mem-size *spec-param*=*value* [,*spec-param*=*value*...]] |
591 | 606 |
| [\--specs-nic-count *spec-param*=*value* [,*spec-param*=*value*...]] |
607 |
| [\--ipolicy-std-specs *spec*=*value* [,*spec*=*value*...]] |
|
608 |
| [\--ipolicy-bounds-specs *bounds_ispecs*] |
|
592 | 609 |
| [\--ipolicy-disk-templates *template* [,*template*...]] |
593 | 610 |
| [\--ipolicy-spindle-ratio *ratio*] |
594 | 611 |
| [\--ipolicy-vcpu-ratio *ratio*] |
Also available in: Unified diff