Re: [ClusterLabs] Pacemaker alert framework

2018-07-06 Thread Ken Gaillot
On Fri, 2018-07-06 at 15:58 +0200, Klaus Wenninger wrote: > On 07/06/2018 03:41 PM, Ian Underhill wrote: > > requirement: > > when a resource fails perform an actionm, run a script on all nodes > > within the cluster, before the resource is relocated. i.e. > > information gathering why the resource

Re: [ClusterLabs] Pacemaker alert framework

2018-07-06 Thread Klaus Wenninger
On 07/06/2018 03:41 PM, Ian Underhill wrote: > requirement: > when a resource fails perform an actionm, run a script on all nodes > within the cluster, before the resource is relocated. i.e. information > gathering why the resource failed. Have in mind that trying to run a script on all nodes in t

[ClusterLabs] Pacemaker alert framework

2018-07-06 Thread Ian Underhill
requirement: when a resource fails perform an actionm, run a script on all nodes within the cluster, before the resource is relocated. i.e. information gathering why the resource failed. what I have looked into: 1) Use the monitor call within the resource to SSH to all nodes, again SSH config need