SPICE Proxy with haproxy

2015-06-10 Thread Kevin C
Hi list,

Is it possible to use HAproxy instead of Squid for a SPICE Proxy (I already 
use Haproxy on this server, I'd rather avoir to install Squid) ? 

I try this 

 oVirt  +SPICE
frontend fe_spice_proxy
bind 172.18.1.99:8080
#bind 172.18.1.99:5900-6123
option tcpka
default_backend bk_OVIR
##
backend bk_OVIR
option tcpka
balance roundrobin
server OVIR1 172.20.69.21:5900-6123 weight 10
server OVIR2 172.20.69.22:5900-6123 weight 10


But it seems I can't set a port range in the server directive. Somebody have 
an idea how  can I setup ?

Thanks a lot
-- 
Kevin



Re: SPICE Proxy with haproxy

2015-06-10 Thread Malcolm Turnbull
Kevin,

Simply remove the port and HAProxy will use the original one:

server OVIR1 172.20.69.21 weight 10



On 10 June 2015 at 09:29, Kevin C ki...@kiven.fr wrote:
 Hi list,

 Is it possible to use HAproxy instead of Squid for a SPICE Proxy (I already
 use Haproxy on this server, I'd rather avoir to install Squid) ?

 I try this

  oVirt  +SPICE
 frontend fe_spice_proxy
 bind 172.18.1.99:8080
 #bind 172.18.1.99:5900-6123
 option tcpka
 default_backend bk_OVIR
 ##
 backend bk_OVIR
 option tcpka
 balance roundrobin
 server OVIR1 172.20.69.21:5900-6123 weight 10
 server OVIR2 172.20.69.22:5900-6123 weight 10


 But it seems I can't set a port range in the server directive. Somebody have
 an idea how  can I setup ?

 Thanks a lot
 --
 Kevin




-- 
Regards,

Malcolm Turnbull.

Loadbalancer.org Ltd.
Phone: +44 (0)330 1604540
http://www.loadbalancer.org/