<br><br><div class="gmail_quote">On Tue, Oct 9, 2012 at 8:11 PM, Andreas Kurz <span dir="ltr">&lt;<a href="mailto:andreas@hastexo.com" target="_blank">andreas@hastexo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 10/09/2012 11:17 AM, Soni Maula Harriz wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Oct 9, 2012 at 4:01 PM, Andreas Kurz &lt;<a href="mailto:andreas@hastexo.com">andreas@hastexo.com</a><br>
</div><div><div class="h5">&gt; &lt;mailto:<a href="mailto:andreas@hastexo.com">andreas@hastexo.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     On 10/09/2012 10:39 AM, Soni Maula Harriz wrote:<br>
&gt;     &gt; Dear all,<br>
&gt;     &gt;<br>
&gt;     &gt; I&#39;m a newbie in clustering. I have been following the &#39;Cluster from<br>
&gt;     &gt; scratch&#39; tutorial.<br>
&gt;     &gt; I use Centos 6.3 and install pacemaker and corosync from : yum install<br>
&gt;     &gt; pacemaker corosync<br>
&gt;     &gt;<br>
&gt;     &gt; This is the version i got<br>
&gt;     &gt; Pacemaker 1.1.7-6.el6<br>
&gt;     &gt; Corosync Cluster Engine, version &#39;1.4.1&#39;<br>
&gt;     &gt;<br>
&gt;     &gt; This time i have been this far : adding IPaddr2 resource<br>
&gt;     &gt;<br>
&gt;     (<a href="http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch/_adding_a_resource.html" target="_blank">http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch/_adding_a_resource.html</a>)<br>

