how to flip master - node

Nov 21, 2024
16
1
3
Hi all,

I had a cluster with two nodes :
mx1 - master
mx2 - slave node

I had to reinstall and move mx1 ... so I did this:
turned off mx1
promoted mx2 to master
reinstalled mx1
added mx1 to cluster (as node)
I promoted mx1 to master

now they both pretend to be masters :cool:

they both report as master and the other as node ...

How do I fix this ?
 
I saw in this thread
a suggestion to delete /etc/pmg/cluster.conf ... I did, restarted the node, and the cluster was gone, so I simply rejoined it as node to my intended master.
I think the utility pmgcm needs an additional feature : cluster-delete command.