Man page for gnt-cluster
authorAgata Murawska <agatamurawska@google.com>
Fri, 9 Dec 2011 11:33:05 +0000 (12:33 +0100)
committerAgata Murawska <agatamurawska@google.com>
Fri, 9 Dec 2011 15:47:53 +0000 (16:47 +0100)
Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>

man/gnt-cluster.rst

index 7293f3e..6108020 100644 (file)
@@ -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
 ~~~~~