>>> Ben Clewett <[EMAIL PROTECTED]> 24.08.2007 10:33 >>>
> I hope this a useful suggestion.  I based my own custom script on this 
> simple and well written example:
> 
> /etc/ha.d/resource.d/drbddisk
> 
> This shows the expected input and expected outputs, and is so short it 
> makes an excellent template...

Hi,

if you write your own Resource Agent and you're working with HAv2 I would advice
to make an OCF compliant Resource Agent.

Look at
http://www.linux-ha.org/ResourceAgent 

http://www.linux-ha.org/OCFResourceAgent 

You can then test your RA with ocf-tester which should be part of the
distribution.

So, for an OCF compliant RA it's relevant to implement the "monitor"
operation.

A good starting point is the OCF compliant Dummy RA at
/usr/lib/ocf/resource.d/heartbeat/Dummy (or similar path).

Best regards
Andreas


_______________________________________________
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