[Pacemaker] Reboot host when service fails

Marko Potocnik marko.potocnik at gmail.com
Tue Dec 21 07:55:16 UTC 2010


setting on-fail parameter does nothing. I still have to define a stonith
agent and enable stonih. I'm a little lost here. I don't know which stonith
agent to use and I don't have any real stonih device. I think I don't really
need one, since I just want to reboot a node when a service fails.
Also is it possible to fence a node only when fail-count of a resource
reaces a certain number?

Regards,

Marko

On Wed, Dec 8, 2010 at 1:29 PM, Pavlos Parissis
<pavlos.parissis at gmail.com>wrote:

> On 8 December 2010 10:50, Marko Potocnik <marko.potocnik at 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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20101221/7a0d91be/attachment-0002.htm>


More information about the Pacemaker mailing list