diff --git a/Proxmox/HA-CoroSync.md b/Proxmox/HA-CoroSync.md new file mode 100644 index 0000000..b873c59 --- /dev/null +++ b/Proxmox/HA-CoroSync.md @@ -0,0 +1,10 @@ +# Helpfull Stuff about CoroSync / HA-Cluster in Proxmox + +## 2 Node Cluster without QDevice as the 3rd node + +Use this snipped as a cronjob to set the needed votes to only 1 to bring up a host. +This is an example where Host A (IP 10.0.81.1) is trying to ping Host B (IP 10.0.81.2). If this host is not reachable then set the expected votes to 1. + +```python +* * * * * if ! ping -c1 -w1 10.0.81.2 > /dev/null; then pvecm expected 1; fi +``` \ No newline at end of file