On Mon, 2009-01-26 at 11:06 +0100, Michael Schwartzkopff wrote:

> > Now I'm not sure if I still need a monitor operation. Does the ocf
> > script monitoring automatically?
> No.
> 
> > With a lsb script I always added a status operation. So do I have to add
> > a monitor operation now?
> Yes. heartbeat is even that clever, that it understand a monitor operation 
> for 
> lsb and calls the RA with status.
> 
> > What about the ocf script for mysql? I've put a test user and password
> > there, do I still need to add an operation?
> Yes. Only operations do update the status in heartbeat. If heartbeat does not 
> get the idea that a resource failed it cannot react.
> On the other hand: A failed monitor operation tells heartbeat to do something 
> with that resource, i.e. restart, fence, ... This reaction is up to your 
> config.

Thanks for the clarifications. I'm going to add some monitor operations
then :)


_______________________________________________
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