[Pacemaker] Switching a Resource based on connectivity (ping)
tariqfcb at gmail.com
Tue Mar 22 17:30:40 EDT 2011
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"
expr: division by zero
expr: syntax error
/usr/lib/ocf/resource.d/pacemaker/ping: line 262: [: -lt: unary operator
/usr/lib/ocf/resource.d/pacemaker/ping: line 264: [: -gt: unary operator
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
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
>> Diagnosis would be possible, if you showed complete config and logs.
>> Pavel Levshin
>> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>> Project Home: http://www.clusterlabs.org
>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pacemaker