<br><div class="gmail_quote">On 1 November 2010 15:01, Rick Cone <span dir="ltr"><<a href="mailto:rcone@securepaymentsystems.com" target="_blank">rcone@securepaymentsystems.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dejan,<br>
<br>
Below I had:<br>
<div><br>
primitive res_stonith stonith:apcmastersnmp \<br>
params ipaddr="192.1.1.109" port="161" community="sps" \<br>
op start interval="0" timeout="60s" \<br>
op monitor interval="60s" timeout="60s" \<br>
</div><div> op stop interval="0" timeout="60s"<br>
clone rc_res_stonith res_stonith \<br>
meta target-role="Started"<br>
<br>
</div>And you commented:<br>
<div><br>
You can also use a single instance setup, i.e. without clones.<br>
<br>
</div>What is this "single instance setup", and what would it look like in the crm<br>
configure?</blockquote><div><br></div><div>You have one already, res_stonith is your single instance setup.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What are the pros/cons to this compared to the clone setup I<br>
have?<br></blockquote><div><br></div><div>The decision of cloned or non-cloned stonith resource is mainly driven about the ability of the fencing device to accept<span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"> multiple connections simultaneously</span>.</div>
<div>If you fencing device doesn't allow that then you can only use a non-cloned resource.</div><div>The cloned resource will fence a node a bit faster in a case stonith resource is running on the node to be fenced, there is no need to move the resource to another node and then fence the node.</div>
<div>But, cloned resource is has a bit more complex configuration. cloning looks easy but I bet there is some complexity behind it.</div><div><br></div><div>I have experiment with both versions on AP9606 using the rackpdu agent and in both cases worked as expected. Now I am expecting a <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Aviosys 9258ST and I will use the non-cloned version.</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">My 2 cents,</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Pavlos</span></div></div>