Revision d6cd74dd man/gnt-instance.rst

b/man/gnt-instance.rst
40 40
| [\--file-storage-dir *dir\_path*] [\--file-driver {loop \| blktap}]
41 41
| {{-n|\--node} *node[:secondary-node]* \| {-I|\--iallocator} *name*}
42 42
| {{-o|\--os-type} *os-type*}
43
| [\--submit]
43
| [\--submit] [\--print-job-id]
44 44
| [\--ignore-ipolicy]
45 45
| {*instance*}
46 46

  
......
945 945
REMOVE
946 946
^^^^^^
947 947

  
948
**remove** [\--ignore-failures] [\--shutdown-timeout=*N*] [\--submit]
949
[\--force] {*instance*}
948
| **remove** [\--ignore-failures] [\--shutdown-timeout=*N*] [\--submit]
949
| [\--print-job-id] [\--force] {*instance*}
950 950

  
951 951
Remove an instance. This will remove all data from the instance and
952 952
there is *no way back*. If you are not sure if you use an instance
......
1076 1076
| [\--os-type=*OS* [\--force-variant]]
1077 1077
| [{-O|\--os-parameters} *param*=*value*... ]
1078 1078
| [\--offline \| \--online]
1079
| [\--submit]
1079
| [\--submit] [\--print-job-id]
1080 1080
| [\--ignore-ipolicy]
1081 1081
| {*instance*}
1082 1082

  
......
1165 1165
| **reinstall** [{-o|\--os-type} *os-type*] [\--select-os] [-f *force*]
1166 1166
| [\--force-multiple]
1167 1167
| [\--instance \| \--node \| \--primary \| \--secondary \| \--all]
1168
| [{-O|\--os-parameters} *OS\_PARAMETERS*] [\--submit] {*instance*...}
1168
| [{-O|\--os-parameters} *OS\_PARAMETERS*] [\--submit] [\--print-job-id]
1169
| {*instance*...}
1169 1170

  
1170 1171
Reinstalls the operating system on the given instance(s). The
1171 1172
instance(s) must be stopped when running this command. If the ``-o
......
1190 1191
RENAME
1191 1192
^^^^^^
1192 1193

  
1193
| **rename** [\--no-ip-check] [\--no-name-check] [\--submit]
1194
| **rename** [\--no-ip-check] [\--no-name-check] [\--submit] [\--print-job-id]
1194 1195
| {*instance*} {*new\_name*}
1195 1196

  
1196 1197
Renames the given instance. The instance must be stopped when running
......
1226 1227
| \--tags \| \--node-tags \| \--pri-node-tags \| \--sec-node-tags]
1227 1228
| [{-H|\--hypervisor-parameters} ``key=value...``]
1228 1229
| [{-B|\--backend-parameters} ``key=value...``]
1229
| [\--submit] [\--paused]
1230
| [\--submit] [\--print-job-id] [\--paused]
1230 1231
| {*name*...}
1231 1232

  
1232 1233
Starts one or more instances, depending on the following options.  The
......
1324 1325
| [\--force] [\--force-multiple] [\--ignore-offline] [\--no-remember]
1325 1326
| [\--instance \| \--node \| \--primary \| \--secondary \| \--all \|
1326 1327
| \--tags \| \--node-tags \| \--pri-node-tags \| \--sec-node-tags]
1327
| [\--submit]
1328
| [\--submit] [\--print-job-id]
1328 1329
| {*name*...}
1329 1330

  
1330 1331
Stops one or more instances. If the instance cannot be cleanly stopped
......
1378 1379
| [\--force-multiple]
1379 1380
| [\--instance \| \--node \| \--primary \| \--secondary \| \--all \|
1380 1381
| \--tags \| \--node-tags \| \--pri-node-tags \| \--sec-node-tags]
1381
| [\--submit]
1382
| [\--submit] [\--print-job-id]
1382 1383
| [*name*...]
1383 1384

  
1384 1385
Reboots one or more instances. The type of reboot depends on the value
......
1442 1443
REPLACE-DISKS
1443 1444
^^^^^^^^^^^^^
1444 1445

  
1445
**replace-disks** [\--submit] [\--early-release] [\--ignore-ipolicy] {-p}
1446
[\--disks *idx*] {*instance*}
1446
| **replace-disks** [\--submit] [\--print-job-id] [\--early-release]
1447
| [\--ignore-ipolicy] {-p} [\--disks *idx*] {*instance*}
1447 1448

  
1448
**replace-disks** [\--submit] [\--early-release] [\--ignore-ipolicy] {-s}
1449
[\--disks *idx*] {*instance*}
1449
| **replace-disks** [\--submit] [\--print-job-id] [\--early-release]
1450
| [\--ignore-ipolicy] {-s} [\--disks *idx*] {*instance*}
1450 1451

  
1451
**replace-disks** [\--submit] [\--early-release] [\--ignore-ipolicy]
1452
{{-I\|\--iallocator} *name* \| {{-n|\--new-secondary} *node* } {*instance*}
1452
| **replace-disks** [\--submit] [\--print-job-id] [\--early-release]
1453
| [\--ignore-ipolicy]
1454
| {{-I\|\--iallocator} *name* \| {{-n|\--new-secondary} *node* } {*instance*}
1453 1455

  
1454
**replace-disks** [\--submit] [\--early-release] [\--ignore-ipolicy]
1455
{-a\|\--auto} {*instance*}
1456
| **replace-disks** [\--submit] [\--print-job-id] [\--early-release]
1457
| [\--ignore-ipolicy] {-a\|\--auto} {*instance*}
1456 1458

  
1457 1459
This command is a generalized form for replacing disks. It is
1458 1460
currently only valid for the mirrored (DRBD) disk template.
......
1500 1502
ACTIVATE-DISKS
1501 1503
^^^^^^^^^^^^^^
1502 1504

  
1503
**activate-disks** [\--submit] [\--ignore-size] [\--wait-for-sync] {*instance*}
1505
| **activate-disks** [\--submit] [\--print-job-id] [\--ignore-size]
1506
| [\--wait-for-sync] {*instance*}
1504 1507

  
1505 1508
Activates the block devices of the given instance. If successful, the
1506 1509
command will show the location and name of the block devices::
......
1538 1541
DEACTIVATE-DISKS
1539 1542
^^^^^^^^^^^^^^^^
1540 1543

  
1541
**deactivate-disks** [-f] [\--submit] {*instance*}
1544
**deactivate-disks** [-f] [\--submit] [\--print-job-id] {*instance*}
1542 1545

  
1543 1546
De-activates the block devices of the given instance. Note that if you
1544 1547
run this command for an instance with a drbd disk template, while it
......
1559 1562
GROW-DISK
1560 1563
^^^^^^^^^
1561 1564

  
1562
| **grow-disk** [\--no-wait-for-sync] [\--submit] [\--absolute]
1565
| **grow-disk** [\--no-wait-for-sync] [\--submit] [\--print-job-id]
1566
| [\--absolute]
1563 1567
| {*instance*} {*disk*} {*amount*}
1564 1568

  
1565 1569
Grows an instance's disk. This is only possible for instances having a
......
1617 1621
RECREATE-DISKS
1618 1622
^^^^^^^^^^^^^^
1619 1623

  
1620
| **recreate-disks** [\--submit]
1624
| **recreate-disks** [\--submit] [\--print-job-id]
1621 1625
| [{-n node1:[node2] \| {-I\|\--iallocator *name*}}]
1622 1626
| [\--disk=*N*[:[size=*VAL*][,spindles=*VAL*][,mode=*ro\|rw*]]] {*instance*}
1623 1627

  
......
1661 1665
| **failover** [-f] [\--ignore-consistency] [\--ignore-ipolicy]
1662 1666
| [\--shutdown-timeout=*N*]
1663 1667
| [{-n|\--target-node} *node* \| {-I|\--iallocator} *name*]
1664
| [\--submit]
1668
| [\--submit] [\--print-job-id]
1665 1669
| {*instance*}
1666 1670

  
1667 1671
Failover will stop the instance (if running), change its primary node,
......
1715 1719

  
1716 1720
| **migrate** [-f] [\--allow-failover] [\--non-live]
1717 1721
| [\--migration-mode=live\|non-live] [\--ignore-ipolicy]
1718
| [\--no-runtime-changes] [\--submit]
1722
| [\--no-runtime-changes] [\--submit] [\--print-job-id]
1719 1723
| [{-n|\--target-node} *node* \| {-I|\--iallocator} *name*] {*instance*}
1720 1724

  
1721
| **migrate** [-f] \--cleanup [\--submit] {*instance*}
1725
| **migrate** [-f] \--cleanup [\--submit] [\--print-job-id] {*instance*}
1722 1726

  
1723 1727
Migrate will move the instance to its secondary node without shutdown.
1724 1728
As with failover, it works for instances having the drbd disk template
......
1808 1812
^^^^
1809 1813

  
1810 1814
| **move** [-f] [\--ignore-consistency]
1811
| [-n *node*] [\--shutdown-timeout=*N*] [\--submit] [\--ignore-ipolicy]
1815
| [-n *node*] [\--shutdown-timeout=*N*] [\--submit] [\--print-job-id]
1816
| [\--ignore-ipolicy]
1812 1817
| {*instance*}
1813 1818

  
1814 1819
Move will move the instance to an arbitrary node in the cluster. This
......
1841 1846
CHANGE-GROUP
1842 1847
^^^^^^^^^^^^
1843 1848

  
1844
| **change-group** [\--submit]
1849
| **change-group** [\--submit] [\--print-job-id]
1845 1850
| [\--iallocator *NAME*] [\--to *GROUP*...] {*instance*}
1846 1851

  
1847 1852
This command moves an instance to another node group. The move is

Also available in: Unified diff