Cluster

MisterY

Renowned Member
Oct 10, 2016
140
4
83
37
Hi,

I have several servers with Proxmox running and I would like to merge them into a cluster.
However, only one node is running most of the time, but I would like to manage all nodes from a single webgui and I would like to migrate LXC/VMs between them.
What I don't need (yet) is HA or Ceph.

How can I do this? What do I have to do running the "main" node most the time and start the additional nodes when needed?
 
How can I do this?
In short: Don't.

Longer version:
A cluster is NOT what you're looking for, yet it can be done with it in an unsupported configuration and you have to do everything by yourself. A cluster is for HA and CEPH or any other distributed or dedicated shared storage setup is required to do proper clustering.

What you have to change in a PVE cluster is the number of expected votes (source) and you need them set to one and hope you'll never have a splitbrain:

Code:
pvecm expected 1
 
wouldn't be these changes to the corosync.conf better:
two_node: 1
wait_for_all: 0
?

Then for what AM I looking for where I can manage all nodes from a single webgui and migrate them? I can't find any other feature in PVE..

In the wiki you mentioned is not written that HA and CEPH are crucial for a cluster.

I'll give it a try with two_node:1 and wait_for_all: 0. Maybe I'll add a Qdevice, but first I would like to avoid that.
 
Last edited:
Then for what AM I looking for where I can manage all nodes from a single webgui and migrate them? I can't find any other feature in PVE..
There is currently no GUI for that, yet it is in development.


In the wiki you mentioned is not written that HA and CEPH are crucial for a cluster.
Quorum implies that the nodes has to be running all the time. Without a shared storage, a cluster is useless for any HA workload.


I'll give it a try with two_node:1 and wait_for_all: 0. Maybe I'll add a Qdevice, but first I would like to avoid that.
Then go ahead and do what you want, yet consider yourself warned that what you do is not what the underlying cluster logic (corosync) is built for.
 

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!