[Linux-HA] Monitoring resource
dejanmm at fastmail.fm
Thu Nov 29 07:11:17 MST 2007
On Thu, Nov 29, 2007 at 01:11:05PM +0100, Ars?ne Gschwind wrote:
> After looking deeper into the code of SAPDatabase, I've figured out that
> my problem is located in the main part of the RA. Before calling any
> function like monitor() etc.. there is a check in the main part to see
> if the binaries are available. So far I've observed, main is executed as
> soon the resource is created, but at this time the binaries are not
> available because the filesystem resource are not mounted (running).
> Is there to a way to prevent executing that code before starting the
> resource ?
Please apply this patch
and let us know if it helped.
> Has anybody setup an SAP system using heartbeat ? if Yes could you share
> your experience?
> Ars?ne Gschwind wrote:
> >I'm pretty new to linux-ha and I'm wondering if there is an way to
> >stop monitoring a resource when that resource is stopped.
> >I'm trying to configure an SAPDatabase resource, the configuration
> >went ok so far but it tells me that it cannot find some executable
> >when monitoring.
> >This error make sense since the specified exe location path is only
> >available when the filesystem is mounted, and this is done by a
> >Filesystem resource.
> >In this case, do I have to modify the Resource Agent on the monitor
> >function? or is there an other way to solve this.
> >Thanks for any hint or help
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> See also: http://linux-ha.org/ReportingProblems
More information about the Linux-HA