<div dir="ltr">Sure, in logs I see "adding new UDPU member {IP_ADDRESS}" (so DNS names are definitely resolved), but in practice the cluster does not work, as I said above. So validations of ringX_addr in corosync.conf would be very helpful in corosync.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 2, 2015 at 2:49 PM, Jan Friesse <span dir="ltr"><<a href="mailto:jfriesse@redhat.com" target="_blank">jfriesse@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dmitry,<span class=""><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
No, I meant that if you pass a domain name in ring0_addr, there are no<br>
errors in logs, corosync even seems to find nodes (based on its logs), And<br>
crm_node -l shows them, but in practice nothing really works. A verbose<br>
error message would be very helpful in such case.<br>
</blockquote>
<br></span>
This sounds weird. Are you sure that DNS names really maps to correct IP address? In logs there should be something like "adding new UDPU member {IP_ADDRESS}".<br>
<br>
Regards,<br>
  Honza<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<br>
On Tuesday, December 30, 2014, Daniel Dehennin <<a href="mailto:daniel.dehennin@baby-gnu.org" target="_blank">daniel.dehennin@baby-gnu.org</a>><br>
wrote:<br>
<br>
</span><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dmitry Koterov <<a href="mailto:dmitry.koterov@gmail.com" target="_blank">dmitry.koterov@gmail.com</a> <javascript:;>> writes:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Oh, seems I've found the solution! At least two mistakes was in my<br>
corosync.conf (BTW logs did not say about any errors, so my conclusion is<br>
based on my experiments only).<br>
<br>
1. nodelist.node MUST contain only IP addresses. No hostnames! They<br>
</blockquote>
simply<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
do not work, "crm status" shows no nodes. And no warnings are in logs<br>
regarding this.<br>
</blockquote>
<br>
You can add name like this:<br>
<br>
     nodelist {<br>
       node {<br>
         ring0_addr: <public-ip-address-of-the-<u></u>first-machine><br>
         name: node1<br>
       }<br>
       node {<br>
         ring0_addr: <public-ip-address-of-the-<u></u>second-machine><br>
         name: node2<br>
       }<br>
     }<br>
<br>
I used it on Ubuntu Trusty with udpu.<br>
<br>
Regards.<br>
<br>
--<br>
Daniel Dehennin<br>
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF<br>
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF<br>
<br>
</blockquote>
<br>
<br>
<br></span><span class="">
______________________________<u></u>_________________<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/<u></u>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/<u></u>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br>
</span></blockquote><div class="HOEnZb"><div class="h5">
<br>
<br>
______________________________<u></u>_________________<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/<u></u>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/<u></u>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</div></div></blockquote></div><br></div>