Node lost connection to cluster after changing quorum votes?

MightyMauz

Member
Apr 11, 2023
8
1
8
Netherlands
I changed my 3 node cluster setup and in the process I lost connection to 1 of my nodes

The cluster has 3 nodes
- apocalypse (10.12.23.34)
- xavier (10.12.23.31)
- magneto (10.12.23.33)

I wanted to make xavier the main node, as it will always be online. Therefore I changed the votes from 3, 1, 1 to 1, 3, 1 with the help of this video https://www.youtube.com/watch?v=sjS9oDEw9EQ by Apalrd. It instructs to update the corosync.conf by changing the votes and updating the version.

Never had any problems doing this, but today, when all was running again, node magneto did not come along. I can still access it, and get to the webgui, but it has lost connection to the cluster.

How can I fix this?


Here are the corosync.conf files

apocalypse
Code:
logging {
  debug: off
  to_syslog: yes
}

nodelist {
  node {
    name: apocalypse
    nodeid: 3
    quorum_votes: 1
    ring0_addr: 10.12.23.34
  }
  node {
    name: magneto
    nodeid: 4
    quorum_votes: 1
    ring0_addr: 10.12.23.33
  }
  node {
    name: xavier
    nodeid: 1
    quorum_votes: 3
    ring0_addr: 10.12.23.31
  }
}

quorum {
  provider: corosync_votequorum
}

totem {
  cluster_name: X
  config_version: 15
  interface {
    linknumber: 0
  }
  ip_version: ipv4-6
  link_mode: passive
  secauth: on
  version: 2
}

xavier
Code:
logging {
  debug: off
  to_syslog: yes
}

nodelist {
  node {
    name: apocalypse
    nodeid: 3
    quorum_votes: 1
    ring0_addr: 10.12.23.34
  }
  node {
    name: magneto
    nodeid: 4
    quorum_votes: 1
    ring0_addr: 10.12.23.33
  }
  node {
    name: xavier
    nodeid: 1
    quorum_votes: 3
    ring0_addr: 10.12.23.31
  }
}

quorum {
  provider: corosync_votequorum
}

totem {
  cluster_name: X
  config_version: 15
  interface {
    linknumber: 0
  }
  ip_version: ipv4-6
  link_mode: passive
  secauth: on
  version: 2
}

magneto
Code:
logging {
  debug: off
  to_syslog: yes
}

nodelist {
  node {
    name: apocalypse
    nodeid: 3
    quorum_votes: 3
    ring0_addr: 10.12.23.34
  }
  node {
    name: magneto
    nodeid: 4
    quorum_votes: 1
    ring0_addr: 10.12.23.33
  }
  node {
    name: xavier
    nodeid: 1
    quorum_votes: 1
    ring0_addr: 10.12.23.31
  }
}

quorum {
  provider: corosync_votequorum
}

totem {
  cluster_name: X
  config_version: 14
  interface {
    linknumber: 0
  }
  ip_version: ipv4-6
  link_mode: passive
  secauth: on
  version: 2
}