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
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems