Thanks Dejan,<br>it is really good info for me . one more question, suppose we are running a stonith as clone on four nodes cluster. if one nodes fails and it needs to be fenced then who will be elected among rest three nodes to fence this errant node. how this election happens. is there any priority for nodes also<br>
<br>Regards,<br><br><div class="gmail_quote">On Fri, Mar 6, 2009 at 6:26 PM, Dejan Muhamedagic <span dir="ltr"><<a href="mailto:dejanmm@fastmail.fm">dejanmm@fastmail.fm</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<div class="im"><br>
On Tue, Mar 03, 2009 at 11:07:18AM +0530, Romi Verma wrote:<br>
> Dejan please reply , how do we set priority??<br>
><br>
> On Tue, Feb 24, 2009 at 1:12 PM, Andrew Beekhof <<a href="mailto:beekhof@gmail.com">beekhof@gmail.com</a>> wrote:<br>
><br>
> > On Tue, Feb 24, 2009 at 06:38, Romi Verma <<a href="mailto:romi3rdfeb@gmail.com">romi3rdfeb@gmail.com</a>> wrote:<br>
> > > Thanks a lot Andrew for your reply,<br>
> > > i have another question on stonith. i have configured sbd stonith and<br>
> > riloe<br>
> > > stonith.  can i set the order of execution. say i want riloe to get<br>
> > executed<br>
> > > first and if it fails then sbd to get executed. should i set priority??<br>
> ><br>
> > I think you can, but dejan has the details on how<br>
<br>
</div>Set the priority attribute for the stonith resource (small<br>
integer). Resources with lower priority start earlier.<br>
<br>
This works only with pacemaker v1.x.<br>
<br>
Thanks,<br>
<font color="#888888"><br>
Dejan<br>
</font><div><div></div><div class="h5"><br>
> > > it seems to me that suse 11 follows "or" approach , like if one stonith<br>
> > > fails then only execute another stonith. is there any way to make it<br>
> > "and" ,<br>
> ><br>
> > no, thats generally a bad idea and results in worse reliability than a<br>
> > single device.<br>
> ><br>
><br>
> ><br>
> > > i mean to say even if first stonith pass , execute second also .<br>
> > >  you may feel that there is no need to to execute second stonith if first<br>
> > > was successful . But just for my curiosity i want to know is it possible<br>
> > or<br>
> > > not.<br>
> > ><br>
> > > Thanks again<br>
> > >><br>
> > >><br>
> > >> _______________________________________________<br>
> > >> Pacemaker mailing list<br>
> > >> <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>
> > ><br>
> > > _______________________________________________<br>
> > > Pacemaker mailing list<br>
> > > <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>
> > ><br>
> ><br>
> > _______________________________________________<br>
> > Pacemaker mailing list<br>
> > <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>
<br>
> _______________________________________________<br>
> Pacemaker mailing list<br>
> <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>
<br>
_______________________________________________<br>
Pacemaker mailing list<br>
<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>
</div></div></blockquote></div><br>