Dmitry Koterov <dmitry.kote...@gmail.com> writes:

> Oh, seems I've found the solution! At least two mistakes was in my
> corosync.conf (BTW logs did not say about any errors, so my conclusion is
> based on my experiments only).
>
> 1. nodelist.node MUST contain only IP addresses. No hostnames! They simply
> do not work, "crm status" shows no nodes. And no warnings are in logs
> regarding this.

You can add name like this:

    nodelist {
      node {
        ring0_addr: <public-ip-address-of-the-first-machine>
        name: node1
      }
      node {
        ring0_addr: <public-ip-address-of-the-second-machine>
        name: node2
      }
    }

I used it on Ubuntu Trusty with udpu.

Regards.

-- 
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to