Configure 2 node cluster using corosync but showing 3 nodes

April 29, 2019 550 views
High Availability

totem {
version: 2
secauth: off
threads: 0
cluster_name: mycluster
interface {
ringnumber: 0
bindnetaddr: xxxxxxxxx
mcastaddr: xxxxxxxxxxxx
mcastport: 5405
ttl: 1
}
}

quorum {
  provider: corosync_votequorum
    expected_votes: 1
  two_node: 1
}

nodelist {
  node {
    ring0_addr: xxxxxxxxxxxxxxx
    name: primary
    nodeid: 1
  }
  node {
    ring0_addr: xxxxxxxxxxxxx
    name: secondary
    nodeid:2
  }
}

logging {
    fileline:off
    to_stderr: no
    to_logfile: yes
    to_syslog: yes
  logfile: /var/log/corosync/corosync.log
    debug: off
  timestamp: on
    logger_subsys {
            subsys: AMF
            debug: off
                    }
            }

2 node cluster configured, but showing 3 node in crm status…primay node duplacting with another name
Pls suggest where issue .

Be the first one to answer this question.