One web gui on Proxmox 4.4

ettorsson

Renowned Member
Mar 19, 2017
2
0
66
44
I have a cluster of 5 nodes and I would like to have a common virtual IP to enter the Web GUI.
Even if a node is down so it will be the same IP I reach the GUI on.
Does anyone know how to do and can give any advice or is it not possible in a simple way with Proxmox.
 
this is currently not built in, but you can configure this with outside tools (e.g. pacemaker?)

or you set up a dns server with your server ips as a round robin dns a entry
 
I have a cluster of 5 nodes and I would like to have a common virtual IP to enter the Web GUI.
Even if a node is down so it will be the same IP I reach the GUI on.
Does anyone know how to do and can give any advice or is it not possible in a simple way with Proxmox.
Hi,
I use ha-proxy in conjunction with letsencrypt-certificates for that.

All nodes use the same cert - which contains all node dns + ha-proxy-dns, like:
Code:
pve.domain.com
pve01.domain.com
pve02.domain.com
pve03.domain.com
so you can use https://pve.domain.com:8006 to access one of the nodes, and you have allways an valid cert... not too bad.

the ha-server-config for this (not the letsencrypt-part):
Code:
frontend pve_frontend
   bind *:8006
   mode tcp
   option httpclose
   option forwardfor
   reqadd X-Forwarded-Proto:\ https
   default_backend pve-server
   timeout client  65000

backend pve-server
   mode tcp
   balance roundrobin
   timeout server  65000
   stick-table type ip size 200k expire 60m
   stick on src
   server pve01 192.168.10.11:8006
   server pve02 192.168.10.12:8006
   server pve03 192.168.10.13:8006
Udo