From e37c51296b62715199ae2478f6a63d3e83457a85 Mon Sep 17 00:00:00 2001 From: Agata Murawska <agatamurawska@google.com> Date: Fri, 9 Dec 2011 12:33:05 +0100 Subject: [PATCH] Man page for gnt-cluster Signed-off-by: Agata Murawska <agatamurawska@google.com> Reviewed-by: Guido Trotter <ultrotter@google.com> --- man/gnt-cluster.rst | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/man/gnt-cluster.rst b/man/gnt-cluster.rst index 7293f3e01..610802019 100644 --- a/man/gnt-cluster.rst +++ b/man/gnt-cluster.rst @@ -185,6 +185,11 @@ INIT | [--prealloc-wipe-disks {yes \| no}] | [--node-parameters *ndparams*] | [{-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*} 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 that the master will try to keep as master\_candidates. For more 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 ~~~~~~~~~ @@ -510,6 +527,12 @@ MODIFY | [--use-external-mip-script {yes \| no}] | [--hypervisor-state *hvstate*] | [--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. @@ -545,6 +568,8 @@ The ``-I (--default-iallocator)`` is described in the **init** command. To clear the default iallocator, just pass an empty string (''). +The ``--specs-..`` options are described in the **init** command. + QUEUE ~~~~~ -- GitLab