Hi, On Wed, Nov 28, 2007 at 07:14:44PM +0100, Ars?ne Gschwind wrote: > Hi, > > First of all thanks for all the replies. > Dejan Muhamedagic wrote: > >Hi, > > > >On Tue, Nov 27, 2007 at 10:51:50PM +0100, 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. > >> > > > >A resource is monitored only if it's running and there's a > >repeating monitor operation defined for the resource. Otherwise, > >there could (will) be, depending on circumstances, occasional > >monitors to check the state of the resource. Are you referring to > >the latter? If so, then no, that can't be prevented. > > > It seems to be the latter one you described. Does that mean that I will > have to modify the monitor code in the resource agent?
Yes. > > > >>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. > >> > > > >I guess that your SAP/DB software is on a shared storage. In > >that case, i.e. when software is not available, the resource > >agent should report that the resource is stopped. If that's not > >the case, then please file a bugzilla. > > > Yes it is on a shared storage but not on a shared filesystem like > GFS/OCFS2. > The filesystem is mounted before the SAP/DB resource will start. Right. I assumed so. It's definitely fault of the RA. > > > >>In this case, do I have to modify the Resource Agent on the monitor > >>function? or is there an other way to solve this. > >> > > > >Yes, but it should be done for everybody. If you provide a patch, > >everybody will be happy, of course :) > > > OK no problem. Or just file a bugzilla and someone will take care of it. Don't know what that RA looks like, but it should be too difficult to fix this. Thanks, Dejan > > Thanks, > Ars?ne > >Thanks, > > > >Dejan > > > > > >>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 > > > > _______________________________________________ > 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
