cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1677
Views
5
Helpful
5
Replies

Configuring sticky cookie in CSS-11500 for BEA Weblogic servers

etamara
Level 1
Level 1

Hi,

I'm configuring a couple of CSS11503 to load balance traffic for Weblogic web servers. I'm trying to apply persintence based on cookies. By default, Weblogic server generates cookies with the following format:

JSESSIONID=sessionid!primary_server_id

where "JSESSIONID" is the prefix, "sessionid" is the string generated for the session ( 52 bytes long - fixed - ), "!" is a delimiter character and "primary_server_id" identifies the server generating the cookie ( 10 bytes long - fixed -).

Has anybody faced a configuration scenario involving these elements ( CSS and weblogic )? If so, how should I configure my CSS11500 to stick clients based on cookies? How can I know the primary_server_id? I'm particularly interested in the string commands I need to configure.

Thanks in advance,

Enrique

5 Replies 5

seilsz
Level 4
Level 4

Enrique,

To match on the primary_server_id, your string commands would need to look something like this:

string prefix "JSESSIONID="

string skip-length 53

string process-length 10

The primary_server_id would need to be configured with the 'string' command for each service.

You can find complete configuration information here:

http://www.cisco.com/en/US/products/hw/contnetw/ps792/products_configuration_example09186a0080093de2.shtml

~Zach

Hi,

I have familiar problem.

My HTTP request comes to service behind load balancer and service produces and JSESSIONID.

I need , if a request comes a service with same JSESSIONID always goes to same service. I mean stcikyness.

does necessary add string command under services?

the CSS does not build a sticky table with the cookie value. [the CSM and the new ACE module do].

So, you have to either use the arrowpoint-cookies [browser can support multiple cookies, so this is no problem to add another one] or you have to identify in your servers cookie a static string that can be link to a particular server.

Gilles.

can you give me am small example configuration about this please?

Review Cisco Networking for a $25 gift card