<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Pacemaker configuration. cibadmin -Ql<br><br>Sent from a mobile device</div><div><br>On 29/08/2013, at 7:02 PM, Moturi Upendra &lt;<a href="mailto:moturi.upendra@gmail.com">moturi.upendra@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Hi,<div><br></div><div>here it is</div><div><br></div><div><div>&lt;cluster config_version="8" name="pacemaker1"&gt;</div><div>&nbsp; &lt;fence_daemon/&gt;</div><div>&nbsp; &lt;clusternodes&gt;</div>
<div>&nbsp; &nbsp; &lt;clusternode name="node1" nodeid="1"&gt;</div><div>&nbsp; &nbsp; &nbsp; &lt;fence&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;method name="pcmk-redirect"&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;device name="pcmk" port="node1"/&gt;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/method&gt;</div><div>&nbsp; &nbsp; &nbsp; &lt;/fence&gt;</div><div>&nbsp; &nbsp; &lt;/clusternode&gt;</div><div>&nbsp; &nbsp; &lt;clusternode name="node2" nodeid="2"&gt;</div><div>&nbsp; &nbsp; &nbsp; &lt;fence&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;method name="pcmk-redirect"&gt;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;device name="pcmk" port="node2"/&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/method&gt;</div><div>&nbsp; &nbsp; &nbsp; &lt;/fence&gt;</div><div>&nbsp; &nbsp; &lt;/clusternode&gt;</div><div>&nbsp; &lt;/clusternodes&gt;</div><div>&nbsp; &lt;cman transport="udpu"&gt;</div>
<div>&nbsp; &lt;/cman&gt;</div><div>&nbsp; &lt;fencedevices&gt;</div><div>&nbsp; &nbsp; &lt;fencedevice agent="fence_pcmk" name="pcmk"/&gt;</div><div>&nbsp; &lt;/fencedevices&gt;</div><div>&nbsp; &lt;rm&gt;</div><div>&nbsp; &nbsp; &lt;failoverdomains/&gt;</div>
<div>&nbsp; &nbsp; &lt;resources/&gt;</div><div>&nbsp; &lt;/rm&gt;</div><div>&lt;/cluster&gt;</div></div><div><br></div><div><br></div><div>Just executed those steps in the document.</div><div><br></div><div>Thanks</div><div>Upendra</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 29, 2013 at 2:59 AM, Andrew Beekhof <span dir="ltr">&lt;<a href="mailto:andrew@beekhof.net" target="_blank">andrew@beekhof.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
On 28/08/2013, at 8:18 PM, Moturi Upendra &lt;<a href="mailto:moturi.upendra@gmail.com">moturi.upendra@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Thank's for the reply,<br>
&gt; but as per doc it says that it has to move to different node<br>
<br>
</div>Can you show your configuration please?<br>
<div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt; From the document:<br>
&gt;<br>
&gt; Simulate a Service Failure<br>
&gt;<br>
&gt; We can simulate an error by telling the service to stop directly (without telling the cluster):<br>
&gt;<br>
&gt; [ONE] # crm_resource --resource my_first_svc --force-stop<br>
&gt;<br>
&gt; If you now run crm_mon in interactive mode (the default), you should see (within the monitor interval - 2 minutes) the cluster notice that my_first_svc failed and move it to another node.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; thanks<br>
&gt;<br>
&gt; Upendra<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Aug 28, 2013 at 3:51 AM, Andrew Beekhof &lt;<a href="mailto:andrew@beekhof.net">andrew@beekhof.net</a>&gt; wrote:<br>
&gt;<br>
&gt; On 28/08/2013, at 12:12 AM, Moturi Upendra &lt;<a href="mailto:moturi.upendra@gmail.com">moturi.upendra@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; I followed your article in setting up 2-node cluster with pacemaker on redhat 6.4<br>
&gt; &gt; <a href="http://clusterlabs.org/quickstart-redhat.html" target="_blank">http://clusterlabs.org/quickstart-redhat.html</a><br>
&gt; &gt;<br>
&gt; &gt; I just executed the same steps you have mentioned in document.<br>
&gt; &gt; When i am trying to test failure condition to start the dummy agent on node2 ,it throws an error saying the<br>
&gt; &gt; "my_first_svc_monitor_30000 (node=node1, call=76, rc=7, status=complete): not running"<br>
&gt; &gt;<br>
&gt; &gt; Please help in understanding the error.<br>
&gt;<br>
&gt; Thats the cluster detecting the resource was stopped - which is expected since you stopped it.<br>
&gt;<br>
<br>
</div></div></blockquote></div><br></div>
</div></blockquote></body></html>