cannot create basic cluster 2 nodes no HA

lethargos

Well-Known Member
Jun 10, 2017
134
6
58
74
Hi,

I created a cluster on a first node with pvecm create googleproject1
The two nodes (svorng8 and svorng9) I'm trying to connect are bounddirectly through an utp cable (first is 10.10.10.8, the second 10.10.10.9). One of the problem I identified after I ran the "pvecm create" command was that svrorng8 was associated in /etc/hosts with its public ip but also with its local ip (i.e. 10.10.10.8).
Consequently, when I run pvecm status, the public_ip is shown, instead of the local ip:
pvecm status (on node 1):
Code:
Quorum information
------------------
Date:             Mon Jan 22 11:49:13 2018
Quorum provider:  corosync_votequorum
Nodes:            1
Node ID:          0x00000001
Ring ID:          1/4
Quorate:          No

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

Membership information
----------------------
    Nodeid      Votes Name
0x00000001          1 public_ip (local)

I already have two virtual machines on the host and I wouldn't like to reinstall everything if that's possible.

On the other node (svorng9), I tried running pvecm add svorng8, but the corosync service fails to start.
journalctl -u corosync:
Code:
 notice  [QUORUM] Using quorum provider corosync_votequorum
crit    [QUORUM] Quorum provider: corosync_votequorum failed to initialize.
 error   [SERV  ] Service engine 'corosync_quorum' failed to load for reason 'configuration error: nodelist or quorum.expected_votes must be configured!
error   [MAIN  ] Corosync Cluster Engine exiting with status 20 at service.c:356.

Also on the second node:
cat /etc/corosync/corosync.conf:
Code:
logging {
  debug: off
  to_syslog: yes
}

nodelist {
  node {
    name: svorng8
    nodeid: 1
    quorum_votes: 1
    ring0_addr: svorng8
  }
  node {
    name: svorng9
    nodeid: 2
    quorum_votes: 1
    ring0_addr: svorng9
  }
}

quorum {
  provider: corosync_votequorum
}

totem {
  cluster_name: googleproject1
  config_version: 2
  interface {
    bindnetaddr: public_ip_of_first_node
    ringnumber: 0
  }
  ip_version: ipv4
  secauth: on
  version: 2
}

Any ideas?
Thanks
 

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!