<div dir="ltr"><div><div>[root@node1 yum.repos.d]# crm configure show</div><div>node node1</div><div>node node2</div><div>primitive Apache ocf:heartbeat:apache \</div><div><span class="" style="white-space:pre"> </span>params configfile="/etc/httpd/conf/httpd.conf" \</div>
<div><span class="" style="white-space:pre"> </span>op monitor interval="30s" \</div><div><span class="" style="white-space:pre"> </span>op start timeout="40s" interval="0" \</div><div><span class="" style="white-space:pre"> </span>op stop timeout="60s" interval="0"</div>
<div>primitive Cluster_Server ocf:heartbeat:IPaddr2 \</div><div><span class="" style="white-space:pre"> </span>params ip="132.65.56.250" cidr_netmask="24" \</div><div><span class="" style="white-space:pre"> </span>op monitor interval="30s"</div>
<div>property $id="cib-bootstrap-options" \</div><div><span class="" style="white-space:pre"> </span>dc-version="1.1.10-14.el6_5.2-368c726" \</div><div><span class="" style="white-space:pre"> </span>cluster-infrastructure="classic openais (with plugin)" \</div>
<div><span class="" style="white-space:pre"> </span>expected-quorum-votes="2" \</div><div><span class="" style="white-space:pre"> </span>stonith-enabled="false" \</div><div><span class="" style="white-space:pre"> </span>default-action-timeout="240"</div>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Mar 30, 2014 at 3:23 PM, emmanuel segura <span dir="ltr"><<a href="mailto:emi2fast@gmail.com" target="_blank">emi2fast@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">where is your cluster config?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-30 13:52 GMT+02:00 Dennis Zheleznyak <span dir="ltr"><<a href="mailto:dennis@eshkol.com.co" target="_blank">dennis@eshkol.com.co</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div>I had no experience with Corosync / Pacemaker before, therefore, I followed the following guide to setup a Corosync/Pacemaker HA solution for an apache website:</div>
<div><a href="http://www.unixmen.com/adding-deleting-cluster-resources-corosync-pacemaker-2/" target="_blank">http://www.unixmen.com/adding-deleting-cluster-resources-corosync-pacemaker-2/</a><br>
</div><div><br></div><div>I have two machines that run CentOS 6.5.</div><div><br></div><div>I've done everything that is said in the guide but I see the following regarding the Apache:</div><div><div>[root@node1 yum.repos.d]# crm status</div>
<div>Last updated: Sun Mar 30 14:51:27 2014</div><div>Last change: Sun Mar 30 14:24:05 2014 via cibadmin on node1</div><div>Stack: classic openais (with plugin)</div><div>Current DC: node1 - partition with quorum</div><div>
Version: 1.1.10-14.el6_5.2-368c726</div><div>2 Nodes configured, 2 expected votes</div><div>2 Resources configured</div><div><br></div><div><br></div><div>Online: [ node1 node2 ]</div><div><br></div><div> Cluster_Server<span style="white-space:pre-wrap"> </span>(ocf::heartbeat:IPaddr2):<span style="white-space:pre-wrap"> </span>Started node1 </div>
<div><br></div><div>Failed actions:</div><div> Apache_start_0 on node2 'unknown error' (1): call=13, status=complete, last-rc-change='Sun Mar 30 14:30:02 2014', queued=1298ms, exec=0ms</div><div> Apache_start_0 on node1 'unknown error' (1): call=19, status=complete, last-rc-change='Sun Mar 30 14:30:03 2014', queued=3118ms, exec=0ms</div>
</div><div><br></div><div>Thank you,</div><div>Dennis.</div><div><br></div></div>
<br></div></div>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">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>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera
</font></span></div>
<br>_______________________________________________<br>
Pacemaker mailing list: <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>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br></div>