Forum Discussion
John_48565
Nimbostratus
Apr 09, 2010Weblogic JSESSIONID Persistance Issue
Need help. Newbie to iRules and Weblogic.
I have an issue with a current JSESSIONID Persistence rule. It is only looking for the existence of the JSESSIONID cookie. I need to be able to look in the cookie and use the values.
I have 3 Weblogic servers in a cluster that is replicating context in memory. From what I have read, the cookie consists of:
sessionid!primary_server_id!secondary_server_id
http://devcentral.f5.com/wiki/default.aspx/iRules/Weblogic_JSessionID_Persistence.html
The above page provides a detailed iRule, but doesn't give me the ability to look for the secondary_server_id to load balance to. If the primary server fails or is too busy, then it will use the whatever the load balancing algorithm is set to for the virtual server. This is stated in the intro.
I need it to load balance to the secondary server in the cookie or else the other Weblogic server will not have any of the session information.
Thanks in advance.
3 Replies
- hoolio
Cirrostratus
Hi John,
I started working on a draft rule to do just this. I added the rule in this post (Click Here). Unfortunately, on 10.1 it causes a TMM core. I have a case open with F5 and am waiting on more info. I'll update the other thread once I get an answer.
Aaron - John_48565
Nimbostratus
Thanks Aaron,
I just happened to see the other post. It is exactly my issue. I will wait for your update. - hoolio
Cirrostratus
Hi John,
I just update the other post with a new version of the iRule. Please check the notes and try it on a test unit first to see if you find any issues.
Thanks,
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
