<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-03-30 13:42 GMT+02:00 Jan Friesse <span dir="ltr"><<a href="mailto:jfriesse@redhat.com" target="_blank">jfriesse@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Roberto Munoz Gomez napsal(a):<span class=""><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
2016-03-30 11:27 GMT+02:00 Jan Friesse <<a href="mailto:jfriesse@redhat.com" target="_blank">jfriesse@redhat.com</a>>:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hello,<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Due to a change in the switch in one of the datacenters now I have an odd<br>
behaviour in the cluster.<br>
<br>
I am using cman with corosync and pacemaker. The versions are:<br>
<br>
pacemaker-1.1.10-14.el6_5.3.x86_64<br>
corosync-1.4.1-15.el6_4.1.x86_64<br>
cman-3.0.12.1-49.el6.x86_64<br>
<br>
The problem is, when I launch /etc/init.d/pacemaker start and the<br>
cman_tool<br>
launch corosync, I don't see any UDP traffic, so the cluster is "broken"<br>
<br>
But if I launch manually the same command "corosync -f" I do see udp<br>
traffic and the totem is correctly sent between nodes.<br>
<br>
It all began with the change in the switch, but I set the tcpdump in the<br>
hosts and I do not see traffic.<br>
<br>
I have tried the multicast and unicast configuration, different network,<br>
but all with the same behaviour.<br>
<br>
What am I missing?<br>
<br>
</blockquote>
<br>
I'm pretty sure main problem is that:<br>
- corosync -f uses /etc/corosync/corosync.conf as a config file<br>
- cman_tool join uses /etc/cluster/cluster.conf as a config file <br></blockquote></blockquote></span></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Make sure to "replicate" (specially udpu/udp, ...) configuration from<br>
corosync.conf to cluster.conf and I'm pretty sure it will work.<br></blockquote></blockquote></span></blockquote><div><br></div><div><br></div><div>It worked!</div><div><br></div><div>I didn't knew cman_tool do not use corosync.conf. Setting udpu in cluster.conf made it work again.</div><div><br></div><div>I am trying to migrate the bindnetaddr option from corosync.conf to cluster.conf but couldn't make it work. I want to use this interface for corosync traffic.</div><div><br></div><div>inet addr:10.76.125.236  Bcast:10.76.125.239  Mask:255.255.255.240<br></div><div><br></div><div>In man cluster.conf says the last octect must be 0. But despite ccs_config validate says it is ok, the cman_tool fails.</div><div><br></div><div><br></div><div>Regards.</div><div><br></div><div><br></div><div><br></div></div>
</div></div>

<br>
<font face="Arial, Helvetica, sans-serif" size="2">This e-mail and any attachment are confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. Unauthorized publication, use, dissemination, forwarding, printing or copying of this e-mail and its associated attachments is strictly prohibited. </font><div><font face="Arial, Helvetica, sans-serif" size="2"><a href="http://disclaimer.diacorporate.com" target="_blank">http://disclaimer.<WBR>diacorporate.com</a><br></font></div>