Re: [ClusterLabs] Users Digest, Vol 46, Issue 8

2018-11-09 Thread Ian Underhill
y's Topics: > > 1. Re: Pacemaker auto restarts disabled groups (Ian Underhill) >2. Re: Pacemaker auto restarts disabled groups (Ken Gaillot) > > > ------ > > Message: 1 > Date: Thu, 8 Nov 2018 12:14:33

Re: [ClusterLabs] Pacemaker auto restarts disabled groups

2018-11-08 Thread Ian Underhill
seems this issue has been raised before, but has gone quite, with no solution https://lists.clusterlabs.org/pipermail/users/2017-October/006544.html I know my resource agents successfully return the correct status to the start\stop\monitor requests On Thu, Nov 8, 2018 at 11:40 AM Ian Underhill

[ClusterLabs] Pacemaker auto restarts disabled groups

2018-11-08 Thread Ian Underhill
Sometimes Im seeing that a resource group that is in the process of being disable is auto restarted by pacemaker. When issuing pcs disable command to disable different resource groups at the same time (on different nodes, at the group level) the result is that sometimes the resource is stopped

[ClusterLabs] Colocation dependencies (dislikes)

2018-09-23 Thread Ian Underhill
Im trying to design a resource layout that has different "dislikes" colocation scores between the various resources within the cluster. 1) When I start to have multiple colocation dependencies from a single resource, strange behaviour starts to happen, in scenarios where resource have to bunch

[ClusterLabs] Q: Resource Groups vs Resources for stickiness and colocation?

2018-08-29 Thread Ian Underhill
im guessing this is just a "feature", but something that will probably stop me using groups Scenario1 (working): 1) Two nodes (1,2) within a cluster (default-stickiness = INFINITY) 2) Two resources (A,B) in a cluster running on different nodes 3) colocation constraint between resources of A->B

[ClusterLabs] Understanding\Manually adjusting node-health-strategy

2018-07-26 Thread Ian Underhill
when a resource fails on a node I would like to mark the node unhealthy, so other resources dont start up on it. I believe I can achieve this, ignoring the concept of fencing at the moment. I have tried to set my cluster to have a node-health-strategy as only_green. However trying to manually

[ClusterLabs] OCF Return codes OCF_NOT_RUNNING

2018-07-11 Thread Ian Underhill
im trying to understand the behaviour of pacemaker when a resource monitor returns OCF_NOT_RUNNING instead of OCF_ERR_GENERIC, and does pacemaker really care. The documentation states that a return code OCF_NOT_RUNNING from a monitor will not result in a stop being called on that resource, as it

[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