<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 <<a href="mailto:moturi.upendra@gmail.com">moturi.upendra@gmail.com</a>> 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><cluster config_version="8" name="pacemaker1"></div><div> <fence_daemon/></div><div> <clusternodes></div>
<div> <clusternode name="node1" nodeid="1"></div><div> <fence></div><div> <method name="pcmk-redirect"></div><div> <device name="pcmk" port="node1"/></div>
<div> </method></div><div> </fence></div><div> </clusternode></div><div> <clusternode name="node2" nodeid="2"></div><div> <fence></div><div> <method name="pcmk-redirect"></div>
<div> <device name="pcmk" port="node2"/></div><div> </method></div><div> </fence></div><div> </clusternode></div><div> </clusternodes></div><div> <cman transport="udpu"></div>
<div> </cman></div><div> <fencedevices></div><div> <fencedevice agent="fence_pcmk" name="pcmk"/></div><div> </fencedevices></div><div> <rm></div><div> <failoverdomains/></div>
<div> <resources/></div><div> </rm></div><div></cluster></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"><<a href="mailto:andrew@beekhof.net" target="_blank">andrew@beekhof.net</a>></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 <<a href="mailto:moturi.upendra@gmail.com">moturi.upendra@gmail.com</a>> wrote:<br>
<br>
> Thank's for the reply,<br>
> 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>
><br>
> From the document:<br>
><br>
> Simulate a Service Failure<br>
><br>
> We can simulate an error by telling the service to stop directly (without telling the cluster):<br>
><br>
> [ONE] # crm_resource --resource my_first_svc --force-stop<br>
><br>
> 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>
><br>
><br>
><br>
> thanks<br>
><br>
> Upendra<br>
><br>
><br>
><br>
> On Wed, Aug 28, 2013 at 3:51 AM, Andrew Beekhof <<a href="mailto:andrew@beekhof.net">andrew@beekhof.net</a>> wrote:<br>
><br>
> On 28/08/2013, at 12:12 AM, Moturi Upendra <<a href="mailto:moturi.upendra@gmail.com">moturi.upendra@gmail.com</a>> wrote:<br>
><br>
> > Hi,<br>
> ><br>
> > I followed your article in setting up 2-node cluster with pacemaker on redhat 6.4<br>
> > <a href="http://clusterlabs.org/quickstart-redhat.html" target="_blank">http://clusterlabs.org/quickstart-redhat.html</a><br>
> ><br>
> > I just executed the same steps you have mentioned in document.<br>
> > When i am trying to test failure condition to start the dummy agent on node2 ,it throws an error saying the<br>
> > "my_first_svc_monitor_30000 (node=node1, call=76, rc=7, status=complete): not running"<br>
> ><br>
> > Please help in understanding the error.<br>
><br>
> Thats the cluster detecting the resource was stopped - which is expected since you stopped it.<br>
><br>
<br>
</div></div></blockquote></div><br></div>
</div></blockquote></body></html>