So, just for the sake of it I’ve been trying to get my lab to be HA -or as HA as a small homelab can be-

My current set up is a follows:

3 proxmox servers with some Debian VMs, the VMs run docker swarm

A NAS, with Truenas

ISProuter -> OpenWRTRouter -> VM [Port fowards 80/443]

This works like a charm when I am in my LAN, but when I access from outside, if the VM that has 80/443 port forwarded to is down (which it never is) I’d loose connectivity.

I have now idea how to solve this little problem in a efficient way, maybe a reverse proxy running on my OpenWRT? (Which’d only move the point of failure to my router, but if my router goes down is gameover already anyways) has anyone attempted this?

Any opinions/ideas?

Update:

Solved! I moved my traefik data to a NFS share in my NAS, replicated the container across all manager nodes and then installed keepalived and now float a VIP between them.

Works like a charm and it was super easy to set up, literally 3 ansible tasks and 1 jinja template and you are done.

Thanks to all of ya!

  • CallMeAl (Not AI)@piefed.zip
    link
    fedilink
    English
    arrow-up
    12
    ·
    5 days ago

    If you ask me, you are better off focusing on monitoring, fast detection, and auto-healing in a homelab rather than High Availability. I use an ancient tool called monit and newer tools like uptime kuma for this. Detection and restart is easier than having 2 of everything.