Hi,

On Wed, Nov 28, 2007 at 10:38:59AM -0800, Bill Eaton wrote:
> On another thread () I've been trying to figure out how to get pingd to play
> nicely with hb_gui. One of the difficulties of this task is understanding
> what kind of information pingd provides. Judging from the examples on the
> pingd web page, the possible return values are something like
>    defined
>    not_defined
>    <value>

There are not exactly return values. The pingd program, which is
either managed by the pingd RA or using the ha.cf respawn
directive, just creates an attribute in the status section of the
CIB. The value of that attribute depends on the number of nodes
it was able to ping (n*multiplier).

> What do these mean? More importantly what does <value> mean? The first two
> cannot be used with the gui because it will not accept the "defined" or
> "not_defined" operator without also entering a value. And it seems that if
> you enter a value (e.g. " " or "true") in the gui, heartbeat does not like
> it.

Hmm, not an expert on GUI, but shouldn't you here enter the
attribute name for the <value> (typically pingd).

> So then we're left with trying to use <value> for a failover trigger. I'm
> trying to figure out how to combine a location constraint with a pingd clone
> monitor to get things to failover. Possible on_fail actions are
>    ignore
>    block
>    stop
>    restart
>    fence
> It's a little unclear what these mean in the context of a clone and I'm not
> sure which one to use along with a pingd location constraint based on
> <value>

The pingd clone is not important, it just serves to manage the
pingd program. The pingd program does all the work. Don't
reference that cloned resource in constraints. Just reference the
attribute which pingd inserted in the status section (using
score_attribute instead of score).

> Any thoughts?

Hope that this helps.
I suppose that you checked http://linux-ha.org/pingd

Thanks,

Dejan

> Thanks in advance,
> 
> Bill Eaton
> 
> 
> 
> _______________________________________________
> 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