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

abrock

Active Member
Mar 20, 2017
5
3
41
40
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: