Keeping a cluster without having to have both online to start the VM's?

abrock

Active Member
Mar 20, 2017
5
1
41
39
I have a cluster set up for two servers I have running, however at the moment one is off because it isn't being used.

I created a cluster for the both of them without realising that I could not start VM's on server 1 without server 2 being online.

Is there any way to allow VM's to run regardless of the status of the other node?
 
You can give more "votes" to the node you want to keep online ...

Thank you! I connected via SSH and ran the following to allow only one node to be required to start VM's.

Code:
pvecm expected 1

--Edit--

Actually, that has to be done on every server restart.

I edited corosync.conf to gave the node that is always on two votes. For anyone reading this in the future, don't give them both two votes, it will required 3 votes then, so not going to work.

If corosync.conf is complaining it cannot be edited, just run pvecm expected 1, then you'll be able to edit the file.

Thanks again, dietmar.
 
Last edited:

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!