Revision 633b36db
b/scripts/gnt-instance | ||
---|---|---|
1420 | 1420 |
help=("Comma-separated list of disks" |
1421 | 1421 |
" to replace (e.g. sda) (optional," |
1422 | 1422 |
" defaults to all disks")), |
1423 |
make_option("-i", "--iallocator", metavar="<NAME>",
|
|
1423 |
make_option("-I", "--iallocator", metavar="<NAME>",
|
|
1424 | 1424 |
help="Select new secondary for the instance" |
1425 | 1425 |
" automatically using the" |
1426 | 1426 |
" <NAME> iallocator plugin (enables" |
... | ... | |
1428 | 1428 |
default=None, type="string"), |
1429 | 1429 |
SUBMIT_OPT, |
1430 | 1430 |
], |
1431 |
"[-s|-p|-n NODE] <instance>", |
|
1431 |
"[-s|-p|-n NODE|-I NAME] <instance>",
|
|
1432 | 1432 |
"Replaces all disks for the instance"), |
1433 | 1433 |
'modify': (SetInstanceParams, ARGS_ONE, |
1434 | 1434 |
[DEBUG_OPT, FORCE_OPT, |
b/scripts/gnt-node | ||
---|---|---|
495 | 495 |
make_option("-n", "--new-secondary", dest="dst_node", |
496 | 496 |
help="New secondary node", metavar="NODE", |
497 | 497 |
default=None), |
498 |
make_option("-i", "--iallocator", metavar="<NAME>",
|
|
498 |
make_option("-I", "--iallocator", metavar="<NAME>",
|
|
499 | 499 |
help="Select new secondary for the instance" |
500 | 500 |
" automatically using the" |
501 | 501 |
" <NAME> iallocator plugin", |
502 | 502 |
default=None, type="string"), |
503 | 503 |
], |
504 |
"[-f] {-i <iallocator> | -n <dst>} <node>",
|
|
504 |
"[-f] {-I <iallocator> | -n <dst>} <node>",
|
|
505 | 505 |
"Relocate the secondary instances from a node" |
506 | 506 |
" to other nodes (only for instances with drbd disk template)"), |
507 | 507 |
'failover': (FailoverNode, ARGS_ONE, |
Also available in: Unified diff