09-23-2004 02:19 AM
We are using a CSS11501.
We want to implement sticky connections based on the JSessionID from the ORACLE application servers?
How could this be done?
Thank you in advance.
09-23-2004 03:08 AM
The CSS does not have the capability to learn cookies dynamically.
If you want to stick based on a cookie, you can use the
arrowpoint cookie.
This is a cookie that will be created by the CSS and inserted in the server response to the client.
Do use arrowpoint cookies, simply add the command 'avancedbalance arrowpoint' into your content rule.
If the jsessionid cookie contains a constant that we can use to identify the originating server, you can stick on this constant as described at :
Regards,
Gilles.
09-23-2004 04:06 AM
Gilles,
thank you very much for your prompt reply.
It is very helpful and gives the right answer to my question.
Just a clarification through my scenario; the CSS load balances across 3-servers at 3 different ports. Each server may handle a request to any of these different ports.
On top of each server sits an APACHE that also publishes three uri that the client hits. These uri are common for all servers.
Thus, in order to make sticky connections to my understanding, we should not check the cookie from the session that the client initiates (I mean any jessionid originated by hitting e.g. www.company1.com) but the server IP and port. There are also www.company2.com and www.company3.com.
Each of them resides on www.server1.com, www.server2.com and www.server3.com
That means a mixed configuration, if the jsessionid cannot contain a constant. As far I have seen this is dynamic and quite difficult to make it constant. Have you ever come across with this ? Is this possible (I mean a constant in the jsessionid)? It is sufficient to me, if this can be implemented. I will ask the developer to do so, but we donnot know whether this is achievable.
Any suggestions that you may have are more than welcome.
It is quite complex and confusing ... :(
09-25-2004 11:48 PM
I believe it is possible to have a server identifier inserted in the jsessionid or at least in another cookie.
The easiest solution is the arrowpoint-cookie.
The CSS will create the server identifier and place in a cookie so it can later do stickyness based on this info.
Be aware that a cookie is linked to a domain name.
So when going from www.company1.com to www.company2.com, there is no sitckyness.
My colleagure Stephane is working with you on your TAC service request, so he should be able to address your concern.
Feel free to post your questions on the forum however.
Gilles.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide