[Linux-ha-dev] Resource Agent DTD

Andrew lists at beekhof.homeip.net
Wed Jul 21 15:07:09 MDT 2004


Hi All,

I've been looking at  
http://www.opencf.org/cgi-bin/viewcvs.cgi/specs/ra/ra-api-1.dtd? 
rev=1.3&content-type=text/vnd.viewcvs-markup and a couple of things  
have occurred to me...


First up,  why do we have version twice?  I checked the example and  
though I see the different values, I still dont understand the point.

<!ELEMENT resource-agent (version,parameters,actions,special) >
<!ATTLIST resource-agent
         name    CDATA   #REQUIRED
         version CDATA   #IMPLIED>


Why is the list of allowed actions fixed like this?  I would have  
thought an RA can define as many extra actions as it liked.  Take  
STONITH where we need a "fence" action.

<!ELEMENT action EMPTY>
<!ATTLIST action
         name    (start|stop|recover|status|reload|meta-data|verify-all)  
#REQUIRED
         timeout         CDATA   #REQUIRED
         interval        CDATA   #IMPLIED
         start-delay     CDATA   #IMPLIED
         depth           CDATA   #IMPLIED>



How are the contents of the <special> tag passed around?  Does the LRM  
or CRM need to care about them?

Um, thats probably it for now...

Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1269 bytes
Desc: not available
Url : http://lists.community.tummy.com/pipermail/linux-ha-dev/attachments/20040721/92d7747a/attachment.bin


More information about the Linux-HA-Dev mailing list