[Pacemaker] Fwd: virtual IP
Shravan Mishra
shravan.mishra at gmail.com
Sat Nov 21 22:19:44 UTC 2009
Thanks Tim, that was the problem.
Thanks to everyone who replied to help me.
-Shravan
On Fri, Nov 20, 2009 at 9:36 PM, Tim Serong <tserong at novell.com> wrote:
> On 11/21/2009 at 06:25 AM, Shravan Mishra <shravan.mishra at 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 <tserong at novell.com>
> Senior Clustering Engineer, Novell Inc.
>
>
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
More information about the Pacemaker
mailing list