[Linux-HA] Monitoring resource

Arsène Gschwind arsene.gschwind at unibas.ch
Thu Nov 29 12:16:18 MST 2007


Hi Dejan,

Thanks a lot it did it. But now I'm investigating some further problems 
with SAPInstance.
As soon as I could localize the problem I will report it.

Again, thanks a lot.
Arsène

Dejan Muhamedagic wrote:
> Hi,
>
> On Thu, Nov 29, 2007 at 01:11:05PM +0100, Ars?ne Gschwind wrote:
>   
>> 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 ?
>>     
>
> Please apply this patch
>
> http://hg.linux-ha.org/dev/rev/c6fb08b02938
>
> and let us know if it helped.
>
> Thanks,
>
> Dejan
>
>   
>> 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
>>>
>>>       
>> _______________________________________________
>> Linux-HA mailing list
>> Linux-HA at lists.linux-ha.org
>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> See also: http://linux-ha.org/ReportingProblems
>>     
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>   

-- 
***********************************************************
Gschwind Arsene			
Universitaet Rechenzentrum (URZ)
Klingelbergstrasse 70
CH-4056 Basel
SWITZERLAND

Languages : F/E/D
WWW:  <http://www.urz.unibas.ch>
Mail: <Arsene DOT Gschwind AT unibas DOT ch>
************************************************************



More information about the Linux-HA mailing list