Forum Discussion

mahnsc's avatar
mahnsc
Icon for Nimbostratus rankNimbostratus
Aug 27, 2009

JSessionID Persistence over AJP13

This has probably been asked and answered a hundred times or more on this forum but I'm not getting much luck with the search function.

 

 

I get the whole irule based on jsessionid thing--that's not really an issue. What I'm curious about is whether people who are persisting based on jsessionid are assigning the irule to a vip that has an http profile attached to it of a fasthttp profile or is it something else? The reason why I ask is because ajp13 is not really http...
  • mahnsc's avatar
    mahnsc
    Icon for Nimbostratus rankNimbostratus
    Yeah, ok. That's what I'm referring to. I'm looking to replace the load-balancing that mod_jk on the web server performs across 4 app servers with a single vip and let the bigip handle it. So, on my web servers now I have 4 workers defined in workers.properties. Those would be replaced with a single worker representing the VIP.
  • FWIW, we actually preferred mod_proxy to mod_jk here - the performance was fine and we found the configuration and options available much more appealing since you're dealing with good old HTTP.

     

     

    -Matt
  • mahnsc's avatar
    mahnsc
    Icon for Nimbostratus rankNimbostratus
    I prefer mod_proxy_http as well but we terminate SSL at the bigip, http to apache, and then from apache to tomcat, jboss, or pramati (depending upon service requested). The main thing that worries me with a mod_proxy setup is all the port translation going on. One absolute url including the scheme in the site's html seems to cause the whole thing to get messy fast (and development never seems to have the funding to fix these kind of problems).

     

     

    Still, maybe I should go drastic and swap out mod_jk too. It would make things cleaner (on paper at least).

     

  • Would it be an option to collapse the proxy layer in favor of an iRule? This is a fairly common design that works great if the environment is right for it...

     

     

    -MC