<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi,<br><br>Has any one here come across this issue?.<br><br>--- On <b>Wed, 17/8/11, ihjaz Mohamed <i><ihjazmohamed@yahoo.co.in></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: ihjaz Mohamed <ihjazmohamed@yahoo.co.in><br>Subject: [Pacemaker] How to prevent a node that joins the cluster after reboot from starting the resources.<br>To: pacemaker@oss.clusterlabs.org<br>Date: Wednesday, 17 August, 2011, 12:23 PM<br><br><div id="yiv1060234833"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top"><div id="yiv1060234833"><table id="yiv1060234833bodyDrftID" class="yiv1060234833" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td id="yiv1060234833drftMsgContent" style="font-style: inherit; font-variant: inherit; font-weight:
inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; font-family: arial; font-size: 10pt;"><span class="yiv1060234833ul-threaded" style="margin: 1em 0pt 0pt;"><span class="yiv1060234833connect "><span id="yiv1060234833li1" class="yiv1060234833li-threaded"><span class="yiv1060234833threaded"><span style="border-left-width: 3px;" class="yiv1060234833no-bg-color yiv1060234833post-border yiv1060234833post-middle"><span id="yiv1060234833post32218739" style="display: block;">Hi All,
<br><br>Am getting an unmanaged error as shown below when one of the node is rebooted
and comes back to join the cluster. <br><br><i>Online: [ aceblr101.com aceblr107.com ]
<br><br> Resource Group: HAService
<br> FloatingIP (ocf::heartbeat:IPaddr2): Started aceblr107.com (unmanaged) FAILED
<br> acestatus (lsb:acestatus): Stopped
<br> Clone Set: pingdclone
<br> Started: [ aceblr101.com aceblr107.com ]
<br><br>Failed actions:
<br> FloatingIP_stop_0 (node=aceblr107.com, call=7, rc=1, status=complete): unknown error<br></i></span></span></span></span></span></span><span class="yiv1060234833ul-threaded" style="margin: 1em 0pt 0pt;"><span class="yiv1060234833connect "><span id="yiv1060234833li1" class="yiv1060234833li-threaded"><span class="yiv1060234833threaded"><span style="border-left-width: 3px;" class="yiv1060234833no-bg-color yiv1060234833post-border yiv1060234833post-middle"><span id="yiv1060234833post32218739" style="display: block;"><span class="yiv1060234833ul-threaded" style="margin: 1em 0pt 0pt;"><span class="yiv1060234833connect "><span id="yiv1060234833li1" class="yiv1060234833li-threaded"><span class="yiv1060234833threaded"><span style="border-left-width: 3px;" class="yiv1060234833no-bg-color yiv1060234833post-border yiv1060234833post-middle"><span id="yiv1060234833post32218739" style="display: block;">Below is my configuration<span style="font-style:
italic;">:</span></span></span></span></span></span></span><i><span class="yiv1060234833ul-threaded" style="margin: 1em 0pt 0pt;"><span class="yiv1060234833connect "><span id="yiv1060234833li1" class="yiv1060234833li-threaded"><span class="yiv1060234833threaded"><span style="border-left-width: 3px;" class="yiv1060234833no-bg-color yiv1060234833post-border yiv1060234833post-middle"><span id="yiv1060234833post32218739" style="display: block;">node $id="8bf8e613-f63c-43a6-8915-4b2dbf72a4a5" aceblr101.com
<br>node $id="bde62a1f-0f29-4357-a988-0e26bb06c4fb" aceblr107.com
<br>primitive FloatingIP ocf:heartbeat:IPaddr2 \
<br> params ip="xx.xxx.xxx.xxx" nic="eth0:0"
<br>primitive acestatus lsb:acestatus \
<br> op start interval="30"
<br>primitive pingd ocf:pacemaker:pingd \
<br> params host_list="xx.xxx.xxx.1" multiplier="100" \
<br> op monitor interval="15s" timeout="5s"
<br>group HAService FloatingIP acestatus \
<br> meta target-role="Started"
<br>clone pingdclone pingd \
<br> meta globally-unique="false"
<br>location ip1_location FloatingIP \
<br> rule $id="ip1_location-rule" pingd: defined pingd
<br>property $id="cib-bootstrap-options" \
<br> dc-version="1.0.11-1554a83db0d3c3e546cfd3aaff6af1184f79ee87" \
<br> cluster-infrastructure="Heartbeat" \
<br> expected-quorum-votes="2" \
<br> stonith-enabled="false" \
<br> no-quorum-policy="ignore" \
<br> last-lrm-refresh="1305736421"</span></span></span></span></span></span></i></span></span></span></span></span></span><span class="yiv1060234833ul-threaded" style="margin: 1em 0pt 0pt;"><span class="yiv1060234833connect "><span id="yiv1060234833li1" class="yiv1060234833li-threaded"><span class="yiv1060234833threaded"><span style="border-left-width: 3px;" class="yiv1060234833no-bg-color yiv1060234833post-border yiv1060234833post-middle"><span id="yiv1060234833post32218739" style="display: block;"><span class="yiv1060234833ul-threaded" style="margin: 1em 0pt 0pt;"><span class="yiv1060234833connect "><span id="yiv1060234833li1" class="yiv1060234833li-threaded"><span class="yiv1060234833threaded"><span style="border-left-width: 3px;" class="yiv1060234833no-bg-color yiv1060234833post-border yiv1060234833post-middle"><span id="yiv1060234833post32218739" style="display: block;"><span class="yiv1060234833ul-threaded" style="margin:
1em 0pt 0pt;"><span class="yiv1060234833connect "><span id="yiv1060234833li3" class="yiv1060234833li-threaded"><span class="yiv1060234833threaded"><span style="border-left-width: 3px;" class="yiv1060234833no-bg-color yiv1060234833post-border yiv1060234833post-middle"><span id="yiv1060234833post32247566" style="display: block;">I
see from the logs that when the rebooted node comes back and joins the
cluster, the resources on that node is getting started even though the
resources are started on the existing node.
<br><br>When resources on both nodes are started it tries to stop it on one of the node which fails and goes to unmanaged mode.
<br><br>Could anyone help me on how I should configure so that the
resources are not started on the new node that joins the cluster after a
reboot when it is already started on the existing node.<br></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></td></tr></tbody></table></div></td></tr></tbody></table></div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>Pacemaker mailing list: <a ymailto="mailto:Pacemaker@oss.clusterlabs.org" href="/mc/compose?to=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>Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>Bugs: <a
href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br></div></blockquote></td></tr></table>