Hi Brian. Gibson, Brian (IMS) wrote on 15.08.2017:
> I’ve been fighting with this a bit and I keep scratching my head. I > am trying to setup the VMware Horizon View UAG behind haproxy. It > requires session persistence, which I could do with a stick table, but > I’d rather use a cookie in case the load balancer goes down for > whatever reason, I have another using the same VIP and I want the > client to hit the same backend so long as it’s up. > > Here’s the configuration I tried most recently: > > listen vmview-uag > bind vip:443 ssl crt cert.pem > mode tcp I think you will need here mode http Doesn't you get any warning at startup time from haproxy? > balance roundrobin > cookie JSESSIONID prefix > option httpchk GET /favicon.ico HTTP/1.1 > > server vuag-01 10.10.10.1:443 ssl verify none cookie vuag-01 check > server vuag-02 10.10.10.2:443 ssl verify none cookie vuag-02 check > > JSESSIONID is provided by the UAG, when I use the above configuration > the cookie remains the same as if I don’t do anything with it. I also > attempted to create a new cookie called SERVERID and no cookie shows up on > the client side. > > I’m using haproxy 1.7.2. Also I did double check that the ssl > certificate is the same on the UAG as the Haproxy, and according to > the VMware documentation this should be a supported configuration. -- Best Regards Aleks

