ADVERTISEMENT

OT: Anyone work with Load Balancers?

DJ Spanky

The Lunatic is in my Head
Moderator
Jul 25, 2001
65,908
42,323
113
I'm working on a load balanced solution for my company and have run into a road block on how to pass the calling IP's through the load balancer to the host machines.
 
When I go out drinking I balance my load with beer and bourbon. Really good bourbon and classic Belgium beers. Hope that helps
 
I'm not sure I understand the problem. It's been a few years, but my recollection is that a load balancer appliance (like an F5, or similar) has a single external IP address that is part of the IP route. Incoming packets hit the inbound port of the appliance, which figures the rest out by itself - that's how they work.

So... what am I missing?
 
I'm working on a load balanced solution for my company and have run into a road block on how to pass the calling IP's through the load balancer to the host machines.


I haven't really worked with that stuff in a while so my memory is a little fuzzy. You have two options: 1) configure the load balancer as the gateway for your application servers and have it perform SNAT functions or 2) have the load balancer add a header to the request (typically X-Forwarded-For) that contains the original client's IP address.
 
61036674.jpg
 
  • Like
Reactions: DirtyRU and LC-88
This thread is going exactly in the direction I thought it would when I read the title.
 
How small of a company are we talking about here? Who takes care of the routers and firewalls? Whoever that person is should be able to answer all your questions during the course of a single smoke break.
 
I'm working on a load balanced solution for my company and have run into a road block on how to pass the calling IP's through the load balancer to the host machines.

Host machines? Load balancers? Dude....1996 called and wants you back! We use Azure at my company for everything. I have a room full of people who hate Microsoft and yet they all agree that Azure is the greatest thing ever. Why? because at their old companies they all had to do what you do...and had a ton of hassle and outages because of it.

Sorry. I don't think that actually answered your question. But really....use Azure.
 
Host machines? Load balancers? Dude....1996 called and wants you back! We use Azure at my company for everything. I have a room full of people who hate Microsoft and yet they all agree that Azure is the greatest thing ever. Why? because at their old companies they all had to do what you do...and had a ton of hassle and outages because of it.

Sorry. I don't think that actually answered your question. But really....use Azure.
Azure-brings back nightmares of latency issues at our small company. Slowed our operations to a grinding halt. Ran from that crap and never looked back.
 
i clicked on this thread thinking you needed automotive advice in regards to your suspension but then i see it's about computers.. get a faster PC/Server(Quad-Core Processors) with SSHDs
 
Okay, just got in from Happy Hour - simply put, we're moving from a provider that has a dedicated web server machine and DB machine to a cloud based provider (RackSpace) where we will have multiple web servers, a DB server and a resource server. A load balancer will sit in front of the web servers. Currently we are getting the internal IP of the load balancer coming to the applications on the web server. As our clients rely on our software providing IP detection, this is a roadblock we need to get past. (As well as doing this through SSL, but one step at a time.) We're in a Windows Server 2012 environment, and all of the solutions I've found and RackSpace has pointed me to are in other environments. We're a small web firm, so we don't have a dedicated network person who could help resolve this issue.

By the way, RUinBoston, we walked away from Azure as they were not responsive enough in helping to set up our environment. Also we ran into other issues when we were trying them out.

Cody, it's a Windows Server environment and our applications are in .NET/ASPX/C#. With some JS and PHP floating around in places.

Trekology, that's pretty much what I want to do, and I've found ton's of explanations how to do it on Apache, WebSphere or DOS, but I can't find the steps laid out to do it in Windows Server/IIS.
 
Okay, just got in from Happy Hour - simply put, we're moving from a provider that has a dedicated web server machine and DB machine to a cloud based provider (RackSpace) where we will have multiple web servers, a DB server and a resource server. A load balancer will sit in front of the web servers. Currently we are getting the internal IP of the load balancer coming to the applications on the web server. As our clients rely on our software providing IP detection, this is a roadblock we need to get past. (As well as doing this through SSL, but one step at a time.) We're in a Windows Server 2012 environment, and all of the solutions I've found and RackSpace has pointed me to are in other environments. We're a small web firm, so we don't have a dedicated network person who could help resolve this issue.

By the way, RUinBoston, we walked away from Azure as they were not responsive enough in helping to set up our environment. Also we ran into other issues when we were trying them out.

Cody, it's a Windows Server environment and our applications are in .NET/ASPX/C#. With some JS and PHP floating around in places.

Trekology, that's pretty much what I want to do, and I've found ton's of explanations how to do it on Apache, WebSphere or DOS, but I can't find the steps laid out to do it in Windows Server/IIS.
Do you have any virtualization?
 
It's interesting to hear people say that they have Latency issues with Azure. We've never has any such problem. We run a data intensive web service through Azure and out clients say that we are faster than Bloomberg, capital IQ, etc. However I imagine it all depends on what exactly the tasks you are doing. Also, I would say that, having been with Azure for 5 years now, almost since the beginning, they have improved dramatically the service, so it may be worth trying again.

As far as MSFT not being responsive enough in helping...I totally get that. I sometimes wonder if there is an actually living person working over there. They definitely want you to rely primarily on their online documentation.

Anyway, good luck, wish I could help.
 
BTW, I apologize if my reply sounded snarky...I didn't mean it that way. I only posted it because my guys repeatedly tell me how happy they are that they don't have to do the stuff anymore that you are doing, and how much more reliable the service is. And they are not Microsoft kind of people....
 
ADVERTISEMENT
ADVERTISEMENT