Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Need some help on load balanced web servers

Thread Tools
 
Search this Thread
 
Old 07 June 2002, 12:16 PM
  #1  
mega_stream
Scooby Regular
Thread Starter
 
mega_stream's Avatar
 
Join Date: May 2001
Location: Scotland
Posts: 4,580
Likes: 0
Received 0 Likes on 0 Posts
Question

Can anyone advise me on the following,

We house a web site behind a set of load balanced firewalls.
When a connection is made using an ISP that uses a proxy farm, the load balancer at our end thinks its a new connection and kills the established one, kicking the user out the system.

What's the workaround for this? I can't ring the ISP and ask them for a persistant connection...what needs to be done to get our end to know its the same connection even though it maybe coming from a different Proxy server!

Any clues anyone?



Old 07 June 2002, 02:24 PM
  #2  
stevem2k
Scooby Regular
 
stevem2k's Avatar
 
Join Date: Sep 2001
Location: Kingston ( Surrey, not Jamaica )
Posts: 4,670
Likes: 0
Received 0 Likes on 0 Posts
Post

Just for clarity, are you load balancing on the firewall ( which one ? ) or on a local director ...

Steve
Old 07 June 2002, 02:37 PM
  #3  
mega_stream
Scooby Regular
Thread Starter
 
mega_stream's Avatar
 
Join Date: May 2001
Location: Scotland
Posts: 4,580
Likes: 0
Received 0 Likes on 0 Posts
Post

On the firewalls, using Rainfinity
Old 07 June 2002, 02:46 PM
  #4  
krankyd
Scooby Regular
 
krankyd's Avatar
 
Join Date: May 2001
Posts: 672
Likes: 0
Received 0 Likes on 0 Posts
Post

can't the ISP allow more that one concurrent connection per IP address? I know a lot of business customers and all of their web based traffic comes through a few proxy's, therefore a few IP addresses..

Old 07 June 2002, 03:03 PM
  #5  
dsmith
Scooby Regular
 
dsmith's Avatar
 
Join Date: Mar 1999
Posts: 4,518
Likes: 0
Received 0 Likes on 0 Posts
Post

The load balancer software sounds like its getting confused. It should a) allow multiple connections from 1 Ip address and b) remember which web-server the connection is to and keep all new connections from that source to the same web-server.

Id it was a local director you'd need to adjust the "sticky" connections parameters - but unfortunately I've never seen rainfinity...

Deano
Old 07 June 2002, 03:06 PM
  #6  
SiCotty
Scooby Regular
 
SiCotty's Avatar
 
Join Date: Jan 2001
Posts: 442
Likes: 0
Received 0 Likes on 0 Posts
Post

I'm not an expert on load balancing solutions but from what I can remember either an ID in the HTTP/SSL session is used or a cookie to maintain persitence. Using the cookie the load balancer will create a cookie to track the users session. This should be unaffected by any mega proxies. Most of these dedicated load balancers can also perform firewall load balancing.

Si
Old 09 June 2002, 02:55 AM
  #7  
stevencotton
Scooby Regular
 
stevencotton's Avatar
 
Join Date: Jan 2001
Location: behind twin turbos
Posts: 2,710
Likes: 0
Received 1 Like on 1 Post
Post

Yep, if the same client can come from more than one IP address in one session due to a proxy at their end, you'll have to maintain state client-side with a cookie or munging the URL. The normal way to do it is with an MD5 hash to prevent "hijacking" of the session.

Steve.

Trending Topics

Old 09 June 2002, 07:48 AM
  #8  
mega_stream
Scooby Regular
Thread Starter
 
mega_stream's Avatar
 
Join Date: May 2001
Location: Scotland
Posts: 4,580
Likes: 0
Received 0 Likes on 0 Posts
Thumbs up

Thanks, I'll look into it tomorrow.
Old 09 June 2002, 10:24 AM
  #9  
Jeff Wiltshire
Scooby Regular
 
Jeff Wiltshire's Avatar
 
Join Date: Nov 2000
Location: 412 Wheel HP Audi RS4
Posts: 2,021
Likes: 0
Received 1 Like on 1 Post
Post

I think that you'll have to front (and back) end your Firewalls with a L3-L7 switch (Alteon, Foundry etc) which will give you the persistance that you require.

Jeff
Old 10 June 2002, 10:37 AM
  #10  
stevencotton
Scooby Regular
 
stevencotton's Avatar
 
Join Date: Jan 2001
Location: behind twin turbos
Posts: 2,710
Likes: 0
Received 1 Like on 1 Post
Post

I don't see how the load balancer comes into it, HTTP is completely stateless yet the load balancer may route certain IP addresses to certain back-end servers, but that wont help session persistence problems, that has to be done client side. Unless of course the latest load-balancers speak fluent layer 4 Load balancing and session-state-saving across requests are two entirely different issues, they just seem to overlap sometimes (when they don't).

Steve.
Old 10 June 2002, 12:45 PM
  #11  
Jeff Wiltshire
Scooby Regular
 
Jeff Wiltshire's Avatar
 
Join Date: Nov 2000
Location: 412 Wheel HP Audi RS4
Posts: 2,021
Likes: 0
Received 1 Like on 1 Post
Post

Steve

Your quite right, of course.....I should a read the question properly.....!



Jeff
Old 10 June 2002, 02:10 PM
  #12  
stevencotton
Scooby Regular
 
stevencotton's Avatar
 
Join Date: Jan 2001
Location: behind twin turbos
Posts: 2,710
Likes: 0
Received 1 Like on 1 Post
Post

Heh, my first reply was wrong for the same reason, but hadn't submitted

Steve.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Rbon91
ScoobyNet General
49
21 November 2018 03:23 PM
PetrolHeadKid
Driving Dynamics
10
05 October 2015 05:19 PM
south_scoob
ScoobyNet General
22
03 October 2015 01:05 PM
IAN WR1
ScoobyNet General
8
28 September 2015 08:14 PM
sivo
ScoobyNet General
12
26 September 2015 12:34 PM



Quick Reply: Need some help on load balanced web servers



All times are GMT +1. The time now is 07:55 AM.