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.<div>
Also is it possible to fence a node only when fail-count of a resource reaces a certain number?</div><div><br></div><div>Regards,</div><div><br></div><div>Marko<br><br><div class="gmail_quote">On Wed, Dec 8, 2010 at 1:29 PM, Pavlos Parissis <span dir="ltr"><<a href="mailto:pavlos.parissis@gmail.com">pavlos.parissis@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On 8 December 2010 10:50, Marko Potocnik <<a href="mailto:marko.potocnik@gmail.com">marko.potocnik@gmail.com</a>> wrote:<br>
> Hi,<br>
> is it possible to configure pacemaker to reboot host machine when a service<br>
> pacemaker monitors fails (or migration-threshold) for the service is<br>
> reached?<br>
> Service could be Virtual Machine or ordinary service (apache, database, ...)<br>
> Regards,<br>
> Marko<br>
<br>
</div></div>set on-fail parameter for monitor operation to fence, have a look here<br>
<a href="http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-resource-operations.html" target="_blank">http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-resource-operations.html</a><br>
<br>
Cheers,<br>
Pavlos<br>
<br>
_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
</blockquote></div><br></div>