[Linux-HA] Short question about monitor operation
Tobias Appel
tappel at eso.org
Mon Jan 26 03:15:40 MST 2009
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 :)
More information about the Linux-HA
mailing list