Apache OCF RA needs a statusurl parameter set. Something like that:

<nvpair id="Apache:statusurl" name="statusurl"
value="http://YOUR_VIRTUAL_IP/server-status"/>

Without  it monitoring function won't work properly.

On Thu, Feb 21, 2008 at 2:46 PM, Jason Erickson <[EMAIL PROTECTED]> wrote:
>
>
>  Attached is my cib.xml file. maybe this will help.
>
>  Jason
>
>
>
>
>
>
>  Serge Dubrouski wrote:
>  > Most probably you incorrectly configured Apache resource in your
>  > cib.xml. That OCF script is pretty flexible and shouldn't depend on
>  > how you compiled your Apache. As a matter of fact I myself support a
>  > cluster of 2 Apache 2.2.4 instances compiled from sources.
>  >
>  > To help you more it would be good to take a look at your cib.xml file.
>  > At least resource configuration part.
>  >
>  > On Thu, Feb 21, 2008 at 2:30 PM, Jason Erickson <[EMAIL PROTECTED]> wrote:
>  >
>  >> We compiled apache from source so for some reason it will not start up
>  >>  with the ocf file. I went into the file
>  >>
>  >>  /usr/lib/ocf/resource.d/heartbeat/apache
>  >>
>  >>  and changed the path for httpd.conf wherever applicable. This still did
>  >>  not work. So I was looking into lsb resources instead to see if that
>  >>  worked before looking deeper into why my ocf file does not work.  If you
>  >>  have any idea why my ocf resource is not working that would be great as
>  >>  well. Thanks for responding so quickly
>  >>
>  >>
>  >>  Jason
>  >>
>  >>
>  >>
>  >>
>  >>  Serge Dubrouski wrote:
>  >>  > If you are using 2.1.3 with CRM why you don't use included Apache OCF 
> script?
>  >>  >
>  >>  > On Thu, Feb 21, 2008 at 2:17 PM, Jason Erickson <[EMAIL PROTECTED]> 
> wrote:
>  >>  >
>  >>  >> What are the steps to write a LSB script for apache. I am using 
> version
>  >>  >>  2.1.3 with crm. I found an example once but I can not find it 
> anymore.
>  >>  >>  Does anyone have a good example?
>  >>  >>
>  >>  >>
>  >>  >>
>  >>  >>
>  >>  >>  Jason
>  >>  >>  _______________________________________________
>  >>  >>  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
>



-- 
Serge Dubrouski.
_______________________________________________
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