<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 9, 2009, at 1:03 PM, Romi Verma wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><br><div class="gmail_quote">On Mon, Feb 9, 2009 at 5:01 PM, Andrew Beekhof <span dir="ltr"><<a href="mailto:beekhof@gmail.com">beekhof@gmail.com</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;"> <div style=""><br><div><div class="Ih2E3d"><div>On Feb 9, 2009, at 12:25 PM, Romi Verma wrote:</div><br><blockquote type="cite"><br><br><div class="gmail_quote">On Mon, Feb 9, 2009 at 4:04 PM, Andrew Beekhof <span dir="ltr"><<a href="mailto:beekhof@gmail.com" target="_blank">beekhof@gmail.com</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;"> <div>On Feb 9, 2009, at 11:21 AM, Dejan Muhamedagic wrote:<br> <br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div> On Mon, Feb 09, 2009 at 03:09:40PM +0530, Romi Verma wrote:<br> </div><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <br> <br> sorry to interrupt in between. just one question from my side. if<br> no-quorum-policy is set to freeze then resource is not supposed to stop .<br> </blockquote> <br> right.<br> <br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> in<br> that case node will not be fenced right??<br> </blockquote> <br> no-quorum-policy has nothing to do with fencing.<br> </div></blockquote> <br> well, depending on what it's set to, it can prevent fencing (no-quorum-policy != ignore) or cause it to be initiated when quorum is lost (no-quorum-policy == suicide)<br> <br> but if you're using freeze, and a resource must stop for other reasons but fails to, then the node will not be shot (although it probably should be).</blockquote><div><br>Thanks Andrew,<br><br> in case of more then 2 nodes we cant use no-quorum-policy to "ignore" as we cant just ignore quourum. as you said in case of freeze node will not be fenced.</div> </div></blockquote><div><br></div></div><div>right, but thats a good thing.</div><div>It only applies if you have an even split (ie. 2-2) where no-one has quorum.</div><div>you only want to fence if you plan on taking over the other side's resources - which freeze wont do.</div> <div><br></div><div>if you get a 3-1 split, then the side that has quorum _will_ shoot the 1 node and take over its resources.</div></div></div></blockquote><div><br><br>ook wow, it means if i have set no-quorum-policy to "ignore" it can be used in more than 2 nodes also. <br> if it is 2-2 split then both partitons will try to stonith each other (.to get rid of this as you said we have to set stonith-action=powerfail or will not have to remove openais from startup service so that it cant get executed once the node comes up.)<br> <br>and if we get 3-1 spilit then automatically the partion having 3 nodes will stonith the 1 node.</div></div></blockquote><div><br></div><div>almost, if you use ignore, the 1 will also try to shoot the 3.</div><div><br></div><div>this is why freeze is safer, it:</div><div>* keeps running anything it can </div><div>* doesn't start anything belonging to the other partition unless it has quorum</div><div>* won't try to shoot the other side except if it has majority</div></div></body></html>