Pseudo-HA on 2 or 3 containers without clustering. Possible?

dominikp

Member
Aug 28, 2018
36
3
13
39
I have 2 LXC containers which are basically a twins (except MAC and IP). They are openvpn servers. Sometimes one of them just stops (entire lxc container). This happens once for few months.
What i plan to make are some kind of watcher scripts (bash) placed on each other which will ping themselves every 5mins or so. If one of them dies then second should somehow try to start another one. Or maybe it would be easier to place them on host.

Anyway, is it good approach? Or are there better solutions? I dont want ( i cant) to create cluster with second machine.

PS. Im aware that it doesnt provide ha on service lvl, but for now it would be sufficient solution.
 
Well dont want only to switch between servers. This i can do on clients side (manually or automatically). But i would rather try to revive the ones which are down.
//EDIT
OK i found option in HA section. I think problem is solved.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!