cluster changes - corosync

Spiros Pap

Well-Known Member
Aug 1, 2017
87
1
48
44
Hi all,

I tried to setup a cluster of 3 nodes and I run into problems. I want to setup two interfaces on each node for the cluster (primary/backup) and I tried to follow this:
https://pve.proxmox.com/wiki/Separate_Cluster_Network#Configure_corosync
* Note: the cluster right now is not in a working condition
I did a "pvecm expected 1" and I changed the config to this, to all the nodes (adapting the bindnetaddr IPs). All nodes say this:
=======================================
Quorum information

Date: Sun Mar 18 09:40:07 2018
Quorum provider: corosync_votequorum
Nodes: 1
Node ID: 0x00000003
Ring ID: 3/4
Quorate: No

Votequorum information
----------------------
Expected votes: 3
Highest expected: 3
Total votes: 1
Quorum: 2 Activity blocked
Flags:

Membership information
----------------------
Nodeid Votes Name
0x00000003 1 10.11.20.67 (local)


====================================

Corosync.conf:
logging {
debug: off
to_syslog: yes
}

nodelist {
node {
name: px1-cluster
nodeid: 1
quorum_votes: 1
ring0_addr: px1-cluster
ring1_addr: px1
}
node {
name: px2-cluster
nodeid: 2
quorum_votes: 1
ring0_addr: px2-cluster
ring1_addr: px2
}
node {
name: px3-cluster
nodeid: 3
quorum_votes: 1
ring0_addr: px3-cluster
ring1_addr: px3
}
}

quorum {
provider: corosync_votequorum
}

totem {
cluster_name: pxcluster
rrp_mode: passive
config_version: 4
interface {
bindnetaddr: 10.11.20.65
ringnumber: 0
}
interface {
bindnetaddr: 10.11.20.11
ringnumber: 1
}
ip_version: ipv4
secauth: on
version: 2
}


Any ideas on what to do next?

Thanx,
Sp

PS: PVE version is the latest (5.1-3)
 
Last edited:
Hi,

is this configuration on all nodes the same?
can you resolve the node names from the ring_addr?
I personal like ip address more than names in the ring_address.
 
Hi Wolfgang,

Yes the config was the same and the IPs were resolvable via /etc/hosts.
I also tried to remove a node and readd it but this also didn't work.
Now, I have reinstalled proxmox and I will try again when I have my network config stabilized.

Anyway, It would be nice if someone could give instructions how to destruct a cluster and rebuild it again (the files involved etc).

Regards,
Sp
 

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!