[Pacemaker] Switching a Resource based on connectivity (ping)
tariq fillah
tariqfcb at gmail.com
Tue Mar 22 21:30:40 UTC 2011
Hello,
After adding the ping resource I have the following messages:
[root at BACKEND2 user]# crm configure primitive ping ocf:pacemaker:ping op
monitor timeout="20" interval="10" params host_list="10.76.44.1"
multiplier=1000
expr: division by zero
expr: syntax error
/usr/lib/ocf/resource.d/pacemaker/ping: line 262: [: -lt: unary operator
expected
/usr/lib/ocf/resource.d/pacemaker/ping: line 264: [: -gt: unary operator
expected
WARNING: ping: default timeout 20s for start is smaller than the advised 60
WARNING: ping: specified timeout 20 for monitor_0 is smaller than the
advised 60
Is this the reason why it doesn't work?? And how is it possible to avoid it.
Thanks so much
2011/3/22 tariq fillah <tariqfcb at gmail.com>
> I didn't disconnect the node from the cluster, I just disconnected the node
> from the network (which is ensured by a bond), but the cluster layer is
> still there.
> Which log file exactly with you like me to show you
>
> Thank you very much for your replys
>
>
> 2011/3/22 Pavel Levshin <pavel at levshin.spb.ru>
>
>>
>> 22.03.2011 21:53, tariq fillah:
>>
>> Hello Pavel,
>>>
>>> Thank you for your help.
>>>
>>> I tried what you told me, but it doesn't seem to work, when I take off
>>> both networks layers (for the bond), the resource doesn't migrate.
>>>
>>>
>> Did you disconnect the node from the cluster, taking all network down? If
>> so, it is completely different matter. Ping check is not suitable for this
>> case.
>>
>> Diagnosis would be possible, if you showed complete config and logs.
>>
>>
>> --
>> Pavel Levshin
>>
>>
>>
>> _______________________________________________
>> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>
>> Project Home: http://www.clusterlabs.org
>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>> Bugs:
>> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110322/209ef697/attachment.htm>
More information about the Pacemaker
mailing list