Hello. We had been using Microsoft's native load balancing with some success,
but decided to move to a hardware load balancing system. We run CFMX7 on IIS 6
machines, 2 identically configured boxes. While I have installed CF on these
boxes and have been using CF for about 7 years, it's normally a very, very
small part of my job. In other words, I'm far from an expert.
So we have the load balancer setup, and it works well with one of our HTML
sites and a fairly static CFM page. But in one of our more complex sites, one
much like a shopping cart, it doesn't work. Everything times out. I'm sure
the balancer is setup correctly, I've redone it many times now and the same
settings work with those smaller test sites. I can ping the main IP address of
the URL, and the IP addresses of the sites on the W2K3 boxes. Tracerts do pass
through the load balancer. I do have persistence turned on with the load
balancer, which I know is important (though since the main page is never
served, I'm not sure that's the problem).
Since some easy sites work, I suspect it must be some issue with CF. Either
in the code this site uses, or in something else. Does anyone have any good
troubleshooting techniques. Is there anything I can tell the code writers to
look for in the code, is there anything in the CF application or IIS I should
look at? I am getting some sort of connection as the SSL certificate is passed
through, I can view it on the browser and it is correct.
Thanks for any ideas or anything to point me in a direction.
Rick W - 28 Jan 2006 19:31 GMT
Follow up, it appears the connection does work but gets caught in an infinite
loop that isn't there without the load balancer. From Firefox I receive an
error "redirection limit for this URL exceeded". When I try it from IE, I see
a series of progress reports at the bottom that says locating website, website
found, and then redirecting to website (which is the site in the address bar to
begin with). So obviously something about the Balancer is creating an infinite
loop and I would assume with the code. I tested it out by giving the hardware
balancer an IP that is different than the real site, and then creating a
virtual cluster with the real site's IP still there. This worked, I typed the
fake IP into the browser and the correct site appears. I'll have the
programmers look for redirections, but again if anyone has any specific ideas
it would be great.
TIA
Rick W - 30 Jan 2006 22:18 GMT
Another followup, the issue is that they want to automatically redirect people
to the HTTPS. So their code in application.cfm does that, but when it is run
it sends them to https://URL and then when they get there, they run that same
application.cfm and it does the same.
The problem is the load balancer talks to the servers in port 80. The SSL
cert is on the load balancer, so communication between it and the user is via
443. So if CF is looking at the HTTPS CGI variable, it is always set to
false. Anyone have a good idea on how to solve it?