What to do when the Cluster Master failed?

klabauter

New Member
Mar 26, 2010
16
0
1
What to do when the Cluster Master failed?

I saw you could make one node from a slave to a master, but what ist happening when the old master comes back zu service?

It is possible to put the master in in automatic failover environment ?
 
What to do when the Cluster Master failed?

I saw you could make one node from a slave to a master, but what ist happening when the old master comes back zu service?

That is a bad idea - remove the old master before you enable a new master.

It is possible to put the master in in automatic failover environment ?

will be in V2.0
 
How to remove the old master?
Do I have to execute following command on every slave ?
Code:
pveca -d MASTERID
then executing
Code:
pveca -m
on the new master?

Would be nice to see this issue explained in the wiki at the cluster page.
 
hi
I agree - this is a bit - well - undocumented.

I tried to promote another host to master, now this host thinks it is the master, the real master has been removed from it's node-table and the other five hosts think it (the new master) is still a node and belive the old master is their master...

please advise - regards
hk
 
I tried to promote another host to master, now this host thinks it is the master, the real master has been removed from it's node-table and the other five hosts think it (the new master) is still a node and belive the old master is their master...

You need to tell the nodes that there is a new master. Execute this on each node:

# pveca -s -h <ip_of_new_master>
 

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!