On Tue, Dec 21, 2010 at 8:55 AM, Marko Potocnik <marko.potoc...@gmail.com> wrote: > setting on-fail parameter does nothing. I still have to define a stonith > agent and enable stonih.
correct, on-fail simply triggers the normal fencing process. > I'm a little lost here. I don't know which stonith > agent to use and I don't have any real stonih device. That would be your problem > I think I don't really > need one, since I just want to reboot a node when a service fails. Reliably turning off a node is the entire job description of stonith. > Also is it possible to fence a node only when fail-count of a resource > reaces a certain number? Not currently. > Regards, > Marko > > On Wed, Dec 8, 2010 at 1:29 PM, Pavlos Parissis <pavlos.paris...@gmail.com> > wrote: >> >> On 8 December 2010 10:50, Marko Potocnik <marko.potoc...@gmail.com> wrote: >> > Hi, >> > is it possible to configure pacemaker to reboot host machine when a >> > service >> > pacemaker monitors fails (or migration-threshold) for the service is >> > reached? >> > Service could be Virtual Machine or ordinary service (apache, database, >> > ...) >> > Regards, >> > Marko >> >> set on-fail parameter for monitor operation to fence, have a look here >> >> http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-resource-operations.html >> >> Cheers, >> Pavlos >> >> _______________________________________________ >> 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