&gt;     &gt; everything goes well before adding IPaddr2 resource.<br>
&gt;     &gt; when i run &#39;crm status&#39;, it print out<br>
&gt;     &gt;<br>
&gt;     &gt; ============<br>
&gt;     &gt; Last updated: Tue Oct  9 14:58:30 2012<br>
&gt;     &gt; Last change: Tue Oct  9 13:53:41 2012 via cibadmin on cluster1<br>
&gt;     &gt; Stack: openais<br>
&gt;     &gt; Current DC: cluster1 - partition with quorum<br>
&gt;     &gt; Version: 1.1.7-6.el6-148fccfd5985c5590cc601123c6c16e966b85d14<br>
&gt;     &gt; 2 Nodes configured, 2 expected votes<br>
&gt;     &gt; 1 Resources configured.<br>
&gt;     &gt; ============<br>
&gt;     &gt;<br>
&gt;     &gt; Online: [ cluster1 cluster2 ]<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt; Failed actions:<br>
&gt;     &gt;     ClusterIP_start_0 (node=cluster1, call=3, rc=6, status=complete):<br>
&gt;     &gt; not configured<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt; This is the error i got from /var/log/message<br>
&gt;     &gt; Oct  8 17:07:16 cluster2 IPaddr2(ClusterIP)[15969]: ERROR:<br>
&gt;     &gt; [/usr/lib64/heartbeat/findif -C] failed<br>
&gt;     &gt; Oct  8 17:07:16 cluster2 crmd[15937]:  warning: status_from_rc:<br>
&gt;     Action 4<br>
&gt;     &gt; (ClusterIP_start_0) on cluster2 failed (target: 0 vs. rc: 6): Error<br>
&gt;     &gt; Oct  8 17:07:16 cluster2 pengine[15936]:    error: unpack_rsc_op:<br>
&gt;     &gt; Preventing ClusterIP from re-starting anywhere in the cluster :<br>
&gt;     &gt; operation start failed &#39;not configured&#39; (rc=6)<br>
&gt;<br>
&gt;     Not enough information .... please share your configuration (crm<br>
&gt;     configure show)<br>
&gt;<br>
&gt;<br>
&gt; This is the configuration :<br>
&gt; crm configure show<br>
&gt; node cluster1<br>
&gt; node cluster2<br>
&gt; primitive ClusterIP ocf:heartbeat:IPaddr2 \<br>
&gt;     params ip=&quot;xxx.xxx.xxx.289&quot; cidr_netmask=&quot;32&quot; \<br>
<br>
</div></div>289??? ... hopefully, this is a typo, isn&#39;t it?<br>
<div class="im"><br></div></blockquote><div><br>yes, it does.<br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">
Regards,<br>
Andreas<br>
<br>
--<br>
Need help with Pacemaker?<br>
<a href="http://www.hastexo.com/now" target="_blank">http://www.hastexo.com/now</a><br>
<br>
</div><div class="im">&gt;     op monitor interval=&quot;30s&quot;<br>
&gt; property $id=&quot;cib-bootstrap-options&quot; \<br>
&gt;     dc-version=&quot;1.1.7-6.el6-148fccfd5985c5590cc601123c6c16e966b85d14&quot; \<br>
&gt;     cluster-infrastructure=&quot;openais&quot; \<br>
&gt;     expected-quorum-votes=&quot;2&quot; \<br>
&gt;     stonith-enabled=&quot;false&quot;<br>
&gt;<br>
&gt;<br>
&gt;     and the result of &quot;ip a sh&quot;.<br>
&gt;<br>
&gt;<br>
&gt; # ip a sh<br>
&gt; 1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 16436 qdisc noqueue state UNKNOWN<br>
&gt;     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00<br>
</div>&gt;     inet <a href="http://127.0.0.1/8" target="_blank">127.0.0.1/8</a> &lt;<a href="http://127.0.0.1/8" target="_blank">http://127.0.0.1/8</a>&gt; scope host lo<br>
<div><div class="h5">&gt;     inet6 ::1/128 scope host<br>
&gt;        valid_lft forever preferred_lft forever<br>
&gt; 2: eth0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc pfifo_fast<br>
&gt; state UP qlen 1000<br>
&gt;     link/ether 08:00:27:07:fd:fd brd ff:ff:ff:ff:ff:ff<br>
&gt;     inet xxx.xxx.xxx.235/24 brd xxx.xxx.xxx.255 scope global eth0<br>
&gt;     inet6 fe80::a00:27ff:fe07:fdfd/64 scope link<br>
&gt;        valid_lft forever preferred_lft forever<br>
&gt;<br>
&gt;<br>
&gt;     You need at least a<br>
&gt;     interface that is up to bind that IP, typically it is already configured<br>
&gt;     with an static IP in the same network as the cluster ip.<br>
&gt;<br>
&gt;     Regards,<br>
&gt;     Andreas<br>
&gt;<br>
&gt;     --<br>
&gt;     Need help with Pacemaker?<br>
&gt;     <a href="http://www.hastexo.com/now" target="_blank">http://www.hastexo.com/now</a><br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt; I have been searching through the google, but can&#39;t find the right<br>
&gt;     &gt; solution for my problem.<br>
&gt;     &gt; I have stopped the firewall and disabled the SElinux.<br>
&gt;     &gt; Any help would be appreciated.<br>
&gt;     &gt;<br>
&gt;     &gt; --<br>
&gt;     &gt; Best Regards,<br>
&gt;     &gt;<br>
&gt;     &gt; Soni Maula Harriz<br>
&gt;     &gt; Database Administrator<br>
&gt;     &gt; PT. Data Aksara Sangkuriang<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt; _______________________________________________<br>
&gt;     &gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
</div></div>&gt;     &lt;mailto:<a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a>&gt;<br>
<div class="im">&gt;     &gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt;     &gt;<br>
&gt;     &gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt;     &gt; Getting started:<br>
&gt;     <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
&gt;     &gt; Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt;     &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
</div>&gt;     &lt;mailto:<a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a>&gt;<br>
<div class="im HOEnZb">&gt;     <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt;<br>
&gt;     Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt;     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>
&gt;     Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Best Regards,<br>
&gt;<br>
&gt; Soni Maula Harriz<br>
&gt; Database Administrator<br>
&gt; PT. Data Aksara Sangkuriang<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div><div class="HOEnZb"><div class="h5">&gt; _______________________________________________<br>
&gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt;<br>
&gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt; 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>
&gt; Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt;<br>
<br>
<br>
<br>
<br>
</div></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><br clear="all"><br>-- <br>Best Regards,<br><br>Soni Maula Harriz<br>Database Administrator<br>PT. Data Aksara Sangkuriang<br><br>