[Linux-HA] pingd, GUI, CIB

Andrew Beekhof beekhof at gmail.com
Wed Nov 8 02:29:57 MST 2006


On 11/7/06, Andre van der Vlies <andre at vandervlies.xs4all.nl> wrote:
>
> Andreas Kurz wrote:
> > ..
> >>
> >> I guess the 'id' string is sort of free format.... What doe 'rsc' refer
> >> to?
> >> The 'pingd' resource that was 'cloned' earlier? Or the resource I am
> >> checking connectivity for????
> >
> > Id is free format, yes ... rsc in the location constraint refers to the
> > id of the resource you are checking connectivity for. Have you seen that
> > nice docu at http://www.linux-ha.org/v2/faq/pingd ?
> >
>
> Oh, YES! I did...
>
> >>
> >> And how do I set (from the GUI) this stuff:
> >>    score_attribute="default_ping_set" boolean_op="and"
> > hmm .. interesting question. I don't know if the GUI supports all
> > operations that are possible with the cmd line tools ... like cibadmin
> > crm_resource ...
> >>
>
> Right! But... When I do it 'by hand', crm_verify tells me:
>
> crm_verify[29078]: 2006/11/07_16:26:35 ERROR: main:crm_verify.c CIB did
> not pass DTD validation

what were the messages before this that tell you exactly why the
validation failed?

> crm_verify[29078]: 2006/11/07_16:26:35 WARN:
> generate_location_rule:allocate.c node gbaldbp01 did not have a value for
> ping_result
>
> I named the score_attribute 'ping_result'.... ()
>
> >
> > As long as the GUI does not support all features I think it's good
> > to know the cmdline tools ... a matter of taste ;-)
> >
>
> I'd rather use the CLI but that requires more reading ;-/
>
>
> Anyhow.... The thing I test connectivity for is an 'IPaddr' (the cluster
> IPno). I suppose I end up with two contraints. A preffered node and this
> ping stuff...
>
> I am still not sure about the ping stuff.... More over because
> 'crm_verify' complains...
>
> --
>                Andre van der Vlies <andre at vandervlies.xs4all.nl>
>                Certifiable UNIX engineer
>                Homepage: http://vandervlies.xs4all.nl/~andre
> Key fingerprint = 397C 7479 67DB 9306 23DC B423 7B58 CD5A 6EFF 5CF8
> --
>     "Programming isn't a craft, it's an art."
>     ()  ascii ribbon campaign - against html e-mail
>     /\                        - against microsoft attachments
>                               ^[^#]
> --
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>


More information about the Linux-HA mailing list