[ClusterLabs] Antw: crm shell: "help migrate" is somewhat "thin"...

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Mon Dec 28 03:21:27 EST 2015

>>> Ulrich Windl schrieb am 28.12.2015 um 09:17 in Nachricht <5680F025.9B2 : 161 :
> Hi!
> When trying to migrate a clone resource I got this (SLES11 SP4 with 
> crmsh-2.1.2+git49.g2e3fa0e-1.32):
> # crm resource migrate cln_ctdb PT5M
> Resource 'cln_ctdb' not moved: active in 2 locations.
> You can prevent 'cln_ctdb' from running on a specific location with: --ban 
> --host <name>
> Error performing operation: Invalid argument

An update: When I try "crm resource migrate --ban --host h02 cln_rksaps02_ctdb PT5M", I get an error message, also: "ERROR: resource.migrate: Not our node: --host"

> So when I tried "help migrate" in interactive crm shell, I only get this:
> ---
> crm(live)resource# help migrate
> Migrate a resource to another node
> Migrate a resource to a different node. If node is left out, the
> resource is migrated by creating a constraint which prevents it from
> running on the current node. Additionally, you may specify a
> lifetime for the constraint---once it expires, the location
> constraint will no longer be active.
> Usage:
> migrate <rsc> [<node>] [<lifetime>] [force]
> ---
> My guess is that the help is incomplete!
> Can you temporarily provide a corrected usage text?
> Regards,
> Ulrich

More information about the Users mailing list