On Nov 27, 2007, at 10:51 PM, 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?

basically, yes.

check if the exe is available and either
- pretend the resource isn't running, or
- do something like: ps axf | grep sap-process-name

or is there an other way to solve this.

Thanks for any hint or help
Arsène

--
***********************************************************
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>
************************************************************

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to