[ClusterLabs] Antw: What happened to "crm resource migrate"?
Ulrich Windl
Ulrich.Windl at rz.uni-regensburg.de
Wed Oct 16 04:54:59 EDT 2019
>>> Ulrich Windl schrieb am 15.10.2019 um 10:26 in Nachricht <5DA582C3.BDB : 161 :
60728>:
> Hi!
>
> I was trying to do a "crm resource migrate" the first time in SLES 12 (the
> way I did in SLES11), but I got this message:
> # crm resource migrate prm_isr_mail1 PT10M
> ERROR: resource.move: No target node: Move requires either a target node or
> 'force'
>
I retried today; seems a bug in crm shell:
# crm resource migrate prm_isr_mail1 PT10M
ERROR: resource.move: No target node: Move requires either a target node or 'force'
# crm_resource -M -r prm_isr_mail1 --lifetime PT10M
Migration will take effect until: 2019-10-16 10:28:20 +02:00
WARNING: Creating rsc_location constraint 'cli-ban-prm_isr_mail1-on-h12' with a score of -INFINITY for resource prm_isr_mail1 on h12.
This will prevent prm_isr_mail1 from running on h12 until the constraint is removed using the clear option or by editing the CIB with an appropriate tool
This will be the case even if h12 is the last node in the cluster
> I'm surprised: In the past the mommand simply added a negative location for
> the node the was running (at least I think).
> The resource was running on the other node of a two-node cluster...
>
> Also I noticed that "migrate" no longer appears in crm's help for
> "resource". There's only a "move".
>
> Help for "move" still says:
> resource# help move
> Move a resource to another node
>
> Move a resource away from its current location.
> ...
>
> Regards,
> Ulrich
>
>
More information about the Users
mailing list