On 8/8/07, Ciro Iriarte <[EMAIL PROTECTED]> wrote:
> 2007/8/7, Lars Daniel Forseth <[EMAIL PROTECTED]>:
> > Do you mean the heartbeat resource agent or the OCF resource agent for
> > apache?
> >
> > OCF resource agents have the advantage of offering a monitoring
> > option... details here: http://www.linux-ha.org/OCFResourceAgent
> >
> >
> > greets Lars.
> >
> Well, now that you mention it, there are 3 scripts to chose from
>
> /etc/init.d/apache2

generally less flexible (cant pass parameters)
also, depending on your system it may not be truly LSB compliant (and
thus cant be used with heartbeat)

> /etc/ha.d/resource.d/apache

this is included for v1 compatibility only (most scripts in this
location are simply wrappers for OCF scripts)

> /usr/lib/ocf/resource.d/heartbeat/apache

definitely the most preferred option

>
> In our case, apache config is pretty static, wouldn't the
> "/etc/init.d/apache2 status" be enought to monitor it?, i hadn't seen
> (in our case) a situation where apache would be running but i couldn't
> handle a request (what seems to check the monitor action from
> /usr/lib/ocf/resource.d/heartbeat/apache)
_______________________________________________
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