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

Re: [Linux-cluster] 2 node cluster w/o shared storage and custom script



On Tue, 2009-10-20 at 18:38 +0200, brem belguebli wrote:
> 2009/10/20 Rafael Micó Miranda <rmicmirregs gmail com>:
> > Hi Brem,
> >
> >
> >> > Is there any further information of the LSB compliance for resource
> >> > scripts in RHEL ?
> >> >
> >> Try this link (that you may already know !)
> >> http://sources.redhat.com/cluster/wiki/RGManager
> >> >
> >
> > Thanks, i navigated a bit until i found this document:
> >
> > http://www.opencf.org/cgi-bin/viewcvs.cgi/*checkout*/specs/ra/resource-agent-api.txt?rev=1.10
> >
> Some of the OpenCF standards are not completely respected by RHCS. The
> "monitor" action which is mandatory with OpenCF is completely ignored
> by rgmanager, and is substitued by the "status" action.

Correct.  I should note that on the wiki.


> > Yes, i remember that, but is there any way to override this parameters
> > via cluster.conf or similar way?
> >
> Not sure, but you may add some debug to the resouce to see  how it is
> called and see if you can replace it by another value in your
> cluster.conf.

Yes; just place it as a child of your resource in cluster.conf - same
sort of semantics.

    <script name="foo" ... >
       <action name="status" interval="10" />
    </script>

-- Lon



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