Commit ba2cab15 authored by Klaus Aehlig's avatar Klaus Aehlig

Describe the --restricted-migration option

Add the --restricted-migration option to the man page together with
a hint on the intended use case.
Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
parent 33bb2d08
...@@ -32,6 +32,7 @@ Algorithm options: ...@@ -32,6 +32,7 @@ Algorithm options:
**[ -U *util-file* ]** **[ -U *util-file* ]**
**[ \--ignore-dynu ]** **[ \--ignore-dynu ]**
**[ \--evac-mode ]** **[ \--evac-mode ]**
**[ \--restricted-migration ]**
**[ \--select-instances *inst...* ]** **[ \--select-instances *inst...* ]**
**[ \--exclude-instances *inst...* ]** **[ \--exclude-instances *inst...* ]**
...@@ -306,6 +307,15 @@ The options that can be passed to the program are as follows: ...@@ -306,6 +307,15 @@ The options that can be passed to the program are as follows:
(bulk) replacement for Ganeti's own *gnt-node evacuate*, with the (bulk) replacement for Ganeti's own *gnt-node evacuate*, with the
note that it doesn't guarantee full evacuation. note that it doesn't guarantee full evacuation.
\--restricted-migration
This parameter disallows any replace-primary moves (frf), as well as
those replace-and-failover moves (rf) where the primary node of the
instance is not drained. If used together with the ``--evac-mode``
option, the only migrations that hbal will do are migrations of
instances off a drained node. This can be useful if during a reinstall
of the base operating system migration is only possible from the old
OS to the new OS.
\--select-instances=*instances* \--select-instances=*instances*
This parameter marks the given instances (as a comma-separated list) This parameter marks the given instances (as a comma-separated list)
as the only ones being moved during the rebalance. as the only ones being moved during the rebalance.
......
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