Can't add second node to cluster

dboevets

New Member
Apr 7, 2022
4
0
1
Good day
After adding second node to cluster I have this picture

When I click to proxmox2:

Connection error 596: tls_process_server_certificate: certificate verify failed

I deleted proxmox2 and reinstall pve on this server

How i can delete if from main pve (proxmox1) and add new second node

Now, even option Jouin informatin is inactive
Thanks)

1649333718320.png

Code:
root@proxmox1 /etc/pve # pvecm status
Cluster information
-------------------
Name:             Vecto
Config Version:   2
Transport:        knet
Secure auth:      on

Quorum information
------------------
Date:             Thu Apr  7 13:59:56 2022
Quorum provider:  corosync_votequorum
Nodes:            1
Node ID:          0x00000001
Ring ID:          1.14
Quorate:          Yes

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

Code:
root@proxmox1 /etc/pve # cat .members
{
"nodename": "proxmox1",
"version": 5,
"cluster": { "name": "Vecto", "version": 2, "nodes": 2, "quorate": 1 },
"nodelist": {
  "proxmox1": { "id": 1, "online": 1, "ip": "148.xx.xx.xx"},
  "proxmox2": { "id": 2, "online": 0}
  }
}
 
Last edited:
root@proxmox1 /etc/pve # cat .members { "nodename": "proxmox1", "version": 5, "cluster": { "name": "Vecto", "version": 2, "nodes": 2, "quorate": 1 }, "nodelist": { "proxmox1": { "id": 1, "online": 1, "ip": "148.xx.xx.xx"}, "proxmox2": { "id": 2, "online": 0} } }
if you look you are missing the IP address and online":0} }}
should be 1 instead of 0

Code:
root@proxmox1 /etc/pve # cat .members
{
"nodename": "proxmox1",
"version": 5,
"cluster": { "name": "Vecto", "version": 2, "nodes": 2, "quorate": 1 },
"nodelist": {
  "proxmox1": { "id": 1, "online": 1, "ip": "148.xx.xx.xx"},
  "proxmox2": { "id": 2, "online": 1, "ip": "148.xx.xx.xx"}
  }
}

have you tried to select proxmox2 under cluster nodes ( highlight it) then see if you can join cluster, just wondering.

1649405208921.png

also when you say:
I tried, but i see second node only in GUI
how did you remove the node the first time? did you follow all the steps to remove it?

also have you tried to add cluster via command line

Join Node to Cluster via Command Line​

Log in to the node you want to join into an existing cluster via ssh.
# pvecm add IP-ADDRESS-CLUSTER
For IP-ADDRESS-CLUSTER, use the IP or hostname of an existing cluster node. An IP address is recommended (see Link Address Types).
Then check the state of the cluster use:
# pvecm status
 
I tried, but i see second node only in GUI


Code:
root@proxmox1 ~ # pvecm nodes

Membership information

----------------------

    Nodeid      Votes Name

         1          2 proxmox1 (local)

pvecm nodes don't see second node(
also if you start all over again and remove cluster then do this via command line see if this works.

or you can try now with your setup to see maybe this might work below
in your case
VMPVE1 = proxmox1
VMPVE2 = proxmox2
  • log into (ssh/console) the first guest vm & create cluster CLUSTERNAME
=> PVE => VMPVE1 (guest PVE) => #pvecm create CLUSTERNAME

  • log into each other guest vm & join cluster <CLUSTERNAME>
=> PVE => VMPVE2 (guest PVE) => #pvecm add <IP address of VM1>

  • log into (web gui) any guest vm (guest pve) and manage the new (guest) cluster
 
Last edited:
if you look you are missing the IP address and online":0} }}
should be 1 instead of 0

Code:
root@proxmox1 /etc/pve # cat .members
{
"nodename": "proxmox1",
"version": 5,
"cluster": { "name": "Vecto", "version": 2, "nodes": 2, "quorate": 1 },
"nodelist": {
  "proxmox1": { "id": 1, "online": 1, "ip": "148.xx.xx.xx"},
  "proxmox2": { "id": 2, "online": 1, "ip": "148.xx.xx.xx"}
  }
}

