<div dir="ltr"><br><br><div class="gmail_quote">On Thu, Nov 19, 2009 at 1:41 PM, Dejan Muhamedagic <span dir="ltr"><<a href="mailto:dejanmm@fastmail.fm">dejanmm@fastmail.fm</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<div><div></div><div class="h5"><br>
On Thu, Nov 19, 2009 at 12:35:36PM +0200, Angie T. Muhammad wrote:<br>
> On Thu, Nov 19, 2009 at 2:39 AM, Luke Bigum <<a href="mailto:lbigum@iseek.com.au">lbigum@iseek.com.au</a>> wrote:<br>
><br>
> >  Angie,<br>
> ><br>
> ><br>
> ><br>
> > I can't tell exactly what's you've provided, can you post your CRM<br>
> > configuration (the output of 'crm configure show')? While you're at it, also<br>
> > provide ' crm_verify -LV' and 'crm_mon -fo1'.<br>
> ><br>
> >  Here are the outputs:<br>
> ><br>
> # crm configure show<br>
> node test1.localdomain<br>
> node test2.localdomain<br>
> primitive ClusterIP ocf:heartbeat:IPaddr2 \<br>
>         params ip="10.0.0.102" cidr_netmask="255.255.255.0" \<br>
>         op monitor interval="10s"<br>
> primitive LoadBalancer lsb:haproxy \<br>
>         op monitor interval="10s"<br>
> primitive WebSite ocf:heartbeat:apache \<br>
>         params configfile="/etc/httpd/conf/httpd.conf" \<br>
>         op monitor interval="1min"<br>
> colocation LoadBalancer-with-ClusterIP inf: LoadBalancer ClusterIP<br>
> order LoadBalancer-after-ClusterIP inf: ClusterIP LoadBalancer<br>
> property $id="cib-bootstrap-options" \<br>
>         stonith-enabled="false" \<br>
>         expected-quorum-votes="2" \<br>
>         dc-version="1.0.5-462f1569a43740667daf7b0f6b521742e9eb8fa7" \<br>
>         cluster-infrastructure="openais" \<br>
>         no-quorum-policy="ignore"<br>
><br>
> # crm_verify -VL<br>
> crm_verify[14263]: 2009/11/19_12:22:57 WARN: unpack_rsc_op: Processing<br>
> failed op WebSite_start_0 on test1.localdomain: unknown error<br>
> crm_verify[14263]: 2009/11/19_12:22:57 WARN: unpack_rsc_op: Processing<br>
> failed op WebSite_start_0 on test2.localdomain: unknown error<br>
<br>
</div></div>To find out why the resource failed, grep your logs for<br>
lrmd.*WebSite. It should show you errors which were logged by the<br>
apache resource agent.<br></blockquote><div><br><span style="color: rgb(255, 102, 0);">On Node 1: </span><br><span style="color: rgb(0, 153, 0);"># cat /var/log/messages | grep -i lrmd.*WebSite</span><br style="color: rgb(0, 153, 0);">
<span style="color: rgb(0, 153, 0);">Nov 19 14:55:49 test1 lrmd: [19644]: info: rsc:WebSite:4: monitor</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">Nov 19 14:55:49 test1 lrmd: [19644]: info: RA output: (WebSite:monitor:stderr) logd is not running</span><br style="color: rgb(0, 153, 0);">
<span style="color: rgb(0, 153, 0);">Nov 19 14:55:49 test1 lrmd: [19644]: info: RA output: (WebSite:monitor:stderr) 2009/11/19_14:55:49 INFO: apache not running </span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">Nov 19 14:55:53 test1 lrmd: [19644]: info: rsc:WebSite:9: start</span><br style="color: rgb(0, 153, 0);">
<span style="color: rgb(0, 153, 0);">Nov 19 14:55:54 test1 lrmd: [19644]: info: RA output: (WebSite:start:stderr) logd is not running</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">Nov 19 14:55:54 test1 lrmd: [19644]: info: RA output: (WebSite:start:stderr) 2009/11/19_14:55:54 INFO: apache not running </span><br style="color: rgb(0, 153, 0);">
<span style="color: rgb(0, 153, 0);">Nov 19 14:55:54 test1 lrmd: [19644]: info: RA output: (WebSite:start:stderr) logd is not running</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">Nov 19 14:55:54 test1 lrmd: [19644]: info: RA output: (WebSite:start:stderr) 2009/11/19_14:55:54 INFO: waiting for apache /etc/httpd/conf/httpd.conf to come up </span><br style="color: rgb(0, 153, 0);">
<span style="color: rgb(0, 153, 0);">Nov 19 14:55:55 test1 lrmd: [19644]: info: RA output: (WebSite:start:stderr) logd is not running</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">Nov 19 14:55:55 test1 lrmd: [19644]: info: RA output: (WebSite:start:stderr) 2009/11/19_14:55:55 ERROR: command failed: sh -c wget -O- -q -L --no-proxy --bind-address=127.0.0.1 <a href="http://10.0.0.100:80">http://10.0.0.100:80</a> | tr '\012' ' ' | grep -Ei "</ *body *>[[:space:]]*</ *html *>" >/dev/null </span><br style="color: rgb(0, 153, 0);">
<span style="color: rgb(0, 153, 0);">Nov 19 14:55:56 test1 lrmd: [19644]: info: rsc:WebSite:10: stop</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">Nov 19 14:55:57 test1 lrmd: [19644]: info: RA output: (WebSite:stop:stderr) logd is not running</span><br style="color: rgb(0, 153, 0);">
<span style="color: rgb(0, 153, 0);">Nov 19 14:55:57 test1 lrmd: [19644]: info: RA output: (WebSite:stop:stderr) 2009/11/19_14:55:57 INFO: Killing apache PID 19880 </span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">Nov 19 14:55:57 test1 lrmd: [19644]: info: RA output: (WebSite:stop:stderr) logd is not running</span><br style="color: rgb(0, 153, 0);">
<span style="color: rgb(0, 153, 0);">Nov 19 14:55:57 test1 lrmd: [19644]: info: RA output: (WebSite:stop:stderr) 2009/11/19_14:55:57 INFO: apache stopped. </span><br style="color: rgb(0, 153, 0);"><br style="color: rgb(0, 153, 0);">
<span style="color: rgb(255, 153, 0);">On Node 2:</span><br><span style="color: rgb(0, 153, 0);"># cat /var/log/messages | grep -i lrmd.*WebSite</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">Nov 19 14:55:41 test2 lrmd: [31978]: info: rsc:WebSite:4: monitor</span><br style="color: rgb(0, 153, 0);">
<span style="color: rgb(0, 153, 0);">Nov 19 14:55:41 test2 lrmd: [31978]: info: RA output: (WebSite:monitor:stderr) logd is not running</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">Nov 19 14:55:41 test2 lrmd: [31978]: info: RA output: (WebSite:monitor:stderr) 2009/11/19_14:55:41 INFO: apache not running </span><br style="color: rgb(0, 153, 0);">
<span style="color: rgb(0, 153, 0);">Nov 19 14:55:43 test2 lrmd: [31978]: info: rsc:WebSite:5: start</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">Nov 19 14:55:43 test2 lrmd: [31978]: info: RA output: (WebSite:start:stderr) logd is not running</span><br style="color: rgb(0, 153, 0);">
<span style="color: rgb(0, 153, 0);">Nov 19 14:55:43 test2 lrmd: [31978]: info: RA output: (WebSite:start:stderr) 2009/11/19_14:55:43 INFO: apache not running </span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">Nov 19 14:55:43 test2 lrmd: [31978]: info: RA output: (WebSite:start:stderr) logd is not running</span><br style="color: rgb(0, 153, 0);">
<span style="color: rgb(0, 153, 0);">Nov 19 14:55:43 test2 lrmd: [31978]: info: RA output: (WebSite:start:stderr) 2009/11/19_14:55:43 INFO: waiting for apache /etc/httpd/conf/httpd.conf to come up </span><br style="color: rgb(0, 153, 0);">
<span style="color: rgb(0, 153, 0);">Nov 19 14:55:44 test2 lrmd: [31978]: info: RA output: (WebSite:start:stderr) logd is not running</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">Nov 19 14:55:44 test2 lrmd: [31978]: info: RA output: (WebSite:start:stderr) 2009/11/19_14:55:44 ERROR: command failed: sh -c wget -O- -q -L --no-proxy --bind-address=127.0.0.1 <a href="http://10.0.0.101:80">http://10.0.0.101:80</a> | tr '\012' ' ' | grep -Ei "</ *body *>[[:space:]]*</ *html *>" >/dev/null </span><br style="color: rgb(0, 153, 0);">
<span style="color: rgb(0, 153, 0);">Nov 19 14:55:45 test2 lrmd: [31978]: info: rsc:WebSite:6: stop</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">Nov 19 14:55:46 test2 lrmd: [31978]: info: RA output: (WebSite:stop:stderr) logd is not running</span><br style="color: rgb(0, 153, 0);">
<span style="color: rgb(0, 153, 0);">Nov 19 14:55:46 test2 lrmd: [31978]: info: RA output: (WebSite:stop:stderr) 2009/11/19_14:55:46 INFO: Killing apache PID 32115 </span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">Nov 19 14:55:46 test2 lrmd: [31978]: info: RA output: (WebSite:stop:stderr) logd is not running</span><br style="color: rgb(0, 153, 0);">
<span style="color: rgb(0, 153, 0);">Nov 19 14:55:46 test2 lrmd: [31978]: info: RA output: (WebSite:stop:stderr) 2009/11/19_14:55:46 INFO: apache stopped.</span> <br style="color: rgb(0, 153, 0);"></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">
</span>Thanks,<br></blockquote><div> </div><div><span style="color: rgb(0, 153, 0);">Thank you Dejan</span> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<font color="#888888"><br>
Dejan<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Pacemaker mailing list<br>
<a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>All the best,<br>Angie<br>
</div>