[Pacemaker] ocf_heartbeat_apache without default website

TigerInCanada tigerincanada at gmail.com
Sat Apr 14 14:41:47 CEST 2012


Have you got any apache vhosts listening on 127.0.0.1? Try creating a
seperate vhost, listening only to the loopback interface on port 80.


On 11 April 2012 12:33, Hugo Deprez <hugo.deprez at gmail.com> wrote:
> Hello,
>
> any idea ?
>
> Regards,
>
> On 10 April 2012 10:34, Hugo Deprez <hugo.deprez at gmail.com> wrote:
>>
>> Dear community,
>>
>> I am trying to configure the ocf script ocf_heartbeat_apache.
>> I disable the default site from apache conf. So the ra is not able to
>> detect if the apache2 is running.
>>
>> I try to configure the testurl parameter, but doesn't seems to work. I
>> guess I am not using it correctly.
>>
>> primitive apache2 ocf:heartbeat:apache \
>>         params configfile="/etc/apache2/apache2.conf" port="443"
>> testurl="https://127.0.0.1" \
>>         op monitor interval="10" timeout="20s" depth="0" \
>>         op stop interval="0" timeout="40" \
>>         op start interval="0" timeout="60"
>>
>> I only have one virtualhost serving https.
>>
>> Anyone does know how it works ?
>>
>> Regards,
>>
>> Hugo
>
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>



More information about the Pacemaker mailing list