Revision 5ec23388
b/lib/client/gnt_node.py | ||
---|---|---|
889 | 889 |
EvacuateNode, ARGS_ONE_NODE, |
890 | 890 |
[FORCE_OPT, IALLOCATOR_OPT, NEW_SECONDARY_OPT, EARLY_RELEASE_OPT, |
891 | 891 |
PRIORITY_OPT, PRIMARY_ONLY_OPT, SECONDARY_ONLY_OPT], |
892 |
"[-f] {-I <iallocator> | -n <dst>} <node>", |
|
892 |
"[-f] {-I <iallocator> | -n <dst>} [-p | -s] [options...] <node>",
|
|
893 | 893 |
"Relocate the primary and/or secondary instances from a node"), |
894 | 894 |
"failover": ( |
895 | 895 |
FailoverNode, ARGS_ONE_NODE, [FORCE_OPT, IGNORE_CONSIST_OPT, |
b/man/gnt-node.rst | ||
---|---|---|
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] |
|
99 |
| [{-I|\--iallocator} *NAME* \| {-n|\--new-secondary} *destination\_node*] |
|
100 |
| [{-p|\--primary-only} \| {-s|\--secondary-only} ] |
|
101 |
| {*node*} |
|
101 | 102 |
|
102 | 103 |
This command will move instances away from the given node. If |
103 | 104 |
``--primary-only`` is given, only primary instances are evacuated, with |
Also available in: Unified diff