Re: [ClusterLabs] location constraint does not move promoted resource ?

2023-07-03 Thread Vladislav Bogdanov
I think 1 is a common number across promotable resource agents writers to pass to crm_master when agent during probe/monitor call thinks that node is really ready to have a resource promoted. Drbd is one of examples. Best, Vlad lejeczek via Users 03.06.2023. 19:32:58 wrote: On

Re: [ClusterLabs] location constraint does not move promoted resource ?

2023-07-03 Thread lejeczek via Users
On 03/07/2023 18:55, Andrei Borzenkov wrote: On 03.07.2023 19:39, Ken Gaillot wrote: On Mon, 2023-07-03 at 19:22 +0300, Andrei Borzenkov wrote: On 03.07.2023 18:07, Ken Gaillot wrote: On Mon, 2023-07-03 at 12:20 +0200, lejeczek via Users wrote: On 03/07/2023 11:16, Andrei Borzenkov wrote:

Re: [ClusterLabs] location constraint does not move promoted resource ?

2023-07-03 Thread Andrei Borzenkov
On 03.07.2023 19:39, Ken Gaillot wrote: On Mon, 2023-07-03 at 19:22 +0300, Andrei Borzenkov wrote: On 03.07.2023 18:07, Ken Gaillot wrote: On Mon, 2023-07-03 at 12:20 +0200, lejeczek via Users wrote: On 03/07/2023 11:16, Andrei Borzenkov wrote: On 03.07.2023 12:05, lejeczek via Users wrote:

Re: [ClusterLabs] location constraint does not move promoted resource ?

2023-07-03 Thread Ken Gaillot
On Mon, 2023-07-03 at 19:22 +0300, Andrei Borzenkov wrote: > On 03.07.2023 18:07, Ken Gaillot wrote: > > On Mon, 2023-07-03 at 12:20 +0200, lejeczek via Users wrote: > > > On 03/07/2023 11:16, Andrei Borzenkov wrote: > > > > On 03.07.2023 12:05, lejeczek via Users wrote: > > > > > Hi guys. > > > >

Re: [ClusterLabs] location constraint does not move promoted resource ?

2023-07-03 Thread Andrei Borzenkov
On 03.07.2023 18:07, Ken Gaillot wrote: On Mon, 2023-07-03 at 12:20 +0200, lejeczek via Users wrote: On 03/07/2023 11:16, Andrei Borzenkov wrote: On 03.07.2023 12:05, lejeczek via Users wrote: Hi guys. I have pgsql with I constrain like so: -> $ pcs constraint location PGSQL-clone rule

Re: [ClusterLabs] location constraint does not move promoted resource ?

2023-07-03 Thread Ken Gaillot
On Mon, 2023-07-03 at 12:20 +0200, lejeczek via Users wrote: > > On 03/07/2023 11:16, Andrei Borzenkov wrote: > > On 03.07.2023 12:05, lejeczek via Users wrote: > > > Hi guys. > > > > > > I have pgsql with I constrain like so: > > > > > > -> $ pcs constraint location PGSQL-clone rule

Re: [ClusterLabs] location constraint does not move promoted resource ?

2023-07-03 Thread lejeczek via Users
On 03/07/2023 11:16, Andrei Borzenkov wrote: On 03.07.2023 12:05, lejeczek via Users wrote: Hi guys. I have pgsql with I constrain like so: -> $ pcs constraint location PGSQL-clone rule role=Promoted score=-1000 gateway-link ne 1 and I have a few more location constraints with that

Re: [ClusterLabs] location constraint does not move promoted resource ?

2023-07-03 Thread Andrei Borzenkov
On 03.07.2023 12:05, lejeczek via Users wrote: Hi guys. I have pgsql with I constrain like so: -> $ pcs constraint location PGSQL-clone rule role=Promoted score=-1000 gateway-link ne 1 and I have a few more location constraints with that ethmonitor & those work, but this one does not seem to.

[ClusterLabs] location constraint does not move promoted resource ?

2023-07-03 Thread lejeczek via Users
Hi guys. I have pgsql with I constrain like so: -> $ pcs constraint location PGSQL-clone rule role=Promoted score=-1000 gateway-link ne 1 and I have a few more location constraints with that ethmonitor & those work, but this one does not seem to. When contraint is created cluster is silent,