have you tried to select proxmox2 under cluster nodes ( highlight it) then see if you can join cluster, just wondering.

View attachment 35831

also when you say:

how did you remove the node the first time? did you follow all the steps to remove it?

also have you tried to add cluster via command line

Join Node to Cluster via Command Line​

Log in to the node you want to join into an existing cluster via ssh.
# pvecm add IP-ADDRESS-CLUSTER
For IP-ADDRESS-CLUSTER, use the IP or hostname of an existing cluster node. An IP address is recommended (see Link Address Types).
Then check the state of the cluster use:
# pvecm status

No, I didn't remove the node the first time, this error occurred when trying to add a second node in the cluster

"have you tried to select proxmox2 under cluster nodes ( highlight it) then see if you can join cluster, just wondering."
1649406199383.png
 
No, I didn't remove the node the first time, this error occurred when trying to add a second node in the cluster

"have you tried to select proxmox2 under cluster nodes ( highlight it) then see if you can join cluster, just wondering."
View attachment 35834
ok try this command lines below and see if this works

you can try now with your setup to see maybe this might work below
in your case
VMPVE1 = proxmox1
VMPVE2 = proxmox2
  • log into (ssh/console) the first guest vm & create cluster CLUSTERNAME
=> PVE => VMPVE1 = proxmox1 (guest PVE) => #pvecm create CLUSTERNAME

  • log into each other guest vm & join cluster <CLUSTERNAME>
=> PVE => VMPVE2 = proxmox2 (guest PVE) => #pvecm add <IP address of VM1>

  • log into (web gui) any guest vm (guest pve) and manage the new (guest) cluster
 
Last edited:
No, I didn't remove the node the first time, this error occurred when trying to add a second node in the cluster

"have you tried to select proxmox2 under cluster nodes ( highlight it) then see if you can join cluster, just wondering."
View attachment 35834
ok couple more questions

1 you have server and create proxmox 1

then you have another server you create proxmox 2 yes ?

are these PVE Proxmox different servers with different IP's each one ?

or do you have 1 server only and created proxmox2 as a VM ?
or are both VM's and you installed PVE Proxmox to each VM?

the reason I ask if its only VM's you need to install cluster and create cluster name and join cluster with ssh via command line

Nested Virtualization



If you have 2 separate servers with PVE Install on proxmox1 and PVE installed on proxmox2
then follow below info.


Create a Cluster​

You can either create a cluster on the console (login via ssh), or through the API using the Proxmox VE web interface (Datacenter → Cluster).
Use a unique name for your cluster. This name cannot be changed later. The cluster name follows the same rules as node names.

Create via Web GUI​

login to GUI In Proxmox1

Under Datacenter → Cluster, click on Create Cluster
.

screenshot/gui-cluster-create.png

Enter the cluster name and select a network connection from the drop-down list to serve as the main cluster network (Link 0). It defaults to the IP resolved via the node’s hostname.

then below steps:

Join Node to Cluster via GUI​

Log in to the web interface on an existing cluster node. = PROXMOX1

Under Datacenter → Cluster, click the Join Information button at the top.
Then, click on the button Copy Information.

Alternatively, copy the string from the Information field manually.
screenshot/gui-cluster-join-information.png


Next, log in to the web interface on the node = PROXMOX2 you want to add.

Under Datacenter → Cluster, click on Join Cluster.

here below in
(Information)

PASTE the Information field
with the Join Information text you copied earlier from Proxmox1.

(Peer Address)
you will add the IP address of Prxmox1

(Password)

add the password of proxmox1

screenshot/gui-cluster-join.png

To enter all required data manually, you can disable the Assisted Join checkbox.

After clicking the Join button, the cluster join process will start immediately.

After the node has joined the cluster, its current node certificate will be replaced by one signed from the cluster certificate authority (CA).
This means that the current session will stop working after a few seconds.

You then might need to force-reload the web interface and log in again with the cluster credentials.

Now your node should be visible under Datacenter → Cluster.



did you do these steps
 
Last edited:

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!