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