Revision f624fa95 man/gnt-node.rst
b/man/gnt-node.rst | ||
---|---|---|
23 | 23 |
ADD |
24 | 24 |
~~~ |
25 | 25 |
|
26 |
| **add** [--readd] [{-s|--secondary-ip} *secondary\_ip*]
|
|
27 |
| [{-g|--node-group} *nodegroup*] |
|
28 |
| [--master-capable=``yes|no``] [--vm-capable=``yes|no``]
|
|
29 |
| [--node-parameters *ndparams*] |
|
30 |
| [--disk-state *diskstate*] |
|
31 |
| [--hypervisor-state *hvstate*] |
|
26 |
| **add** [\--readd] [{-s|\--secondary-ip} *secondary\_ip*]
|
|
27 |
| [{-g|\--node-group} *nodegroup*]
|
|
28 |
| [\--master-capable=``yes|no``] [\--vm-capable=``yes|no``]
|
|
29 |
| [\--node-parameters *ndparams*]
|
|
30 |
| [\--disk-state *diskstate*]
|
|
31 |
| [\--hypervisor-state *hvstate*]
|
|
32 | 32 |
| {*nodename*} |
33 | 33 |
|
34 | 34 |
Adds the given node to the cluster. |
... | ... | |
81 | 81 |
ADD-TAGS |
82 | 82 |
~~~~~~~~ |
83 | 83 |
|
84 |
**add-tags** [--from *file*] {*nodename*} {*tag*...} |
|
84 |
**add-tags** [\--from *file*] {*nodename*} {*tag*...}
|
|
85 | 85 |
|
86 | 86 |
Add tags to the given node. If any of the tags contains invalid |
87 | 87 |
characters, the entire operation will abort. |
... | ... | |
95 | 95 |
EVACUATE |
96 | 96 |
~~~~~~~~ |
97 | 97 |
|
98 |
**evacuate** [-f] [--early-release] [--iallocator *NAME* \|
|
|
99 |
--new-secondary *destination\_node*] |
|
100 |
[--primary-only \| --secondary-only] [--early-release] {*node*}
|
|
98 |
**evacuate** [-f] [\--early-release] [\--iallocator *NAME* \|
|
|
99 |
\--new-secondary *destination\_node*]
|
|
100 |
[\--primary-only \| \--secondary-only] [\--early-release] {*node*}
|
|
101 | 101 |
|
102 | 102 |
This command will move instances away from the given node. If |
103 | 103 |
``--primary-only`` is given, only primary instances are evacuated, with |
... | ... | |
140 | 140 |
FAILOVER |
141 | 141 |
~~~~~~~~ |
142 | 142 |
|
143 |
**failover** [-f] [--ignore-consistency] {*node*} |
|
143 |
**failover** [-f] [\--ignore-consistency] {*node*}
|
|
144 | 144 |
|
145 | 145 |
This command will fail over all instances having the given node as |
146 | 146 |
primary to their secondary nodes. This works only for instances having |
... | ... | |
169 | 169 |
~~~~ |
170 | 170 |
|
171 | 171 |
| **list** |
172 |
| [--no-headers] [--separator=*SEPARATOR*]
|
|
173 |
| [--units=*UNITS*] [-v] [{-o|--output} *[+]FIELD,...*]
|
|
174 |
| [--filter] |
|
172 |
| [\--no-headers] [\--separator=*SEPARATOR*]
|
|
173 |
| [\--units=*UNITS*] [-v] [{-o|\--output} *[+]FIELD,...*]
|
|
174 |
| [\--filter]
|
|
175 | 175 |
| [node...] |
176 | 176 |
|
177 | 177 |
Lists the nodes in the cluster. |
... | ... | |
244 | 244 |
MIGRATE |
245 | 245 |
~~~~~~~ |
246 | 246 |
|
247 |
**migrate** [-f] [--non-live] [--migration-mode=live\|non-live]
|
|
248 |
[--ignore-ipolicy] {*node*} |
|
247 |
**migrate** [-f] [\--non-live] [\--migration-mode=live\|non-live]
|
|
248 |
[\--ignore-ipolicy] {*node*}
|
|
249 | 249 |
|
250 | 250 |
This command will migrate all instances having the given node as |
251 | 251 |
primary to their secondary nodes. This works only for instances |
... | ... | |
266 | 266 |
MODIFY |
267 | 267 |
~~~~~~ |
268 | 268 |
|
269 |
| **modify** [-f] [--submit] |
|
270 |
| [{-C|--master-candidate} ``yes|no``] |
|
271 |
| [{-D|--drained} ``yes|no``] [{-O|--offline} ``yes|no``]
|
|
272 |
| [--master-capable=``yes|no``] [--vm-capable=``yes|no``] [--auto-promote]
|
|
273 |
| [{-s|--secondary-ip} *secondary_ip*] |
|
274 |
| [--node-parameters *ndparams*] |
|
275 |
| [--node-powered=``yes|no``] |
|
276 |
| [--hypervisor-state *hvstate*] |
|
277 |
| [--disk-state *diskstate*] |
|
269 |
| **modify** [-f] [\--submit]
|
|
270 |
| [{-C|\--master-candidate} ``yes|no``]
|
|
271 |
| [{-D|\--drained} ``yes|no``] [{-O|\--offline} ``yes|no``]
|
|
272 |
| [\--master-capable=``yes|no``] [\--vm-capable=``yes|no``] [\--auto-promote]
|
|
273 |
| [{-s|\--secondary-ip} *secondary_ip*]
|
|
274 |
| [\--node-parameters *ndparams*]
|
|
275 |
| [\--node-powered=``yes|no``]
|
|
276 |
| [\--hypervisor-state *hvstate*]
|
|
277 |
| [\--disk-state *diskstate*]
|
|
278 | 278 |
| {*node*} |
279 | 279 |
|
280 | 280 |
This command changes the role of the node. Each options takes |
... | ... | |
324 | 324 |
REMOVE-TAGS |
325 | 325 |
~~~~~~~~~~~ |
326 | 326 |
|
327 |
**remove-tags** [--from *file*] {*nodename*} {*tag*...} |
|
327 |
**remove-tags** [\--from *file*] {*nodename*} {*tag*...}
|
|
328 | 328 |
|
329 | 329 |
Remove tags from the given node. If any of the tags are not |
330 | 330 |
existing on the node, the entire operation will abort. |
... | ... | |
338 | 338 |
VOLUMES |
339 | 339 |
~~~~~~~ |
340 | 340 |
|
341 |
| **volumes** [--no-headers] [--human-readable]
|
|
342 |
| [--separator=*SEPARATOR*] [{-o|--output} *FIELDS*]
|
|
341 |
| **volumes** [\--no-headers] [\--human-readable]
|
|
342 |
| [\--separator=*SEPARATOR*] [{-o|\--output} *FIELDS*]
|
|
343 | 343 |
| [*node*...] |
344 | 344 |
|
345 | 345 |
Lists all logical volumes and their physical disks from the node(s) |
... | ... | |
391 | 391 |
LIST-STORAGE |
392 | 392 |
~~~~~~~~~~~~ |
393 | 393 |
|
394 |
| **list-storage** [--no-headers] [--human-readable]
|
|
395 |
| [--separator=*SEPARATOR*] [--storage-type=*STORAGE\_TYPE*]
|
|
396 |
| [{-o|--output} *FIELDS*] |
|
394 |
| **list-storage** [\--no-headers] [\--human-readable]
|
|
395 |
| [\--separator=*SEPARATOR*] [\--storage-type=*STORAGE\_TYPE*]
|
|
396 |
| [{-o|\--output} *FIELDS*]
|
|
397 | 397 |
| [*node*...] |
398 | 398 |
|
399 | 399 |
Lists the available storage units and their details for the given |
... | ... | |
476 | 476 |
REPAIR-STORAGE |
477 | 477 |
~~~~~~~~~~~~~~ |
478 | 478 |
|
479 |
**repair-storage** [--ignore-consistency] {*node*} {*storage-type*} |
|
479 |
**repair-storage** [\--ignore-consistency] {*node*} {*storage-type*}
|
|
480 | 480 |
{*volume-name*} |
481 | 481 |
|
482 | 482 |
Repairs a storage volume on a node. Only LVM volume groups can be |
483 | 483 |
repaired at this time. They have the storage type "lvm-vg". |
484 | 484 |
|
485 |
On LVM volume groups, **repair-storage** runs "vgreduce
|
|
486 |
--removemissing".
|
|
485 |
On LVM volume groups, **repair-storage** runs ``vgreduce
|
|
486 |
--removemissing``.
|
|
487 | 487 |
|
488 | 488 |
|
489 | 489 |
|
Also available in: Unified diff