Re: [ClusterLabs] What happened to "crm resource migrate"?

2019-10-15 Thread Xin Liang
On 10/15/19 4:26 PM, Ulrich Windl wrote: > 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

Re: [ClusterLabs] What happened to "crm resource migrate"?

2019-10-15 Thread Yan Gao
On 10/15/19 11:32 AM, Gao,Yan wrote: > On 10/15/19 11:10 AM, Strahil wrote: >> What about the constraint. >> I think there is no 'crm resource unmove'  to remmove the constraint. > "crm resource clear" does that. And "unmove" is deprecated/hidden, but should still work. Regards, Yan > >

Re: [ClusterLabs] What happened to "crm resource migrate"?

2019-10-15 Thread Strahil
What about the constraint. I think there is no 'crm resource unmove' to remmove the constraint. Best Regards, Strahil NikolovOn Oct 15, 2019 11:52, Yan Gao wrote: > > Hi Ulrich, > > On 10/15/19 10:26 AM,  Ulrich Windl  wrote: > > Hi! > > > > I was trying to do a "crm resource migrate" the

Re: [ClusterLabs] What happened to "crm resource migrate"?

2019-10-15 Thread Andrei Borzenkov
On Tue, Oct 15, 2019 at 11:58 AM Yan Gao wrote: > > > > Help for "move" still says: > > resource# help move > > Move a resource to another node > > > > Move a resource away from its current location. > Looks like an issue in the version of crmsh. > > Xin, could you please take a look? > >

Re: [ClusterLabs] What happened to "crm resource migrate"?

2019-10-15 Thread Yan Gao
Hi Ulrich, On 10/15/19 10:26 AM, Ulrich Windl wrote: > 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

Re: [ClusterLabs] What happened to "crm resource migrate"?

2019-10-15 Thread Strahil
It still works and I keep using it... Even in SLES 15. I think that the warning is a nice addition as it puts a negative constraint which can cause issue with you don't use lifetime option. Best Regards, Strahil NikolovOn Oct 15, 2019 11:26, Ulrich Windl wrote: > > Hi! > > I was trying to do

[ClusterLabs] What happened to "crm resource migrate"?

2019-10-15 Thread Ulrich Windl
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'm surprised: In the past the mommand