Skip to content
Snippets Groups Projects
Commit e37c5129 authored by Agata Murawska's avatar Agata Murawska
Browse files

Man page for gnt-cluster


Signed-off-by: default avatarAgata Murawska <agatamurawska@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent bf8647a3
No related branches found
No related tags found
No related merge requests found
...@@ -185,6 +185,11 @@ INIT ...@@ -185,6 +185,11 @@ INIT
| [--prealloc-wipe-disks {yes \| no}] | [--prealloc-wipe-disks {yes \| no}]
| [--node-parameters *ndparams*] | [--node-parameters *ndparams*]
| [{-C|--candidate-pool-size} *candidate\_pool\_size*] | [{-C|--candidate-pool-size} *candidate\_pool\_size*]
| [--specs-cpu-count *spec-param*=*value* [,*spec-param*=*value*...]]
| [--specs-disk-count *spec-param*=*value* [,*spec-param*=*value*...]]
| [--specs-disk-size *spec-param*=*value* [,*spec-param*=*value*...]]
| [--specs-mem-size *spec-param*=*value* [,*spec-param*=*value*...]]
| [--specs-nic-count *spec-param*=*value* [,*spec-param*=*value*...]]
| {*clustername*} | {*clustername*}
This commands is only run once initially on the first node of the This commands is only run once initially on the first node of the
...@@ -448,6 +453,18 @@ The ``-C (--candidate-pool-size)`` option specifies the ...@@ -448,6 +453,18 @@ The ``-C (--candidate-pool-size)`` option specifies the
that the master will try to keep as master\_candidates. For more that the master will try to keep as master\_candidates. For more
details about this role and other node roles, see the ganeti(7). details about this role and other node roles, see the ganeti(7).
The ``--specs-..`` options specify instance policy on the cluster. Each
option can have three values: ``min``, ``max`` and ``std``, which can
also be modified on group level (except for ``std``, which is defined
once for the entire cluster). Please note, that ``std`` values are not
the same as defaults set by ``--beparams``.
``--specs-cpu-count`` sets the number of VCPUs that can be used by an
instance.
``--specs-disk-count`` sets the number of disks
``--specs-disk-size`` limits the disk size for every disk used
``--specs-mem-size`` limits the amount of memory available
``--specs-nic-count`` sets limits on the amount of nics used
LIST-TAGS LIST-TAGS
~~~~~~~~~ ~~~~~~~~~
...@@ -510,6 +527,12 @@ MODIFY ...@@ -510,6 +527,12 @@ MODIFY
| [--use-external-mip-script {yes \| no}] | [--use-external-mip-script {yes \| no}]
| [--hypervisor-state *hvstate*] | [--hypervisor-state *hvstate*]
| [--disk-state *diskstate*] | [--disk-state *diskstate*]
| [--specs-cpu-count *spec-param*=*value* [,*spec-param*=*value*...]]
| [--specs-disk-count *spec-param*=*value* [,*spec-param*=*value*...]]
| [--specs-disk-size *spec-param*=*value* [,*spec-param*=*value*...]]
| [--specs-mem-size *spec-param*=*value* [,*spec-param*=*value*...]]
| [--specs-nic-count *spec-param*=*value* [,*spec-param*=*value*...]]
Modify the options for the cluster. Modify the options for the cluster.
...@@ -545,6 +568,8 @@ The ``-I (--default-iallocator)`` is described in the **init** ...@@ -545,6 +568,8 @@ The ``-I (--default-iallocator)`` is described in the **init**
command. To clear the default iallocator, just pass an empty string command. To clear the default iallocator, just pass an empty string
(''). ('').
The ``--specs-..`` options are described in the **init** command.
QUEUE QUEUE
~~~~~ ~~~~~
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment