[SOLVED] Can´t add third node to cluster

Thomas15

Member
Oct 3, 2016
27
3
23
30
Hello everyone,

I have a problem when trying to add a 3rd node to an existing 2 node cluster. Every node has three network interfaces, one bonding with 2x1GBit/s for vmbr0 at 192.168.141.0/24 and two fiber channels on 10.50.0.0/24 and 10.50.2.0/24 with 10GBit/s each.

When using pvecm add 10.50.2.112 on the new third host to join the cluster I get this error:



Login succeeded.
check cluster join API version
No cluster network links passed explicitly, fallback to local node IP '192.168.141.121'
Request addition of this node
An error occured on the cluster node: error during cfs-locked 'file-corosync_conf' operation: no links given but multiple links found on other nodes, fallback only supported on single-link clusters
Cluster join aborted!-


pvecm status on the current two node cluster
Code:
Cluster information
-------------------
Name:             CLUSTER-DZB
Config Version:   6
Transport:        knet
Secure auth:      on

Quorum information
------------------
Date:             Mon Jan 25 12:55:41 2021
Quorum provider:  corosync_votequorum
Nodes:            2
Node ID:          0x00000001
Ring ID:          1.148b
Quorate:          Yes

Votequorum information
----------------------
Expected votes:   2
Highest expected: 2
Total votes:      2
Quorum:           2
Flags:            Quorate

Membership information
----------------------
    Nodeid      Votes Name
0x00000001          1 10.50.2.112 (local)
0x00000002          1 10.50.0.115


/etc/corosync/corosync.conf on the first node of the cluster
Code:
root@hera:~# cat 
logging {
  debug: off
  to_syslog: yes
}

nodelist {
  node {
    name: hera
    nodeid: 1
    quorum_votes: 1
    ring0_addr: 10.50.2.112
    ring1_addr: 10.50.0.112
  }
  node {
    name: hestia
    nodeid: 2
    quorum_votes: 1
    ring0_addr: 10.50.0.115
    ring1_addr: 10.50.2.115
  }
}

quorum {
  provider: corosync_votequorum
}

totem {
  cluster_name: CLUSTER-DZB
  config_version: 6
  interface {
    linknumber: 0
  }
  interface {
    linknumber: 1
  }
  ip_version: ipv4-6
  link_mode: passive
  secauth: on
  version: 2
}

Can somebody help me to understand what´s going wrong here?

Thanks and greetings,
Thomas
 
And just after I posted here my brain started to work properly and I could find that I just need to give the additional links I want like this to the command:

--link0 10.50.0.121 --link1 10.50.2.121
 
  • Like
Reactions: aaron

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!