On 2016-12-02 03:47 PM, Jim Pingle wrote:
On 12/02/2016 06:04 AM, Ugo Bellavance wrote:
I'd like to know if there is a way to switch from a port forward to a
server load balancer configuration without downtime. Can I create
everything in the load balancer config and then remove the port forward
at the end?
v 2.3.2-RELEASE-p1
Using relayd (Services > Load Balancer) or the HAProxy package?
I'm already using relayd for other services, so I was planning to go
this way again.
If using relayd, then maybe but probably not. relayd hooks in using NAT
similar to a port forward but it would take precedence. The moment the
frontend is setup it would likely take over the port forward even if you
were not ready. If it all happened to work on the first try, then it
would be fine.
That's I thought that I experienced the previous time - relayd overrides
port forward.
If you're using the haproxy package then that would work fine. It would
bind to the outside address directly but the port forward would bypass
that. After you've tested it from the inside you could disable the port
forward and it would take over from there.
Given the choice between the two, I would always take HAProxy.
I tend to use the most simple system that fits my need. It is for a
simple failover system.
Thanks,
Ugo
_______________________________________________
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold