[Linux-cluster] rgmanager ignoring monitor action for a custom resource script

Lon Hohberger lhh at redhat.com
Tue Aug 18 21:58:42 UTC 2009


On Mon, 2009-08-10 at 19:11 +0200, brem belguebli wrote:
> Hi,
>  
> I have written a custom resource script that starts,  stops and
> "meta-data" 's with the correct return  value (no error).
>  
> Everything seems to work fine except the fact that rgmanager
> never runs the custom monitor action defined in my resource metadata.
>  
> I have lowered the interval value for monitor action to 10 (  are the
> interval and timeout units in seconds by default ?) but nothing
> happens.
>  
> I have added a trace to the monitor case of my resource script that
> ocf_log debug "monitor started at `date +%H:%M:%S`" but it never gets
> there:

Change "monitor" to "status|monitor" and add "status" to the metadata.

-- Lon




More information about the Linux-cluster mailing list