Skip to content

Commit 173c599

Browse files
committed
add quorum article
1 parent 4133421 commit 173c599

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
layout: post
3+
title: "Reaching Quorum with an External QDevice"
4+
date: 2023-02-27 00:00:00 -0500
5+
category: "Service Setup"
6+
tags: ['proxmox', 'qdevice', 'corosync']
7+
---
8+
9+
Having only two nodes in my Proxmox cluster, I wanted to add a third external device to keep quorum during reboots or other outages. To do so I added an external qdevice as a node which works as a voting only member of the cluster. The qdevice has to be debian based, so I set mine up on a raspberry pi.
10+
11+
<!--more-->
12+
13+
First you'll need to install the following packages on your external server.
14+
15+
```bash
16+
sudo apt install corosync-qnetd corosync-qdevice
17+
```
18+
19+
Once the install is complete, use this command to install a package on each of your existing Proxmox nodes.
20+
21+
```bash
22+
apt install corosync-qdevice
23+
```
24+
25+
Now you can run the following on one of your Proxmox nodes.
26+
27+
```bash
28+
pvecm qdevice setup <QDEVICE-IP>
29+
```
30+
31+
You will need to have a root password available for the setup. In my case I temporarily allowed root login with password and then reverted it back to `prohibit-password` after. That configuration is found in:
32+
33+
```bash
34+
sudo nano /etc/ssh/sshd_config
35+
```
36+
37+
Once you've run the setup command, you'll be able to run the following to view the status and nodes.
38+
39+
```bash
40+
pvecm status
41+
pvecm nodes
42+
```
43+
44+
For additional information, [check out the documentation here.](https://pve.proxmox.com/pve-docs/chapter-pvecm.html#_corosync_external_vote_support)

0 commit comments

Comments
 (0)