[Pacemaker] Error starting Apache on 2 nodes cluster

Angie T. Muhammad angie.tawfik at gmail.com
Thu Nov 19 21:47:56 UTC 2009


I had the same thought when I saw the wget error, but I am not entitled to
add/remove virtual hosts to/from httpd.conf.
A colleague is supposed to handle this, but I think this should fix the
problem.
Thank you :)

On Thu, Nov 19, 2009 at 5:27 PM, E-Blokos <infos at e-blokos.com> wrote:

>
> ----- Original Message ----- From: "Dejan Muhamedagic" <
> dejanmm at fastmail.fm>
> To: <pacemaker at clusterlabs.org>
> Sent: Thursday, November 19, 2009 6:41 AM
> Subject: Re: [Pacemaker] Error starting Apache on 2 nodes cluster
>
>
>
>  Hi,
>>
>> On Thu, Nov 19, 2009 at 12:35:36PM +0200, Angie T. Muhammad wrote:
>>
>>> On Thu, Nov 19, 2009 at 2:39 AM, Luke Bigum <lbigum at iseek.com.au> wrote:
>>>
>>> >  Angie,
>>> >
>>> >
>>> >
>>> > I can't tell exactly what's you've provided, can you post your CRM
>>> > configuration (the output of 'crm configure show')? While you're at it,
>>> > also
>>> > provide ' crm_verify -LV' and 'crm_mon -fo1'.
>>> >
>>> >  Here are the outputs:
>>> >
>>> # crm configure show
>>> node test1.localdomain
>>> node test2.localdomain
>>> primitive ClusterIP ocf:heartbeat:IPaddr2 \
>>>        params ip="10.0.0.102" cidr_netmask="255.255.255.0" \
>>>        op monitor interval="10s"
>>> primitive LoadBalancer lsb:haproxy \
>>>        op monitor interval="10s"
>>> primitive WebSite ocf:heartbeat:apache \
>>>        params configfile="/etc/httpd/conf/httpd.conf" \
>>>        op monitor interval="1min"
>>> colocation LoadBalancer-with-ClusterIP inf: LoadBalancer ClusterIP
>>> order LoadBalancer-after-ClusterIP inf: ClusterIP LoadBalancer
>>> property $id="cib-bootstrap-options" \
>>>        stonith-enabled="false" \
>>>        expected-quorum-votes="2" \
>>>        dc-version="1.0.5-462f1569a43740667daf7b0f6b521742e9eb8fa7" \
>>>        cluster-infrastructure="openais" \
>>>        no-quorum-policy="ignore"
>>>
>>> # crm_verify -VL
>>> crm_verify[14263]: 2009/11/19_12:22:57 WARN: unpack_rsc_op: Processing
>>> failed op WebSite_start_0 on test1.localdomain: unknown error
>>> crm_verify[14263]: 2009/11/19_12:22:57 WARN: unpack_rsc_op: Processing
>>> failed op WebSite_start_0 on test2.localdomain: unknown error
>>>
>>
>> To find out why the resource failed, grep your logs for
>> lrmd.*WebSite. It should show you errors which were logged by the
>> apache resource agent.
>>
>> Thanks,
>>
>> Dejan
>>
>> _______________________________________________
>> Pacemaker mailing list
>> Pacemaker at oss.clusterlabs.org
>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>
>
> You need to have a apache vhost with local ip because Pacemaker ping on
> it...
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>



-- 
All the best,
Angie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20091119/2126f2ec/attachment-0002.htm>


More information about the Pacemaker mailing list