Link to home
Start Free TrialLog in
Avatar of websss
websssFlag for Kenya

asked on

Load balance session to same server

I have a scenario where I need a load balancer
When a new tcp connection is initiated from the client, the load balancer much assign a server, and always route all traffic from that that to the server it initially picked

When I netstat, I see and ipaddress and port for the client. (connection) so it makes sense to use this as the identifier for that client

Is there any software in exisitance to do this? Or do. I need to write my own?
ASKER CERTIFIED SOLUTION
Avatar of noci
noci

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you're using Windows server, just install the feature Network Load Balancer.

It's free and you can add as many additional servers in there (you'll need to install NLB on each server you want to be part of the load balance)

You can allow specific ports (80,443) to load balance.  You can set it up to go to a specific server or load balance to the best server available and so on.

Here's a walkthrough on how to get it installed and configured:

https://wiki.unify.com/wiki/How_to_configure_NLB_for_Windows_Server
Avatar of noci
noci

@coolie: Topics are: "Linux networking"...    
haproxy is free & opensource.  and gratis as well.  without any requirement for Clustering or transforming your LAN into a broadcast network wrt. to NLB systems.  Or even a windows server license...
(effectively there are quite a few "hardware" loadbalancer's which actually run haproxy.)