Re: [ClusterLabs] How to block/stop a resource from running twice?

2023-04-26 Thread Ken Gaillot
On Wed, 2023-04-26 at 17:05 +, fs3000 via Users wrote: > --- Original Message --- > On Monday, April 24th, 2023 at 10:08, Andrei Borzenkov < > arvidj...@gmail.com> wrote: > > > > On Mon, Apr 24, 2023 at 11:52 AM Klaus Wenninger > > kwenn...@redhat.com wrote: > > > > > The checking

Re: [ClusterLabs] How to block/stop a resource from running twice?

2023-04-26 Thread fs3000 via Users
--- Original Message --- On Monday, April 24th, 2023 at 10:08, Andrei Borzenkov wrote: > On Mon, Apr 24, 2023 at 11:52 AM Klaus Wenninger kwenn...@redhat.com wrote: > > > The checking for a running resource that isn't expected to be running isn't > > done periodically (at > > least

Re: [ClusterLabs] How to block/stop a resource from running twice?

2023-04-24 Thread Andrei Borzenkov
On Mon, Apr 24, 2023 at 11:52 AM Klaus Wenninger wrote: > The checking for a running resource that isn't expected to be running isn't > done periodically (at > least not per default and I don't know a way to achieve that from the top of > my mind). op monitor role=Stopped interval=20s

Re: [ClusterLabs] How to block/stop a resource from running twice?

2023-04-24 Thread Klaus Wenninger
On Fri, Apr 21, 2023 at 12:24 PM fs3000 via Users wrote: > Hello all, > > I'm configuring a two node cluster. Pacemaker 0.9.169 on Centos 7. > > guess this is rather the pcs-version ... > How can i configure a specific service to run just on one node and avoid > having it running on more than

[ClusterLabs] How to block/stop a resource from running twice?

2023-04-21 Thread fs3000 via Users
Hello all, I'm configuring a two node cluster. Pacemaker 0.9.169 on Centos 7. How can i configure a specific service to run just on one node and avoid having it running on more than one node simultaneously. If i start the service on the other node, it keeps running, pacemaker does not kill it.