Installing and Enabling a Quorum Device
Installation of the quorum device requires that you install the pcs
and
corosync-qnetd
packages on the system where you intend to run the quorum
device service and then install the corosync-qdevice
package on each of the
nodes in the existing cluster.
- On the system assigned to run the quorum device service,
run:
sudo dnf install -y pcs corosync-qnetd
- Enable and start the systemd
pcsd
service by running:sudo systemctl enable --now pcsd
- If you're running a firewall on the quorum device service host, you must open the firewall
ports to allow the host to communicate with the cluster. For example,
run:
sudo firewall-cmd --permanent --add-service=high-availability sudo systemctl restart firewalld
- On the quorum device service host, enable and start the quorum device service by
setting the Pacemaker configuration for the node to use the
net
model. Run:sudo pcs qdev setup model net --enable --start
This command creates a configuration for the host and names the node
qdev
. It sets the model tonet
and enables and starts the node. The command triggers thecorosync-qnetd
daemon to load and run at boot. - On each of the nodes within the existing cluster, install the
corosync-qdevice
package by running:sudo dnf install -y corosync-qdevice