Remove clusterconfig

frantek

Renowned Member
May 30, 2009
176
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.
 
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).