create cluster faild

hamada omara

Renowned Member
Feb 20, 2016
16
0
66
38
hi
I have 2 real server and the first one have old vm and I create cluster in it .
and new one try to add it to the cluster and I get error and told me run this code to solve the error

upload_2016-4-9_15-58-30.png

can any one help me Please .

thank you .
 
Can you post the steps with which you wanted to add a new node?

It seems your corosync config is empty/wrong.

Post the output from
Code:
cat /etc/pve/corosync.conf
from the node where you created the cluster and
Code:
pvecm status
from both.

And remember that you have to add the new node to the cluster through the new node, e.g.:
Code:
node-A: pcevm create clustername
node-B: pvecm add <IP-from-node-A>
 
  • Like
Reactions: hamada omara
I try and try with my self and try to solve this but no way
this server is online server

the main cluster

upload_2016-4-29_20-35-36.png



***------------------------------------------------------------------------------------------------------------------------
the add node

upload_2016-4-29_20-32-59.png



root@Diskcodevm-2 ~ # pvecm status
Cannot initialize CMAP service
root@Diskcodevm-2 ~ #


upload_2016-4-29_20-38-21.png


and I can login for 5 s only see that
upload_2016-4-29_20-40-23.png
 
I try and try with my self and try to solve this but no way
this server is online server

Hetzner? Do you have reliable multicast working between your two nodes? You can check with: https://pve.proxmox.com/wiki/Troubl...luster_issues#Diagnosis_from_first_principles
And with a two node Cluster you could also switch to unicast with no loss of performance/reliability.

[EDIT] This section contained wrong information of a corosync.conf setting regarding a cluster identification ID, sorry for that, accused the wrong thing.[/EDIT]

Apart from this you want to run a IPv6 multicast cluster, have you also configured the /etc/hosts files accordingly? Can you post its content?

Also how could you even add a node with this? Did you used "--force"?
As of the missing /etc/pve/authkey.pub thats another problem, maybe a result of the above, hard to tell.

Call pveum once over CLI as it should regenerate this key if not existing.

The output from:
Code:
systemctl status pve-cluster

would also be neat.
 
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!