>>> Lars Marowsky-Bree <[email protected]> schrieb am 04.07.2011 um 15:11 in
Nachricht
<[email protected]>:
> On 2011-06-28T08:15:53, Ulrich Windl <[email protected]>
wrote:
> 
> > Hi!
> > 
> > The thing with XML and DTS seems to be a hard thing to manage: Reading the

> RA
> > specification draft by Mr. Marowsky-Brée, the DTD for the RA's metadata 
> should
> > be at http://www.opencf.org/standards/ra-api-1.dtd. However, there it
isn't.
> 
> We're currently discussing the spec and the problems with it on the
> Linux Foundation HA Working Group mailing list; I suggest to move this
> thread over.
> 
> > Finally the "resource-agent-api.txt" is actually a HTML file. With that
> > extension in place the browser refuses to treat the contents as HTML. Whom

> do
> > you wish to confuse by that?
> 
> Uhm, no, it is not; the file in my checked out copy is a txt file.
> Perhaps it got converted by the age-old CVS gateway; that site is no
> longer actively maintained, we're just now working on fixing that.
> 
> > (I'm about to write my first resource agent)

Hi Lars,

as I started to write the RA, I found that the draft specification (written by
you?) talks about a "monitor" action (section 3.4.3), while the DTD only knows
about a "status" action.

While talking about actions: I'd like to have a "self-test" action: That
action would check (independently of configured parameters) whether any of the
needed external programs were found, and whether they are compatible (emit the
expected output). I once wrote something similar for a multi-platform process
list parser...

Maybe the next spec should clearly point out whether "validate-all" is allowed
to activate any of the configured resources to validate (if so, one may not
validate while the resource is busy).


> 
> I think you'll prefer this:
> http://www.linux-ha.org/doc/dev-guides/ra-dev-guide.html 

OK, I'll have a look. Unfortunately I cannot download that as one piece.

Regards,
Ulrich

_______________________________________________
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