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
___
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users
Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org