<div dir="ltr"><div>I&#39;m not sure this would fix your problem but you should enable virtual IPs on your nodes in the first place.. The following is to be done on both nodes:</div>
<div> </div>
<div>=================================================================</div>
<div># vim /etc/sysctl.conf                /* Add the line below to enable a shared / virtual IP */</div>
<div>net.ipv4.ip_nonlocal_bind=1<br><br># sysctl -p                               /* to update the your system with the new configuration */</div>
<div> </div>
<div># ping &lt;the virtual IP&gt;               /* this should give you a response */</div>
<div>=================================================================</div>
<div> </div>
<div>I got this from:</div>
<div><a href="http://howtoforge.net/comment/reply/2739">http://howtoforge.net/comment/reply/2739</a></div>
<div> </div>
<div>I hope it helps</div>
<div> </div>
<div class="gmail_quote">On Sat, Nov 21, 2009 at 4:36 AM, Tim Serong <span dir="ltr">&lt;<a href="mailto:tserong@novell.com">tserong@novell.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div class="h5">On 11/21/2009 at 06:25 AM, Shravan Mishra &lt;<a href="mailto:shravan.mishra@gmail.com">shravan.mishra@gmail.com</a>&gt; wrote:<br>&gt; This is my exact output:<br>&gt;<br>&gt; ============<br>&gt; Last updated: Fri Nov 20 18:20:51 2009<br>
&gt; Stack: openais<br>&gt; Current DC: <a href="http://node1.itactics.com/" target="_blank">node1.itactics.com</a> - partition with quorum<br>&gt; Version: 1.0.5-9e9faaab40f3f97e3c0d623e4a4c47ed83fa1601<br>&gt; 2 Nodes configured, 2 expected votes<br>
&gt; 4 Resources configured.<br>&gt; ============<br>&gt;<br>&gt; Online: [ <a href="http://node1.itactics.com/" target="_blank">node1.itactics.com</a> <a href="http://node2.itactics.com/" target="_blank">node2.itactics.com</a> ]<br>
&gt;<br>&gt; Master/Slave Set: ms-drbd<br>&gt;         Masters: [ <a href="http://node1.itactics.com/" target="_blank">node1.itactics.com</a> ]<br>&gt;         Slaves: [ <a href="http://node2.itactics.com/" target="_blank">node2.itactics.com</a> ]<br>
&gt; node1.itactics.com-stonith      (stonith:external/safe/ipmi):<br>&gt; Started <a href="http://node2.itactics.com/" target="_blank">node2.itactics.com</a><br>&gt; node2.itactics.com-stonith      (stonith:external/safe/ipmi):<br>
&gt; Started <a href="http://node1.itactics.com/" target="_blank">node1.itactics.com</a><br>&gt; Resource Group: svcs_grp<br>&gt;     fs0 (ocf::heartbeat:Filesystem):    Started <a href="http://node1.itactics.com/" target="_blank">node1.itactics.com</a><br>
&gt;     safe_svcs   (ocf::itactics:safe):   Started <a href="http://node1.itactics.com/" target="_blank">node1.itactics.com</a><br>&gt;     vip (ocf::heartbeat:IPaddr2):       Stopped<br>&gt;<br>&gt; Failed actions:<br>&gt;     vip_monitor_0 (node=<a href="http://node1.itactics.com/" target="_blank">node1.itactics.com</a>, call=7, rc=2,<br>
&gt; status=complete): invalid parameter<br>&gt;     vip_monitor_0 (node=<a href="http://node2.itactics.com/" target="_blank">node2.itactics.com</a>, call=7, rc=2,<br>&gt; status=complete): invalid parameter<br>&gt;<br>&gt;<br>
&gt; The config this time I tried was<br>&gt;<br>&gt;<br>&gt;     &lt;primitive id=&quot;vip&quot; class=&quot;ocf&quot; type=&quot;IPaddr2&quot; provider=&quot;heartbeat&quot;&gt;<br>&gt;           &lt;operations&gt;<br>
&gt;             &lt;op id=&quot;op-vip-1&quot; name=&quot;monitor&quot; timeout=&quot;30s&quot; interval=&quot;10s&quot;/&gt;<br>&gt;           &lt;/operations&gt;<br>&gt;           &lt;instance_attributes id=&quot;ia-vip&quot;&gt;<br>
&gt;             &lt;nvpair id=&quot;vip-addr&quot; name=&quot;ip&quot; value=&quot;172.30.0.17 &quot;/&gt;<br>&gt;             &lt;nvpair id=&quot;vip-intf&quot; name=&quot;nic&quot; value=&quot;eth1&quot;/&gt;<br>&gt;             &lt;nvpair id=&quot;vip-bcast&quot; name=&quot;broadcast&quot; value=&quot;172.30.255.255&quot;/&gt;<br>
&gt;             &lt;nvpair id=&quot;vip-cidr_netmask&quot; name=&quot;cidr_netmask&quot; value=&quot;16&quot;/&gt;<br>&gt;           &lt;/instance_attributes&gt;<br>&gt;         &lt;/primitive&gt;<br>&gt;<br>&gt;<br>&gt;<br>
&gt; Can somebody help me what&#39;s the problem here.<br><br></div></div>You&#39;re probably suffering from <a href="https://bugzilla.novell.com/show_bug.cgi?id=553753" target="_blank">https://bugzilla.novell.com/show_bug.cgi?id=553753</a> which is fixed by <a href="http://hg.linux-ha.org/agents/rev/5d341d5dc96a" target="_blank">http://hg.linux-ha.org/agents/rev/5d341d5dc96a</a><br>
<br>Try explicitly adding the parameter clusterip_hash=&quot;sourceip-sourceport&quot; to the IP address.  This will add something like the following to the instance_attributes:<br><br> &lt;nvpair id=&quot;vip-clusterip_hash&quot; name=&quot;clusterip_hash&quot; value=&quot;sourceip-sourceport&quot;/&gt;<br>
<br>Regards,<br><br>Tim<br><font color="#888888"><br><br>--<br>Tim Serong &lt;<a href="mailto:tserong@novell.com">tserong@novell.com</a>&gt;<br>Senior Clustering Engineer, Novell Inc.<br></font>
<div>
<div></div>
<div class="h5"><br><br><br><br>_______________________________________________<br>Pacemaker mailing list<br><a href="mailto: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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>All the best,<br>Angie<br></div>