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.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

Reply via email to