Re: [ClusterLabs] Knowing where a resource is running

2018-06-04 Thread Ken Gaillot
On Wed, 2018-05-16 at 14:37 -0500, Ryan Thomas wrote: > I’m attempting to implement a resource that is “master” on only one > node, but the other slave nodes know where the resource is running so > they can forward requests to the “master” node.  It seems like this > can be accomplished by

Re: [ClusterLabs] PAF not starting resource successfully after node reboot (was: How to set up fencing/stonith)

2018-06-04 Thread Andrei Borzenkov
04.06.2018 18:53, Casey & Gina пишет: >> There are different code paths when RA is called automatically by >> resource manager and when RA is called manually by crm_resource. The >> latter did not export this environment variable until 1.1.17. So >> documentation is correct in that you do not need

Re: [ClusterLabs] PAF not starting resource successfully after node reboot (was: How to set up fencing/stonith)

2018-06-04 Thread Casey & Gina
> There are different code paths when RA is called automatically by > resource manager and when RA is called manually by crm_resource. The > latter did not export this environment variable until 1.1.17. So > documentation is correct in that you do not need 1.1.17 to use RA > normally, as part of

Re: [ClusterLabs] Resource-stickiness is not working

2018-06-04 Thread Ken Gaillot
On Sat, 2018-06-02 at 22:14 +0800, Confidential Company wrote: > On Fri, 2018-06-01 at 22:58 +0800, Confidential Company wrote: > > Hi, > >  > > I have two-node active/passive setup. My goal is to failover a > > resource once a Node goes down with minimal downtime as possible. > > Based on my