trubles adding node on proxmox 2.1 cluster

  • Thread starter Thread starter Ugo Vasi
  • Start date Start date
U

Ugo Vasi

Guest
Hi,
I've a two nodes cluster (proxmox version 2.1-1/f9b0f63a) which is working fine since some months.
Now I want to add a new node (a fresh installation of proxmox same version) by console pvecm command but it does not work.
I try to add the new node with the following command:
Code:
root@proxmox01 ~ # pvecm addnode proxmox03
but if I display cluster nodes, the new server appear not connected:
Code:
root@proxmox01 ~ # pvecm nodes
Node  Sts   Inc   Joined               Name
   1   M   5428   2012-11-05 04:13:33  proxmox01
   2   M   5432   2012-11-05 04:13:39  proxmox02
   3   X      0                        proxmox03
Any idea? How can I found the problem?

Thanks
 
sigh - you use the wrong command! Do not use 'addnode'!

Please revert this change using the 'delnode' command.
 
sigh - you use the wrong command! Do not use 'addnode'!

Please revert this change using the 'delnode' command.

I've deleted the node and retry with 'add' command:

Code:
root@bluemox01 ~ # pvecm  add bluemox03
authentication key already exists
The node do not appear in node list.
 
Hello,

We too have a 2 node cluster (nodes interconnected over VPN network) and we are trying to add a new node to the existing cluster.

master1 > 10.10.1.3
master2 > 10.10.1.4
master4 > 10.10.1.5 (new node)

As mentioned we tried to add the new node to the cluster:

root@master4:~# pvecm add 10.10.1.5

But in master1 it doesn't show the master4 as online.

root@master1 ~ # cat /etc/pve/.members
{
"nodename": "master1",
"version": 5,
"cluster": { "name": "xxx", "version": 44, "nodes": 3, "quorate": 1 },
"nodelist": {
"master2": { "id": 1, "online": 1, "ip": "10.10.1.4"},
"master1": { "id": 3, "online": 1, "ip": "10.10.1.3"},
"master4": { "id": 2, "online": 0}
}
}

From new node the members list is as below:

root@master4:~# cat /etc/pve/.members
{
"nodename": "master4",
"version": 3,
"cluster": { "name": "xxx", "version": 38, "nodes": 3, "quorate": 1 },
"nodelist": {
"master2": { "id": 1, "online": 0},
"master1": { "id": 3, "online": 0},
"master4": { "id": 2, "online": 1, "ip": "x.x.x.x"}
}
}


Here the x.x.x.x is the public IP of new node master4. We have added correct private IPs in /etc/hosts for all the nodes. Any idea why it shows public IP for master4 instead of private IP? I am able to ping the private IP of master1 from master4, so the private network is fine. Any help is much appreciated.
 
I've deleted the node and retry with 'add' command:

Code:
root@bluemox01 ~ # pvecm  add bluemox03
authentication key already exists
The node do not appear in node list.


pvecm add bluemox03 -force

or

pvecm add 192.168.8.10 -force