Re: [ClusterLabs] Antw: Re: Antw: [EXT] Re: Sub‑clusters / super‑clusters - working :)
On Fri, 2021-08-06 at 15:48 +0200, Ulrich Windl wrote: > > > > Andrei Borzenkov schrieb am 06.08.2021 um > > > > 15:14 in > Nachricht > : > > On Fri, Aug 6, 2021 at 3:47 PM Ulrich Windl > > wrote: > > > > > > Antony Stone schrieb am > > > > > > 06.08.2021 um > > > 14:41 in > > > Nachricht <202108061441.59936.antony.st...@ha.open.source.it>: > > > ... > > > > location pref_A GroupA rule ‑inf: site ne cityA > > > > location pref_B GroupB rule ‑inf: site ne cityB > > > > > > I'm wondering whether the first is equivalentto > > > location pref_A GroupA rule inf: site eq cityA > > > > > > > No, it is not. The original constraint prohibits running resources > > anywhere except cityA even if cityA is not available; your version > > allows it if cityA is not available. > > ?? If a resource must run on "cityA" and cityA is unavailable, then > will it > run elsewhere? -inf = must not +inf != must -- Ken Gaillot ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
[ClusterLabs] Antw: Re: Antw: [EXT] Re: Sub‑clusters / super‑clusters - working :)
>>> Andrei Borzenkov schrieb am 06.08.2021 um 15:14 in Nachricht : > On Fri, Aug 6, 2021 at 3:47 PM Ulrich Windl > wrote: >> >> >>> Antony Stone schrieb am 06.08.2021 um >> 14:41 in >> Nachricht <202108061441.59936.antony.st...@ha.open.source.it>: >> ... >> > location pref_A GroupA rule ‑inf: site ne cityA >> > location pref_B GroupB rule ‑inf: site ne cityB >> >> I'm wondering whether the first is equivalentto >> location pref_A GroupA rule inf: site eq cityA >> > > No, it is not. The original constraint prohibits running resources > anywhere except cityA even if cityA is not available; your version > allows it if cityA is not available. ?? If a resource must run on "cityA" and cityA is unavailable, then will it run elsewhere? > ___ > Manage your subscription: > https://lists.clusterlabs.org/mailman/listinfo/users > > ClusterLabs home: https://www.clusterlabs.org/ ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/