Remove clusterconfig

frantek

Renowned Member
May 30, 2009
171
7
83
Hi,

I've a problem with a cluster setup. I've 2 servers A and B. I've told A to create a cluster and add B as node. Then I've told B to get master (-m) but -l on A shows A as master and B as node. -l on B shows B as master and A is not in the list. I've deleted B on A. Now both are masters and can't join each others.

How can I reset the cluster setup to start over ? Or is there an other solution ?

TIA
 
Last edited:
It is never a good idea to create 2 masters in a cluster ;-)

You are right, but: I've told B to get master, but A did not notice. Documentation reads:
pveca -m # force local node to become master

I would expect that when I do this on a node, the node becomes master and the current master becomes a node. This did not work.
 
You are right, but: I've told B to get master, but A did not notice. Documentation reads:
pveca -m # force local node to become master

I would expect that when I do this on a node, the node becomes master and the current master becomes a node. This did not work.

this is not implemented. forcing a node to master does not inform any node. you need to tell all the nodes manually to sync. with the new master.
 
this is not implemented. forcing a node to master does not inform any node. you need to tell all the nodes manually to sync. with the new master.

Ok, but how do I tell the "old" master to become a node ?
 
Ok, but how do I tell the "old" master to become a node ?

see 'man pveca'.

remove the /etc/pve/cluster.cfg and then join again to the new master (pveca -a -h IP).
 

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!