Re: [ClusterLabs] Antw: [EXT] Move a resource only where another has Started

2021-10-10 Thread Andrei Borzenkov
On 10.10.2021 14:29, martin doc wrote: > ok, I think I've solved my problem or at least part of it. > > The issue was I was not including a "score" in any of my constraint > statements. This meant that "INFINITY" was being used. The result is that the > scores would always be the same. >

Re: [ClusterLabs] Antw: [EXT] Move a resource only where another has Started

2021-10-10 Thread martin doc
ok, I think I've solved my problem or at least part of it. The issue was I was not including a "score" in any of my constraint statements. This meant that "INFINITY" was being used. The result is that the scores would always be the same. e.g. pcs colocation location App with VIP gets a score

Re: [ClusterLabs] Antw: [EXT] Move a resource only where another has Started

2021-10-10 Thread martin doc
From: Andrei Borzenkov, 9 October 2021 5:40 PM > What is the value of placement-strategy cluster property? "balanced". I unset that and there was a flurry of activity but nothing changed. Interesting in the pacemaker log for the host that is "empty" is that it started the MyGw clone up locally

Re: [ClusterLabs] Antw: [EXT] Move a resource only where another has Started

2021-10-08 Thread martin doc
Hi, Yes, the suggestion to use a rule helped some. I had tried that but what I got wrong is that the name for the score stored by ping is not ping but pingd (yay backwards compat.) Thanks Ken for the pointer and getting me to go back to that. Now I'm stuck with the problem of getting resources

[ClusterLabs] Antw: [EXT] Move a resource only where another has Started

2021-10-08 Thread Ulrich Windl
>>> martin doc schrieb am 07.10.2021 um 17:45 in Nachricht : > Hi, > > I've been trying to work out if it is possible to leave a resource on the > cluster node that it is on and only move it to another node if a dependent > resource is started. This is all using Red Hat's presentation in