minus-squarejonw@links.mayhem.academytoSelfhosted@lemmy.world•Loadbalancing between 2 locationslinkfedilinkEnglisharrow-up4·1 month agoMany moons ago I used heartbeat for this, but you’d need both servers in the same cidr range. I assume that’s not the case here. In your case you could probably use a dynamic DNS service to move the IP around, but the challenge would be knowing when to kick it off. You could write scripts to determine when the live one goes down, but we’re probably already more complicated than you were looking for. linkfedilink
Many moons ago I used heartbeat for this, but you’d need both servers in the same cidr range. I assume that’s not the case here.
In your case you could probably use a dynamic DNS service to move the IP around, but the challenge would be knowing when to kick it off.
You could write scripts to determine when the live one goes down, but we’re probably already more complicated than you were looking for.