<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hello.<div><br></div><div>I have a geographically distributed cluster, all machines have public IP addresses. No virtual IP subnet exists, so no multicast is available.</div><div><br></div><div>I thought that UDPu transport can work in such environment, doesn't it?</div><div><br></div><div>To test everything in advance, I've set up a corosync+pacemaker on Ubuntu 14.04 with the following corosync.conf:</div><div><br></div><div>totem {<br></div><div>  transport: udpu</div><div>  interface {</div><div>        ringnumber: 0</div><div>        bindnetaddr: ip-address-of-the-current-machine</div><div>        mcastport: 5405</div><div>  }</div><div>}</div><div><div>nodelist {</div><div>  node {</div><div>    ring0_addr: node1</div><div>  }</div><div>  node {</div><div>    ring0_addr: node2</div><div>  }</div><div>}</div></div><div>...</div><div><br></div><div>(here node1 and node2 are hostnames from /etc/hosts on both machines). After running "service corosync start; service pacemaker start" logs show no problems, but actually both nodes are always offline:</div><div><br></div><div><div>root@node1:/etc/corosync# crm status | grep node</div><div>OFFLINE: [ node1 node2 ]<br></div></div><div><br></div><div>and "crm node online" (as all other attempts to make crm to do something) are timed out with "communication error".</div><div><br></div><div>No iptables, selinux, apparmor and other bullshit are active: just pure virtual machines with single public IP addresses on each. Also tcpdump shows that UDB packets on port 5405 are going in and out, and if I e.g. stop corosync at node1, the tcpdump output at node2 changes significantly. So they see each other definitely.</div><div><br></div><div>And if I attach a gvpe adapter to these 2 machines with a private subnet and switch transport to the default one, corosync + pacemaker begin to work.</div><div><br></div><div>So my question is: what am I doing wrong? Maybe UDPu is not suitable for communications among machines with public IP addresses only?</div></div>
</div><br></div>