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/
Re: [ClusterLabs] Antw: Re: Antw: [EXT] Re: Sub‑clusters / super‑clusters?
On Thursday 05 August 2021 at 07:48:37, Ulrich Windl wrote: > Antony Stone schrieb am 04.08.2021 um 21:27: > > > > As soon as I connect the clusters at city A and city B, and apply the > > location contraints and weighting rules you have suggested: > > > > 1. everything works, including the single resource at either city A or > > city B, so long as both clusters are operational. > > > > 2. as soon as one cluster fails (all three of its nodes nodes become > > unavailable), then the other cluster stops running all its resources as > > well. This is even with quorum=2. > > Have you ever tried to find out why this happens? (Talking about logs) Not in detail, no, but just in case there's a chance of getting this working as suggested simply using location constraints, I shall look further. Thanks, Antony. -- This sentence contains exacly three erors. Please reply to the list; please *don't* CC me. ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/