Is load balancing breaking sessions?
-
What are you load-balancing with? How is it configured?
If you're using relayd you should think about switching to haproxy since relayd is deprecated in 2.5.
Steve
-
Hi, yes, standard 'load balancer' relayd setup with two sets of balanced servers on the lan. 2.4.5-RELEASE-p1
I'm just using what ever is built in and it does seem to be delayd.
It's just called load balancer. How do I switch to haproxy? Do you mean uninstall load balancer as a package and add haproxy? -
Also look at stickiness with haproxy.
http://cbonte.github.io/haproxy-dconv/2.3/intro.html#3.3.6
-
So, do you think the problem we are seeing is related to using the built in 'load balancer'?
I'll install the haproxy package and try to get it set up.
-
@lewis said in Is load balancing breaking sessions?:
Hi, yes, standard 'load balancer' relayd setup with two sets of balanced servers on the lan. 2.4.5-RELEASE-p1
I'm just using what ever is built in and it does seem to be delayd.
It's just called load balancer. How do I switch to haproxy? Do you mean uninstall load balancer as a package and add haproxy?Install HAproxy and remove/disable the load balancer configuration. There is nothing to uninstall because it is a module in pfSense base. As has been mentioned it is deprecated in pfSense 2.5 so moving to HAproxy is the path forward.
-
Yes, I know that and I'm doing it. The question is, is 'load balancer' what might have been causing the browser problems?
-
https://docs.netgate.com/pfsense/en/latest/multiwan/load-balance-and-failover.html#problems-with-load-balancing
All of that pretty much applies to inbound as well as outbound.
-
All I can find for installation instructions is
https://www.servethehome.com/how-to-haproxy-ha-load-balance-a-web-server-with-a-pfsense-sg-4860/Does anyone know of a more current one that is using the current version that I've just installed?
Maybe this is the one? Wish it had image examples :).
https://github.com/PiBa-NL/pfsense-haproxy-package-doc/wikiThis second version is way too complicated for the average person that just wants to get a basic setup working, then learn more about the advanced functions/features later.
-
We did a hangout on it:
https://youtu.be/FJSHMyrd29EThere is some relayd stuff there too but it's mostly about setting up HAProxy.
Steve
-
This post is deleted!