Forum Discussion

Bob_Olson_10988's avatar
Bob_Olson_10988
Icon for Nimbostratus rankNimbostratus
Apr 27, 2007

Load Balance Mini JBOSS Clusters with F5 iRules

Hello;

 

 

Has anyone had any experience with re-creating the Mod_JK functionality for load balancing JBOSS clusters with iRules?

 

 

My middleware team wants to have several small clusters instead of one large one and they are requiring that it be hardware load balanced.

 

 

I was thinking about creating 2 pools that represent the servers in the two clusters then create a virtual server with an iRule resource that inspects the URI or cookie and sends the traffic from the web server to the appropriate pool.

 

 

Any ideas would be greatly appreciated.

 

 

-Bob
  • Colin_Walker_12's avatar
    Colin_Walker_12
    Historic F5 Account
    It sounds like your idea should work just fine. It's pretty straight-forward logic in an iRule to inspect a URI or a cookie and make a routing decision. Once you've got the flow outlined and know what you need to look for, let us know if you've got any specific questions regarding syntax or the like.

     

     

    Colin