I'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:
================================================================= # vim /etc/sysctl.conf /* Add the line below to enable a shared / virtual IP */ net.ipv4.ip_nonlocal_bind=1 # sysctl -p /* to update the your system with the new configuration */ # ping <the virtual IP> /* this should give you a response */ ================================================================= I got this from: http://howtoforge.net/comment/reply/2739 I hope it helps On Sat, Nov 21, 2009 at 4:36 AM, Tim Serong <tser...@novell.com> wrote: > On 11/21/2009 at 06:25 AM, Shravan Mishra <shravan.mis...@gmail.com> > wrote: > > This is my exact output: > > > > ============ > > Last updated: Fri Nov 20 18:20:51 2009 > > Stack: openais > > Current DC: node1.itactics.com - partition with quorum > > Version: 1.0.5-9e9faaab40f3f97e3c0d623e4a4c47ed83fa1601 > > 2 Nodes configured, 2 expected votes > > 4 Resources configured. > > ============ > > > > Online: [ node1.itactics.com node2.itactics.com ] > > > > Master/Slave Set: ms-drbd > > Masters: [ node1.itactics.com ] > > Slaves: [ node2.itactics.com ] > > node1.itactics.com-stonith (stonith:external/safe/ipmi): > > Started node2.itactics.com > > node2.itactics.com-stonith (stonith:external/safe/ipmi): > > Started node1.itactics.com > > Resource Group: svcs_grp > > fs0 (ocf::heartbeat:Filesystem): Started node1.itactics.com > > safe_svcs (ocf::itactics:safe): Started node1.itactics.com > > vip (ocf::heartbeat:IPaddr2): Stopped > > > > Failed actions: > > vip_monitor_0 (node=node1.itactics.com, call=7, rc=2, > > status=complete): invalid parameter > > vip_monitor_0 (node=node2.itactics.com, call=7, rc=2, > > status=complete): invalid parameter > > > > > > The config this time I tried was > > > > > > <primitive id="vip" class="ocf" type="IPaddr2" provider="heartbeat"> > > <operations> > > <op id="op-vip-1" name="monitor" timeout="30s" > interval="10s"/> > > </operations> > > <instance_attributes id="ia-vip"> > > <nvpair id="vip-addr" name="ip" value="172.30.0.17 "/> > > <nvpair id="vip-intf" name="nic" value="eth1"/> > > <nvpair id="vip-bcast" name="broadcast" > value="172.30.255.255"/> > > <nvpair id="vip-cidr_netmask" name="cidr_netmask" > value="16"/> > > </instance_attributes> > > </primitive> > > > > > > > > Can somebody help me what's the problem here. > > You're probably suffering from > https://bugzilla.novell.com/show_bug.cgi?id=553753 which is fixed by > http://hg.linux-ha.org/agents/rev/5d341d5dc96a > > Try explicitly adding the parameter clusterip_hash="sourceip-sourceport" to > the IP address. This will add something like the following to the > instance_attributes: > > <nvpair id="vip-clusterip_hash" name="clusterip_hash" > value="sourceip-sourceport"/> > > Regards, > > Tim > > > -- > Tim Serong <tser...@novell.com> > Senior Clustering Engineer, Novell Inc. > > > > > _______________________________________________ > Pacemaker mailing list > Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > -- All the best, Angie
_______________________________________________ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker