[SOLVED] QDevice or two_node on 2-node cluster without HA

Dec 10, 2019
10
0
6
Hi,

please forgive me if the following question was answered already and I just didn't get it when reading all the posts.

What I have is a small 2-node cluster without HA.
There are different suggestions to ensure that the remaining node keeps running in case that one node goes down.
Mainly:
Configure "two_node" and "wait_for_all" options for corosync or
Setting up a qdevice

I understand that qdevices are actually the preferred solution, but how is a qdevice better than the using the two corosync options if not aiming for a HA setup?

Thanks a lot for your help and sorry, if this is explained somewhere already!
Best
 
Hi,

I understand that qdevices are actually the preferred solution, but how is a qdevice better than the using the two corosync options if not aiming for a HA setup?

They are heuristics only, and allow only one node to fail, as some auto-tie breaker is required, which simply chooses the node with the lower ID (this is fixed info, so known for both even in split brain). So if the second node goes done your lucky, else not so.
QDevice handles both.

If you mean your setup serious I would heavily recommend an external QDevice or a third node over those options.
 
Last edited:
Hi @t.lamprecht , i have a side question about qdevice - i have two small 2-device clusters in one LAN - production and test. can i use one qdevice running on external hardware for both clusters?
Thanks!
 
i'm asking cos when i tried to add second qdevice, process ends with errors.
 

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!