[Pacemaker] IPaddr2 started but "not working"

Francesco Namuri f.namuri at credires.it
Mon Oct 28 10:15:07 UTC 2013


Il 28/10/2013 10.38, Michael Schwartzkopff ha scritto:
> Am Montag, 28. Oktober 2013, 10:25:47 schrieb Francesco Namuri:
>> Hi Lars,
>>
>> Il 28/10/2013 09.56, Lars Marowsky-Bree ha scritto:
>>> On 2013-10-28T09:38:34, Francesco Namuri <f.namuri at credires.it> wrote:
>>>> Hi,
>>>> I've a problem with a IPaddr2 resource, it appears to be started
>>>> correctly and it works for a while, but after it appears "to be hanged",
>>>> it doesn't work until I send it a restart.
>>>> Does anyone has experienced similar issue?
>>> You're running it in cluster-ip mode; why?
>> Is that question related to the cluster-ip parameter?
>> I removed it from the cluster ip of the WLAN...
>>
>>>> --code--
>>>> primitive cluster_ip_wlan ocf:heartbeat:IPaddr2 \
>>>>
>>>>         params ip="172.16.15.254" cidr_netmask="32"
>>>>
>>>> clusterip_hash="sourceip-sourceport" \
>>>>
>>>>         op monitor interval="10s" \
>>>>         meta target-role="Started"
>>>>
>>>> --------
>>> I'd suggest to drop the "clusterip_hash" parameter, unless you're also
>>> running it as a clone. (In which case seeing your full configuration
>>> would be needed.)
>> I put the "clusterip_hash" option, thinking that it could help to avoid
>> dropping established connections when I switch from one node to the other.
>> I followed a howto, but I'm really not sure about that.
> No. I will not preserve connections from one node to the other.
> If you are not sure, do not configure it.
> If you don't know what it does, do not configure it.

It's always a good advice :)
I remove it from all the configuration.
Is there a method to avoid dropping connection when I switched from a
node to another?

Thanks for all you answers, and sorry for my dumb question, I'm really a
newbie with clusters... :)

Best regards,
Francesco





More information about the Pacemaker mailing list