<div dir="ltr"><br><br><div class="gmail_quote">On Thu, Nov 19, 2009 at 1:41 PM, Dejan Muhamedagic <span dir="ltr">&lt;<a href="mailto:dejanmm@fastmail.fm">dejanmm@fastmail.fm</a>&gt;</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>
&gt; On Thu, Nov 19, 2009 at 2:39 AM, Luke Bigum &lt;<a href="mailto:lbigum@iseek.com.au">lbigum@iseek.com.au</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt;  Angie,<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; I can&#39;t tell exactly what&#39;s you&#39;ve provided, can you post your CRM<br>
&gt; &gt; configuration (the output of &#39;crm configure show&#39;)? While you&#39;re at it, also<br>
&gt; &gt; provide &#39; crm_verify -LV&#39; and &#39;crm_mon -fo1&#39;.<br>
&gt; &gt;<br>
&gt; &gt;  Here are the outputs:<br>
&gt; &gt;<br>
&gt; # crm configure show<br>
&gt; node test1.localdomain<br>
&gt; node test2.localdomain<br>
&gt; primitive ClusterIP ocf:heartbeat:IPaddr2 \<br>
&gt;         params ip=&quot;10.0.0.102&quot; cidr_netmask=&quot;255.255.255.0&quot; \<br>
&gt;         op monitor interval=&quot;10s&quot;<br>
&gt; primitive LoadBalancer lsb:haproxy \<br>
&gt;         op monitor interval=&quot;10s&quot;<br>
&gt; primitive WebSite ocf:heartbeat:apache \<br>
&gt;         params configfile=&quot;/etc/httpd/conf/httpd.conf&quot; \<br>
&gt;         op monitor interval=&quot;1min&quot;<br>
&gt; colocation LoadBalancer-with-ClusterIP inf: LoadBalancer ClusterIP<br>
&gt; order LoadBalancer-after-ClusterIP inf: ClusterIP LoadBalancer<br>
&gt; property $id=&quot;cib-bootstrap-options&quot; \<br>
&gt;         stonith-enabled=&quot;false&quot; \<br>
&gt;         expected-quorum-votes=&quot;2&quot; \<br>
&gt;         dc-version=&quot;1.0.5-462f1569a43740667daf7b0f6b521742e9eb8fa7&quot; \<br>
&gt;         cluster-infrastructure=&quot;openais&quot; \<br>
&gt;         no-quorum-policy=&quot;ignore&quot;<br>
&gt;<br>
&gt; # crm_verify -VL<br>
&gt; crm_verify[14263]: 2009/11/19_12:22:57 WARN: unpack_rsc_op: Processing<br>
&gt; failed op WebSite_start_0 on test1.localdomain: unknown error<br>
&gt; crm_verify[14263]: 2009/11/19_12:22:57 WARN: unpack_rsc_op: Processing<br>
&gt; 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 &#39;\012&#39; &#39; &#39; | grep -Ei &quot;&lt;/ *body *&gt;[[:space:]]*&lt;/ *html *&gt;&quot; &gt;/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 &#39;\012&#39; &#39; &#39; | grep -Ei &quot;&lt;/ *body *&gt;[[:space:]]*&lt;/ *html *&gt;&quot; &gt;/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>