Yan Fitterer wrote:
> What return code should an OCF RA return on a monitor operation when
> the service is "running but broken" (for ex. process present, but
> services not available)?
> 
> If the RA returns OCF_NOT_RUNNING, then will hb do a "stop" before
> any "start" when going from "unmanaged" to "managed" for example?
> 
> What about other situations (start cluster, etc...)? Will hb _always_
> do a "stop" before any "start" ?
> 
> If the RA returns OCF_ERR_GENERIC (or other error codes), then
> wouldn't this lead to "failed op", or some other situation where hb
> decides it cannot manage the resource anymore?

I'm pretty sure that monitor operations can fail any way they like.
Stop operations, on the other hand, can be problematic when they fail.


-- 
    Alan Robertson <[EMAIL PROTECTED]>

"Openness is the foundation and preservative of friendship...  Let me
claim from you at all times your undisguised opinions." - William
Wilberforce
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to