Re: [ClusterLabs] pcs stonith update problems

2021-07-16 Thread Tomas Jelinek
Dne 16. 07. 21 v 6:35 Andrei Borzenkov napsal(a): On 16.07.2021 01:02, Digimer wrote: Hi all, I've got a predicament... I want to update a stonith resource to remove an argument. Specifically, when resource move nodes, I want to change the stonith delay to favour the new host. This involves

Re: [ClusterLabs] pcs stonith update problems

2021-07-16 Thread Digimer
On 2021-07-16 9:26 a.m., Tomas Jelinek wrote: > Dne 16. 07. 21 v 6:35 Andrei Borzenkov napsal(a): >> On 16.07.2021 01:02, Digimer wrote: >>> Hi all, >>> >>>    I've got a predicament... I want to update a stonith resource to >>> remove an argument. Specifically, when resource move nodes, I want to

Re: [ClusterLabs] pcs stonith update problems

2021-07-16 Thread kgaillot
On Thu, 2021-07-15 at 18:02 -0400, Digimer wrote: > Hi all, > > I've got a predicament... I want to update a stonith resource to > remove an argument. Specifically, when resource move nodes, I want to > change the stonith delay to favour the new host. This involves adding > the 'delay="x"' argum

Re: [ClusterLabs] pcs stonith update problems

2021-07-16 Thread Digimer
On 2021-07-16 10:48 a.m., kgail...@redhat.com wrote: > On Thu, 2021-07-15 at 18:02 -0400, Digimer wrote: >> Hi all, >> >> I've got a predicament... I want to update a stonith resource to >> remove an argument. Specifically, when resource move nodes, I want to >> change the stonith delay to favour

[ClusterLabs] FYI: regression in crm_attribute/crm_master/crm_failcount in 2.1.0

2021-07-16 Thread kgaillot
Hi all, Thanks to PAF users for testing and finding a regression in crm_attribute (and its crm_master and crm_failcount wrappers) in the recent 2.1.0 release. (CLBZ#5480) (1) Setting a negative attribute value doesn't work (e.g. "crm_attribute -n myattr -v -1000") (2) --get-value (a deprecated a

Re: [ClusterLabs] Moving resource only one way

2021-07-16 Thread Strahil Nikolov via Users
Yep, just set the stickiness to something bigger than '0' (max is INFINITY -> 100) Best Regards,Strahil Nikolov On Thu, Jul 15, 2021 at 15:02, Ervin Hegedüs wrote: Hi there, I have to build a very simple cluster with only one resource: a virtual IP. The "challenge":* there are two nod