[ClusterLabs] How to stop resource after N failures?

2017-10-27 Thread David Kent
Hello, Is there any way to configure a pacemaker cluster so that a resource will restart N times and then stop? This is essentially a mix of migration-threshold and on-failure=stop. Let me describe my setup and what I've tried. My cluster is a set of independent apps sharing a VIP (all apps are

Re: [ClusterLabs] How to stop resource after N failures?

2017-10-27 Thread Ken Gaillot
On Fri, 2017-10-27 at 13:52 -0500, David Kent wrote: > Hello, > > Is there any way to configure a pacemaker cluster so that a resource > will restart N times and then stop? > > This is essentially a mix of migration-threshold and on-failure=stop. Not yet. It's a planned future enhancement. It's