aspose file tools*
The moose likes Tomcat and the fly likes Configuring Apache Tomcat F5 load balancing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Configuring Apache Tomcat F5 load balancing" Watch "Configuring Apache Tomcat F5 load balancing" New topic
Author

Configuring Apache Tomcat F5 load balancing

Santosh Kumar Balasubramani
Greenhorn

Joined: Jun 21, 2011
Posts: 12

Hi,

Can anyone help me out in Configuring the Apache Tomcat F5 load balancing. Also let me know which version of Apache and Tomcat connector have to be used.


Regards,
Santosh Kumar
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19696
    
  20

What do you mean with "F5 load balancing"? Load balancing with the latest version of mod_jk is pretty easy to accomplish by following the instructions.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Santosh Kumar Balasubramani
Greenhorn

Joined: Jun 21, 2011
Posts: 12

Hi Rob,

A load balancer is a device that acts as a reverse proxy and distributes network or application traffic across a number of servers. Load balancers are used to increase capacity (concurrent users) and reliability of applications. They improve the overall performance of applications by decreasing the burden on servers associated with managing and maintaining application and network sessions, as well as by performing application-specific tasks.

So this is the concept of Load balancing.

Regards,
Santosh
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19696
    
  20

I know what a load balancer is; I have configured a couple myself at work. What I didn't get is what F5 load balancing is.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16065
    
  21

F5 is a brand of web load-balancing device. Literally, a "black box" that you jack into the network ahead of the appservers.

As far as configuring it, I'd RTFM the F5 instruction manual. People use F5's with Tomcat all the time - I got polled on some of the finer points way back in 2005. Forgot it all now, though.


Customer surveys are for companies who didn't pay proper attention to begin with.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19696
    
  20

Tim Holloway wrote:F5 is a brand of web load-balancing device. Literally, a "black box" that you jack into the network ahead of the appservers.

Thanks for the info. I did check out some load balancing devices but the budget wouldn't let me use any, so we used Apache HTTPD in the end.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16065
    
  21

Rob Spoor wrote:
Tim Holloway wrote:F5 is a brand of web load-balancing device. Literally, a "black box" that you jack into the network ahead of the appservers.

Thanks for the info. I did check out some load balancing devices but the budget wouldn't let me use any, so we used Apache HTTPD in the end.


Of course, what this might very well mean is that instead of using a pre-optimized solution with Apache inside, you did the same general thing and spent the money on your labor rather than on theirs. Aren't bean counters wonderful?

A lot of the appliance devices are like that. Cisco's famous IOS is actually built on top of a BSD Unix, IIRC. Many of the other routers are powered by Linux, most famously WRT LinkSys (Cisco) devices.

While the prices on some gadgets are definitely over the top, one of the benefits is that by using a common pre-configured bundle, you can get it supported by commodity technicians and (often) a CodeRanch style community. And sometimes even the vendor will support it. (I'm looking at you, Intuit!)

It can be ironic that the same companies that cheerfully shift out people with critical internal knowledge every few years won't spend money on products that minimize the amount of internal knowledge needed. Commodity employees work better with commodity systems.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19696
    
  20

To make it even worse, we are now testing a hardware based solution after all. We found out that our firewalls (SonicWALL) have their own built-in load balancing functionality (I wasn't aware of that, I'm not a network admin). Since we already have them they've decided to use them instead of HTTPD. Of course that involves moving the servers to a different VLAN. Well, as long as it works and I have to spend minimal time on it, I don't really care.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16065
    
  21

Good case in point. Rumor has it that SonicOS is really Red Hat Enterprise Linux under the covers. Probably not using HTTPD, though, unless they really needed feature-rich services. Most likely either one of the lighter-weight servers or something that they wrote themselves.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19696
    
  20

My brother works for SonicWALL and he regularly asked me questions about Linux and shell scripts, so I can confirm that it's at least based on some Linux distribution.
On a side note, our Avaya S8700 telephone system also runs on RHEL. Linux is just everywhere
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Configuring Apache Tomcat F5 load balancing