On Fri, Apr 29, 2011 at 1:24 PM, Andreas Kurz <andreas.k...@linbit.com> wrote: > On 2011-04-29 09:23, Andrew Beekhof wrote: >> On Fri, Apr 29, 2011 at 9:16 AM, <u.schmel...@online.de> wrote: >>> >>> Hi all, >>> >>> Using the MailTo resource I want to generate a more specific message, like >>> this: Having 2 resources running on a node like MailTo and Dummy (besides >>> some other resources) . Adding a order rule like "order Dummy-before-Notify >>> inf: Dummy MailTo". So if the Dummy resource is started it will write a >>> specific message to a file and MailTo will pickup the message. Now my >>> question: Having this order, on a stop event which resource will be stopped >>> first? >> >> Notify I'm afraid. > > try unsymmetric order constraints:
Not recommended for people only just getting their feet wet though :) > > order start-Dummy-before-Notify inf: Dummy:start MailTo:start > symmetrical=false > > order stop-Dummy-before-Notify inf: Dummy:stop MailTo:stop symmetrical=false > > Regards, > Andreas > >> >>> If also Dummy would be stopped first, it would be possible to place a >>> specific down messag into the stop procedure of Dummy and picking it up >>> again with MailTo >>> >>> regards Uwe >>> >>> >>> _______________________________________________ >>> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org >>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker >>> >>> Project Home: http://www.clusterlabs.org >>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf >>> Bugs: >>> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker >>> >>> >> >> _______________________________________________ >> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org >> http://oss.clusterlabs.org/mailman/listinfo/pacemaker >> >> Project Home: http://www.clusterlabs.org >> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf >> Bugs: >> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker > > > > _______________________________________________ > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: > http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker > > _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker