[ClusterLabs] Q: late stop of dependency?

Ken Gaillot kgaillot at redhat.com
Thu Nov 17 15:32:11 UTC 2016


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. I wonder whether I can tell pacemaker to stop C late, but I don't want to add a dependency like "C has to stop before B" (I don't want a functional dependency between B and C, because there is none).
> If that's too abstract: Think A is a resource B needs, and C is a performance monitor for A.
> 
> Regards,
> Ulrich

I'd make "stop B then stop C" an asymmetrical, optional constraint.

asymmetrical = it only applies when stopping, not starting

optional = only apply the order if they happen to be stopping in the
same transition




More information about the Users mailing list