2007/8/8, Andrew Beekhof <[EMAIL PROTECTED]>: > 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)
What kind of parameter would i need starting apache with the stock script?, it already knows where are the config files. > also, depending on your system it may not be truly LSB compliant (and > thus cant be used with heartbeat) It's stock apache2 from SLES9SP3, as far as i know, SUSE people try their best to follow LSB > > > /etc/ha.d/resource.d/apache > > this is included for v1 compatibility only (most scripts in this > location are simply wrappers for OCF scripts) Interesting > > > /usr/lib/ocf/resource.d/heartbeat/apache > > definitely the most preferred option I'll check it out (i'm still more confortable with the stock script :p) > > > > > 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 it couldn't > > handle a request (what seems to check the monitor action from > > /usr/lib/ocf/resource.d/heartbeat/apache) > _______________________________________________ Thanks! Ciro _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
