Proxmox 4.1 cluster issue

kumarullal

Renowned Member
Jun 17, 2009
184
0
81
LA, USA
I made a big blunder while setting up a proxmox ve 4.1 2 node cluster.
the 2 host nodes hp1 and hp2
hp1 ip 10.0.0.1 hp2 10.0.0.2
hp1 has 2 vm running. hp2 has no vm running
So on hp1 I created the cluster
hp1# pvecm create mycluster

Beofer running pvecm add ip, I changed the ip address of hp2 from 10.0.0.2 to 10.0.0.10
However, I did not modify the /etc/hosts on hp2 to reflect the new IP.
Then I ran
pvecm add 10.0.0.1
SO it could not join the cluster.
SO I tried to delete the entry of known_hosts in hp1.
So now, I am stuck. I cannot delete the cluster from hp1 neither I can rejoin the cluster from hp2.
Please help.
What should be done.
Regards
 
Just save your VM disk image in a safe place and re-image both servers. Then create the cluster again, and rebuild VMs using their existing disk images.
 
Thanks for your replies.
I had to take a backup of all vms, and re-install proxmox on both nodes and then recreate the cluster.