ansitest/proxmox/cluster-3-node-with-pi-or-vm-qdevice.sh

17 lines
455 B
Bash
Raw Normal View History

2024-02-25 10:36:38 -07:00
#!/bin/bash
# REF: https://www.youtube.com/watch?v=jAlzBm40onc
# This is when you really only have 2 nodes but need a 3rd vote for quorum
# Can setup debian vm with 512MB RAM OUTSIDE the cluster as long as its on the same LAN
# NOTE do not mix CPU types on host - all AMD or all Intel are OK
2024-02-25 10:36:38 -07:00
# do on all nodes in cluster
apt update
apt install -y corosync-qdevice
# TODO EDITME
2024-02-25 10:36:38 -07:00
pvecm qdevice setup 192.168.1.12 # vm on macpro, static ip
pvecm status