Re: [ClusterLabs] Query about resource stickiness

2016-11-17 Thread Ken Gaillot
On 11/17/2016 06:41 PM, phanidhar prattipati wrote: > Good Morning All, > > I have configured HA on 3 nodes and in order to disable automatic fail > over i need to set resource stickiness value and not sure how to > calculate it. Currently i set it o INFINITY which i believe is not the > right

Re: [ClusterLabs] Bug in ocf-shellfuncs, ocf_local_nodename function?

2016-11-17 Thread Ken Gaillot
On 11/17/2016 11:59 AM, Israel Brewster wrote: > This refers specifically to build version > 5434e9646462d2c3c8f7aad2609d0ef1875839c7 of the ocf-shellfuncs file, on > CentOS 6.8, so it might not be an issue on later builds (if any) or > different operating systems, but it would appear that the >

Re: [ClusterLabs] Locate resource with functioning member of clone set?

2016-11-17 Thread Ken Gaillot
On 11/17/2016 11:37 AM, Israel Brewster wrote: > I have a resource that is set up as a clone set across my cluster, > partly for pseudo-load balancing (If someone wants to perform an action > that will take a lot of resources, I can have them do it on a different > node than the primary one), but

[ClusterLabs] Query about resource stickiness

2016-11-17 Thread phanidhar prattipati
Good Morning All, I have configured HA on 3 nodes and in order to disable automatic fail over i need to set resource stickiness value and not sure how to calculate it. Currently i set it o INFINITY which i believe is not the right way of doing it. Any pointers how to calculate based on the

[ClusterLabs] Bug in ocf-shellfuncs, ocf_local_nodename function?

2016-11-17 Thread Israel Brewster
This refers specifically to build version 5434e9646462d2c3c8f7aad2609d0ef1875839c7 of the ocf-shellfuncs file, on CentOS 6.8, so it might not be an issue on later builds (if any) or different operating systems, but it would appear that the ocf_local_nodename function can have issues with certain

[ClusterLabs] Locate resource with functioning member of clone set?

2016-11-17 Thread Israel Brewster
I have a resource that is set up as a clone set across my cluster, partly for pseudo-load balancing (If someone wants to perform an action that will take a lot of resources, I can have them do it on a different node than the primary one), but also simply because the resource can take several

Re: [ClusterLabs] Q: late stop of dependency?

2016-11-17 Thread Ken Gaillot
On 11/17/2016 02:46 AM, Ulrich Windl wrote: > Hi! > > I have a question: > When having dependencies like "A has to start before B" and "A has to start > before C". Now when shutting down, B and C are shut down before A, as > requested. > Now when B takes a long time to stop, C is stopped early.

[ClusterLabs] Q: late stop of dependency?

2016-11-17 Thread Ulrich Windl
Hi! I have a question: When having dependencies like "A has to start before B" and "A has to start before C". Now when shutting down, B and C are shut down before A, as requested. Now when B takes a long time to stop, C is stopped early. I wonder whether I can tell pacemaker to stop C late, but