Re: rgmanager ignoring monitor action for a custom resource script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux