Commit 5914192c authored by Helga Velroyen's avatar Helga Velroyen
Browse files

Update man page 'gnt-cluster' regarding disk templates



This documents the new 'gnt-cluster init/modify' option
'--enabled-disk-templates' in the man page.
Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
Reviewed-by: default avatarMichele Tartara <mtarara@google.com>
parent 2522c59e
...@@ -186,6 +186,7 @@ INIT ...@@ -186,6 +186,7 @@ INIT
| [\--ipolicy-disk-templates *template* [,*template*...]] | [\--ipolicy-disk-templates *template* [,*template*...]]
| [\--disk-state *diskstate*] | [\--disk-state *diskstate*]
| [\--hypervisor-state *hvstate*] | [\--hypervisor-state *hvstate*]
| [\--enabled-disk-templates *template* [,*template*...]]
| {*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
...@@ -508,6 +509,14 @@ comma-separated list of disk templates. ...@@ -508,6 +509,14 @@ comma-separated list of disk templates.
For details about how to use ``--hypervisor-state`` and ``--disk-state`` For details about how to use ``--hypervisor-state`` and ``--disk-state``
have a look at **ganeti**\(7). have a look at **ganeti**\(7).
The ``--enabled-disk-templates`` option specifies a list of disk templates
that can be used by instances of the cluster. For the possible values in
this list, see **gnt-instance**\(8). Note that in contrast to the list of
disk templates in the ipolicy, this list is a hard restriction. It is not
possible to create instances with disk templates that are not enabled in
the cluster. It is also not possible to disable a disk template when there
are still instances using it.
MASTER-FAILOVER MASTER-FAILOVER
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
...@@ -574,6 +583,7 @@ MODIFY ...@@ -574,6 +583,7 @@ MODIFY
| [\--specs-mem-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*...]] | [\--specs-nic-count *spec-param*=*value* [,*spec-param*=*value*...]]
| [\--ipolicy-disk-templates *template* [,*template*...]] | [\--ipolicy-disk-templates *template* [,*template*...]]
| [\--enabled-disk-templates *template* [,*template*...]]
Modify the options for the cluster. Modify the options for the cluster.
...@@ -583,8 +593,8 @@ The ``--vg-name``, ``--no-lvm-storage``, ``--enabled-hypervisors``, ...@@ -583,8 +593,8 @@ The ``--vg-name``, ``--no-lvm-storage``, ``--enabled-hypervisors``,
``-D (--disk-parameters)``, ``--nic-parameters``, ``-C ``-D (--disk-parameters)``, ``--nic-parameters``, ``-C
(--candidate-pool-size)``, ``--maintain-node-health``, (--candidate-pool-size)``, ``--maintain-node-health``,
``--prealloc-wipe-disks``, ``--uid-pool``, ``--node-parameters``, ``--prealloc-wipe-disks``, ``--uid-pool``, ``--node-parameters``,
``--master-netdev``, ``--master-netmask`` and ``--master-netdev``, ``--master-netmask``, ``--use-external-mip-script``,
``--use-external-mip-script`` options are described in the **init** and ``--enabled-disk-templates`` options are described in the **init**
command. command.
The ``--hypervisor-state`` and ``--disk-state`` options are described in The ``--hypervisor-state`` and ``--disk-state`` options are described in
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment