<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    anybody an idea? I think something in my corosync configuration is
    incorrect. The default Corosync configuration is working. But I want
    to use redundant rings and secuath should be set to on.<br>
    <br>
    [root@linsrv006 ~]# cat /etc/corosync/corosync.conf<br>
    totem {<br>
    version: 2<br>
    secauth: off<br>
    cluster_name: databasecluster<br>
    transport: udpu<br>
    }<br>
    <br>
    nodelist {<br>
      node {<br>
            ring0_addr: linsrv006.willi-net.local<br>
            nodeid: 1<br>
           }<br>
      node {<br>
            ring0_addr: linsrv007.willi-net.local<br>
            nodeid: 2<br>
           }<br>
    }<br>
    <br>
    quorum {<br>
    provider: corosync_votequorum<br>
    two_node: 1<br>
    }<br>
    <br>
    logging {<br>
    to_syslog: yes<br>
    }<br>
    <br>
    [root@linsrv006 ~]# pcs status<br>
    Cluster name: databasecluster<br>
    WARNING: no stonith devices and stonith-enabled is not false<br>
    Last updated: Fri Mar  6 15:04:13 2015<br>
    Last change: Fri Mar  6 15:03:23 2015 via crmd on
    linsrv007.willi-net.local<br>
    Stack: corosync<br>
    Current DC: linsrv007.willi-net.local (2) - partition with quorum<br>
    Version: 1.1.10-32.el7_0.1-368c726<br>
    2 Nodes configured<br>
    0 Resources configured<br>
    <br>
    <br>
    Online: [ linsrv006.willi-net.local linsrv007.willi-net.local ]<br>
    <br>
    Full list of resources:<br>
    <br>
    <br>
    PCSD Status:<br>
      linsrv006.willi-net.local: Online<br>
      linsrv007.willi-net.local: Online<br>
    <br>
    Daemon Status:<br>
      corosync: active/disabled<br>
      pacemaker: active/disabled<br>
      pcsd: active/enabled<br>
    <br>
    Regards - Willi<br>
    <br>
    <div class="moz-cite-prefix">Am 06.03.15 um 10:49 schrieb Willi
      Fehler:<br>
    </div>
    <blockquote cite="mid:54F9782C.5020502@t-online.de" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      Hi,<br>
      <br>
      I've fixed the node issue. I changed the /etc/hosts file and
      rebuilded the Cluster with the fqdn names:<br>
      <br>
      [root@linsrv006 corosync]# pcs status<br>
      Cluster name: <br>
      WARNING: no stonith devices and stonith-enabled is not false<br>
      Last updated: Fri Mar  6 10:47:25 2015<br>
      Last change: Fri Mar  6 10:45:43 2015 via crmd on
      linsrv006.willi-net.local<br>
      Stack: corosync<br>
      Current DC: NONE<br>
      2 Nodes configured<br>
      0 Resources configured<br>
      <br>
      <br>
      Node linsrv006.willi-net.local (1): UNCLEAN (offline)<br>
      Node linsrv007.willi-net.local (2): UNCLEAN (offline)<br>
      <br>
      Full list of resources:<br>
      <br>
      <br>
      PCSD Status:<br>
        192.168.0.9: Unable to authenticate<br>
        192.168.0.10: Unable to authenticate<br>
      <br>
      Daemon Status:<br>
        corosync: active/disabled<br>
        pacemaker: active/disabled<br>
        pcsd: active/enabled<br>
      <br>
      <br>
      <br>
      <br>
      totem {<br>
        version: 2<br>
        threads: 2<br>
        secauth: on<br>
        cluster_name: databasecluster<br>
        rrp_mode: passive<br>
        join: 100<br>
        max_messages: 20<br>
        vstype: none<br>
        token: 1000<br>
        consensus: 1200<br>
        clear_node_high_bit: true<br>
        token_retransmits_before_loss_const: 10<br>
        interface {<br>
                ringnumber: 0<br>
                bindnetaddr: 192.168.0.0<br>
                mcastaddr: 239.255.1.1<br>
                mcastport: 5404<br>
        }<br>
        interface {<br>
                ringnumber: 1<br>
                bindnetaddr: 10.10.10.0<br>
                mcastaddr: 239.255.2.1<br>
                mcastport: 5406<br>
        }<br>
        transport: udpu<br>
      }<br>
      <br>
      nodelist {<br>
        node {<br>
              ring0_addr: 192.168.0.9<br>
          ring1_addr: 10.10.10.1<br>
              nodeid: 1<br>
             }<br>
        node {<br>
              ring0_addr: 192.168.0.10<br>
              ring1_addr: 10.10.10.2<br>
          nodeid: 2<br>
             }<br>
      }<br>
      <br>
      logging {<br>
      to_syslog: yes<br>
      }<br>
      <br>
      <br>
      <br>
      [root@linsrv006 corosync]# tail -f /var/log/messages <br>
      Mar  6 10:49:02 linsrv006 stonith-ng[8025]: notice: get_node_name:
      Could not obtain a node name for corosync nodeid 2<br>
      Mar  6 10:49:02 linsrv006 crmd[8029]: error:
      cluster_connect_quorum: Corosync quorum is not configured<br>
      Mar  6 10:49:02 linsrv006 stonith-ng[8025]: notice:
      corosync_node_name: Unable to get node name for nodeid 1<br>
      Mar  6 10:49:02 linsrv006 stonith-ng[8025]: notice: get_node_name:
      Defaulting to uname -n for the local corosync node name<br>
      Mar  6 10:49:02 linsrv006 crmd[8029]: notice: corosync_node_name:
      Unable to get node name for nodeid 1<br>
      Mar  6 10:49:02 linsrv006 crmd[8029]: notice: corosync_node_name:
      Unable to get node name for nodeid 2<br>
      Mar  6 10:49:02 linsrv006 crmd[8029]: notice: corosync_node_name:
      Unable to get node name for nodeid 2<br>
      Mar  6 10:49:02 linsrv006 crmd[8029]: notice: get_node_name: Could
      not obtain a node name for corosync nodeid 2<br>
      Mar  6 10:49:02 linsrv006 crmd[8029]: notice: corosync_node_name:
      Unable to get node name for nodeid 2<br>
      Mar  6 10:49:02 linsrv006 crmd[8029]: notice: get_node_name: Could
      not obtain a node name for corosync nodeid 2<br>
      <br>
      Regards - Willi<br>
      <br>
      <div class="moz-cite-prefix">Am 06.03.15 um 10:41 schrieb Willi
        Fehler:<br>
      </div>
      <blockquote cite="mid:54F9763D.1070203@t-online.de" type="cite">
        <meta content="text/html; charset=windows-1252"
          http-equiv="Content-Type">
        [root@linsrv006 corosync]# rpm -qa | grep corosync<br>
        corosynclib-2.3.3-2.el7_0.1.x86_64<br>
        corosync-2.3.3-2.el7_0.1.x86_64<br>
        <br>
        <div class="moz-cite-prefix">Am 06.03.15 um 10:32 schrieb
          Michael Schwartzkopff:<br>
        </div>
        <blockquote cite="mid:2322893.t9hGW5Obca@nb003" type="cite">
          <pre wrap="">Am Freitag, 6. März 2015, 10:18:46 schrieb Willi Fehler:
</pre>
          <blockquote type="cite">
            <pre wrap="">Hi Michael,

firewalld is disabled. It looks like corosync-objctl does not exist.

Regards - Willi
</pre>
          </blockquote>
          <pre wrap="">which version of corosync?

Mit freundlichen Grüßen,

Michael Schwartzkopff

</pre>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre wrap="">_______________________________________________
Users mailing list: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://clusterlabs.org/mailman/listinfo/users">http://clusterlabs.org/mailman/listinfo/users</a>

Project Home: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.clusterlabs.org">http://www.clusterlabs.org</a>
Getting started: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a>
Bugs: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://bugs.clusterlabs.org">http://bugs.clusterlabs.org</a>
</pre>
        </blockquote>
        <br>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
Users mailing list: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://clusterlabs.org/mailman/listinfo/users">http://clusterlabs.org/mailman/listinfo/users</a>

Project Home: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.clusterlabs.org">http://www.clusterlabs.org</a>
Getting started: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a>
Bugs: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://bugs.clusterlabs.org">http://bugs.clusterlabs.org</a>
</pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list: <a class="moz-txt-link-abbreviated" href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a>
<a class="moz-txt-link-freetext" href="http://clusterlabs.org/mailman/listinfo/users">http://clusterlabs.org/mailman/listinfo/users</a>

Project Home: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org">http://www.clusterlabs.org</a>
Getting started: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a>
Bugs: <a class="moz-txt-link-freetext" href="http://bugs.clusterlabs.org">http://bugs.clusterlabs.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>