Revision 3abb0a5c man/gnt-node.rst
b/man/gnt-node.rst | ||
---|---|---|
114 | 114 |
Note that this command is equivalent to using per-instance commands for |
115 | 115 |
each affected instance individually: |
116 | 116 |
|
117 |
- ``--primary-only`` is equivalent to ``gnt-instance |
|
118 |
failover/migration`` for non-DRBD instances, but for DRBD instances |
|
119 |
it's different, and usually is a slow process (it will change the |
|
120 |
primary to another node while keeping the secondary, this requiring |
|
121 |
data copies, whereas failover/migrate will only toggle the |
|
122 |
primary/secondary roles, a fast process) |
|
117 |
- ``--primary-only`` is equivalent to performing ``gnt-instance |
|
118 |
migrate`` for every primary instance running on the node that can be |
|
119 |
migrated and ``gnt-instance failover`` for every primary instance that |
|
120 |
cannot be migrated. |
|
123 | 121 |
- ``--secondary-only`` is equivalent to ``gnt-instance replace-disks`` |
124 |
in the secondary node change mode (only valid for DRBD instances) |
|
122 |
in secondary node change mode (``--new-secondary``) for every DRBD |
|
123 |
instance that the node is a secondary for. |
|
125 | 124 |
- when neither of the above is done a combination of the two cases is run |
126 | 125 |
|
127 | 126 |
See **ganeti**\(7) for a description of ``--submit`` and other common |
Also available in: Unified diff