Hi
I'm coming from Docker, so I'm new to LXC containers and Proxmox. I have Galera MariaDB cluster - on each Proxmox node sits LXC with MariaDB. Now I want to make it accessible under single domain/IP. I see two possibilities:
- use DNS name with multiple IPs assigned. As I know, every time DNS server is queried about such domain, it return next IP, which makes it very simple load balancer
- use haProxy software - then I can create LXC container, install haProxy inside and configure it, but how configuration should look like? And how to make sure that, even if a node with LXC die, and it'll be moved over to different node, it still will be accesssible?
The aim is to have high availabiliy and load balancing, and I feel, maybe I should make it outside cluster?
I'm coming from Docker, so I'm new to LXC containers and Proxmox. I have Galera MariaDB cluster - on each Proxmox node sits LXC with MariaDB. Now I want to make it accessible under single domain/IP. I see two possibilities:
- use DNS name with multiple IPs assigned. As I know, every time DNS server is queried about such domain, it return next IP, which makes it very simple load balancer
- use haProxy software - then I can create LXC container, install haProxy inside and configure it, but how configuration should look like? And how to make sure that, even if a node with LXC die, and it'll be moved over to different node, it still will be accesssible?
The aim is to have high availabiliy and load balancing, and I feel, maybe I should make it outside cluster?