hetzneronline / community-content

Hetzner Online Community Project
https://community.hetzner.com
MIT License
312 stars 364 forks source link

Implementation of a Cloud HA infrastructure with Keepalived #733

Closed hedleyroos closed 11 months ago

hedleyroos commented 12 months ago

Problem

Missing documentation on https://community.hetzner.com/tutorials/configure-cloud-ha-keepalived

Suggested Fix

Some documentation issues that will trip up people.

chmod +x /opt/hcloud should be chmod +x /opt/hcloud-ip. Missing a chmod 755 /etc/keepalived/failover.sh. Missing a systemctl start keepalived. Explain that auth_pass in keepalived.conf is not the Hetzner API password. Explain that cloud_network_adapter is not eth0, but the interface name for your private network, eg. enp7s0. Add weight 101 to the chk_nginx section so we're certain that the priority gap can be bridged.

svenja11 commented 11 months ago

Thank you for pointing this out @hedleyroos!