Add Proxmox/HA-CoroSync.md
This commit is contained in:
10
Proxmox/HA-CoroSync.md
Normal file
10
Proxmox/HA-CoroSync.md
Normal file
@@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user