[Linux-HA] Monitoring resource

Arsène Gschwind arsene.gschwind at unibas.ch
Thu Nov 29 05:11:05 MST 2007


Hi,

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 ?
Has anybody setup an SAP system using heartbeat ? if Yes could you share 
your experience?

Thanks,
Arsène
Arsène Gschwind wrote:
> Hello
>
> 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
> Arsène
>



More information about the Linux-HA mailing list