Re: [ClusterLabs] Antw: [EXT] Re: Disable all resources in a group if one or more of them fail and are unable to reactivate

2021-02-01 Thread Ken Gaillot
That's a new one to me. I'm shocked that works ... I'd expect it to be detected as a colocation loop and ignored. On Mon, 2021-02-01 at 12:15 +0100, damiano giuliani wrote: > Hi Guys, sorry for the late answer, today i had the time to test the > Igor's solution and it works flawlessy. > creating

Re: [ClusterLabs] Antw: [EXT] Re: Disable all resources in a group if one or more of them fail and are unable to reactivate

2021-02-01 Thread damiano giuliani
Hi Guys, sorry for the late answer, today i had the time to test the Igor's solution and it works flawlessy. creating a colocation constraint , binding the first and the last group resources with an INFINITY score make possible to "If at least one resource in the group fails the group will fail

[ClusterLabs] Antw: [EXT] Re: Disable all resources in a group if one or more of them fail and are unable to reactivate

2021-01-29 Thread Ulrich Windl
>>> Andrei Borzenkov schrieb am 28.01.2021 um 18:30 in Nachricht : > 27.01.2021 22:03, Ken Gaillot пишет: >> >> With a group, later members depend on earlier members. If an earlier >> member can't run, then no members after it can run. >> >> However we can't make the dependency go in both

Re: [ClusterLabs] Antw: [EXT] Re: Disable all resources in a group if one or more of them fail and are unable to reactivate

2021-01-28 Thread Igor Tverdovskiy
Hi Damiano, As a workaround I can suggest the following solution (in short, add infinite score colocation rule for the first resource in the group with the last resource in the group). *How it works:* After that it will work as you expect: 1) If at least one resource in the group fails the group

Re: [ClusterLabs] Antw: [EXT] Re: Disable all resources in a group if one or more of them fail and are unable to reactivate

2021-01-28 Thread Ken Gaillot
I've opened a feature request for this: https://bugs.clusterlabs.org/show_bug.cgi?id=5465 Realistically, developer time is tight for the foreseeable future, so it's more a wish-list item unless someone volunteers to work on it. On Thu, 2021-01-28 at 17:42 +0100, damiano giuliani wrote: > Hi

Re: [ClusterLabs] Antw: [EXT] Re: Disable all resources in a group if one or more of them fail and are unable to reactivate

2021-01-28 Thread damiano giuliani
Hi Ulrich, thanks for the answer, as Ken explained me, there isnt any way to prevent earlier members from running if a later member has no available node, if no node is available for the failed member, then it will just remain stopped,and the earlier members will stay active where they are. i

[ClusterLabs] Antw: [EXT] Re: Disable all resources in a group if one or more of them fail and are unable to reactivate

2021-01-28 Thread Ulrich Windl
>>> damiano giuliani schrieb am 27.01.2021 um 19:25 in Nachricht : > Hi Andrei, Thanks for ur help. > if one of my resource in the group fails or the primary node went down ( > in my case acspcmk-02 ), the probe notices it and pacemaker tries to > restart the whole resource group on the second