Hi,

On Thu, Apr 21, 2011 at 01:38:01PM +0000, Stallmann, Andreas wrote:
> Hi!
> 
> I tried to compare a value returned by ping(d) to a value given in a location 
> contrain:
> 
> location only-if-connected nag_grp \
>         rule $id="only-if-connected-rule" -inf: not_defined pingd or pingd 
> lte 2000
> 
> I thought, lte stands for "[l]ess [t]h[e]n". That's obviously wrong, because 
> when I shut down one of my ping nodes (each with a multiplicator of 1000), 
> the value of ping(d) becomes 2000 and my resource "nag_grp" stops. Does "lte" 
> really stand for "[l]ess [t]hen or  [e]qual"?

Yes. Try lt for less then.

> I don't find any documentation of the possible operators in location 
> constraints. Could anyone point me to the fine manual? :)

It should be in the Pacemaker Explained document.

Thanks,

Dejan

> 
> Thanks,
> 
> Andreas
> 
> ------------------------
> CONET Solutions GmbH, Theodor-Heuss-Allee 19, 53773 Hennef.
> Registergericht/Registration Court: Amtsgericht Siegburg (HRB Nr. 9136)
> Gesch?ftsf?hrer/Managing Directors: J?rgen Zender (Sprecher/Chairman), Anke 
> H?fer
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to