[Linux-cluster] 2 node cluster w/o shared storage and custom script
Lon Hohberger
lhh at redhat.com
Thu Oct 22 15:17:47 UTC 2009
On Tue, 2009-10-20 at 18:38 +0200, brem belguebli wrote:
> 2009/10/20 Rafael Micó Miranda <rmicmirregs at 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
More information about the Linux-cluster
mailing list