<div dir="ltr">because in your <span lang="EN-US">corosync-cfgtool -s you are using bonding address<br><br><br></span></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/9 Dvorak Andreas <span dir="ltr"><<a href="mailto:Andreas.Dvorak@baaderbank.de" target="_blank">Andreas.Dvorak@baaderbank.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="DE"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Hi<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Here it is<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">cat /proc/net/bonding/bond0<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Bonding Mode: fault-tolerance (active-backup)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Primary Slave: None<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Currently Active Slave: em3<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">MII Status: up<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">MII Polling Interval (ms): 100<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Up Delay (ms): 0<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Down Delay (ms): 0<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Slave Interface: em3<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">MII Status: up<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Speed: 1000 Mbps<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Duplex: full<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Link Failure Count: 0<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Permanent HW addr: c8:1f:66:d7:3b:fe<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Slave queue ID: 0<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Slave Interface: p3p3<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">MII Status: up<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Speed: 1000 Mbps<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Duplex: full<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Link Failure Count: 0<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Permanent HW addr: 00:0a:f7:3e:ca:8e<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Slave queue ID: 0<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Andreas<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Von:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> emmanuel segura [mailto:<a href="mailto:emi2fast@gmail.com" target="_blank">emi2fast@gmail.com</a>] <br>
<b>Gesendet:</b> Montag, 9. Dezember 2013 15:50<br><b>An:</b> The Pacemaker cluster resource manager<br><b>Betreff:</b> Re: [Pacemaker] cluster heartbeat is not used<u></u><u></u></span></p><div><div class="h5"><p class="MsoNormal">
<u></u> <u></u></p><div><p class="MsoNormal">show cat /proc/net/bonding/bond0<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p><div><p class="MsoNormal">2013/12/9 Dvorak Andreas <<a href="mailto:Andreas.Dvorak@baaderbank.de" target="_blank">Andreas.Dvorak@baaderbank.de</a>><u></u><u></u></p>
<div><div><p class="MsoNormal"><span lang="EN-US">Dear all,</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">during failover tests I found out that I can put down the heartbeat interfaces and the cluster ignores that. But if I put down bond0 the fencing is running.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Can please somebody help me?</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">bond0 Link encap:Ethernet HWaddr C8:1F:66:D7:3B:FE </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> inet addr:10.15.28.36 Bcast:10.15.255.255 Mask:255.255.0.0</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> inet6 addr: fe80::ca1f:66ff:fed7:3bfe/64 Scope:Link</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">em4 Link encap:Ethernet HWaddr C8:1F:66:D7:3B:FF </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> inet addr:192.168.2.36 Bcast:192.168.2.255 Mask:255.255.255.0</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> inet6 addr: fe80::ca1f:66ff:fed7:3bff/64 Scope:Link</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">p3p4 Link encap:Ethernet HWaddr 00:0A:F7:3E:CA:8F </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> inet addr:192.168.3.36 Bcast:192.168.3.255 Mask:255.255.255.0</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> inet6 addr: fe80::20a:f7ff:fe3e:ca8f/64 Scope:Link</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">I have the following corosync.conf</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"># Please read the corosync.conf.5 manual page</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">compatibility: whitetank</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">totem {</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> version: 2</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> secauth: off</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> threads: 0</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> interface {</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> ringnumber: 0</span><u></u><u></u></p><p class="MsoNormal">
<span lang="EN-US"> bindnetaddr: 192.168.2.0</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> mcastaddr: 226.94.1.1</span><u></u><u></u></p><p class="MsoNormal">
<span lang="EN-US"> mcastport: 5405</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> ttl: 1</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> }</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> interface {</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> ringnumber: 1</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> bindnetaddr: 192.168.3.0</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> mcastaddr: 226.94.1.2</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> mcastport: 5407</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> ttl: 1</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> }</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">}</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">logging {</span><u></u><u></u></p><p class="MsoNormal">
<span lang="EN-US"> fileline: off</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> to_stderr: no</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> to_logfile: yes</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> to_syslog: yes</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> logfile: /var/log/cluster/corosync.log</span><u></u><u></u></p><p class="MsoNormal">
<span lang="EN-US"> debug: off</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> timestamp: on</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> logger_subsys {</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> subsys: AMF</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> debug: off</span><u></u><u></u></p><p class="MsoNormal">
<span lang="EN-US"> }</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">}</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">amf {</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> mode: disabled</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">}</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">I have installed</span><u></u><u></u></p><p class="MsoNormal">
<span lang="EN-US"> cluster-glue-libs.1.0.5.x86_64.CentOS</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> corosynclib.1.4.1.x86_64.CentOS</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> openais.1.1.1.x86_64.CentOS</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> cman.3.0.12.1.x86_64.CentOS</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> pacemaker-libs.1.1.8.x86_64.CentOS</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> resource-agents.3.9.2.x86_64.CentOS</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> corosync.1.4.1.x86_64.CentOS</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> modcluster.0.16.2.x86_64.CentOS</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> openaislib.1.1.1.x86_64.CentOS</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> pacemaker-cluster-libs.1.1.8.x86_64.CentOS</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> pacemaker.1.1.8.x86_64.CentOS</span><u></u><u></u></p><p class="MsoNormal">
<span lang="EN-US"> pcs.0.9.26.noarch.CentOS</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> libqb.0.14.2.x86_64.CentOS</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> clusterlib.3.0.12.1.x86_64.CentOS</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> ricci.0.16.2.x86_64.CentOS</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> pacemaker-cli.1.1.8.x86_64.CentOS</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> fence-virt.0.2.3.x86_64.CentOS</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> ccs.0.16.2.x86_64.CentOS</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"># corosync-cfgtool -s</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Printing ring status.</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">Local node ID 1</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">RING ID 0</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> id = 10.15.28.36</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> status = ring 0 active with no faults</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"># pcs status corosync</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">Nodeid Name</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> 1 sv2836.muc.baag</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> 2 sv2837.muc.baag</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"># crm_mon --one-shot -V</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Last updated: Mon Dec 9 14:56:32 2013</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">Last change: Mon Dec 9 14:07:03 2013 via cibadmin on sv2836</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Stack: cman</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">Current DC: sv2836 - partition with quorum</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">Version: 1.1.10-1.el6_4.4-368c726</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">2 Nodes configured</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">4 Resources configured</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Online: [ sv2836 sv2837 ]</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">ClusterIP (ocf::heartbeat:IPaddr2): Started sv2836 </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> FIXRoute (ocf::baader:FIXRoute): Started sv2836 </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> ipmi-fencing-sv2837 (stonith:fence_ipmilan): Started sv2836 </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> ipmi-fencing-sv2836 (stonith:fence_ipmilan): Started sv2837</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal">
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Best regards</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#888888">Andreas Dvorak</span><span style="color:#888888"><u></u><u></u></span></p>
</div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>_______________________________________________<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><u></u><u></u></p>
</div><p class="MsoNormal"><br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera <u></u><u></u></p></div></div></div></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>esta es mi vida e me la vivo hasta que dios quiera
</div>