cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
485
Views
0
Helpful
1
Replies

Sticky sessions across multiple content rules

robersona
Level 1
Level 1

Hi,

If a client PC initiates two requests which match different content rules on a CSS (first request http port 80 to CSS VIP downloads a small application. This application then sends a second request to the VIP, on tcp port 8085) can sticky rules be configured on the CSS content rules, so that they hit the same destination server, given that both content rules contain the same services, and hence be considered part of the same session?

Thanks

1 Accepted Solution

Accepted Solutions

Gilles Dufour
Cisco Employee
Cisco Employee

there is no sitcky accros content rules option on the CSS.

But there are solutions to this problem.

First, are you doing anything special with your HTTP content rule ? Like cookies or url inspection ?

If not, you can group the 2 content rules into a single one. You will have 1 Layer3 rule instead of 2 Layer 4 rules.

If you have L5-7 rules [http inspection], the previous solution is not possible.

You will need to maintain 2 rules.

You could then use a 'balance srcip' balancing method on both rules.

This algorithm is deterministic.

The same client will always go to the same server.

Hope this helps.

Regards,

Gilles.

Thanks for rating.

View solution in original post

1 Reply 1

Gilles Dufour
Cisco Employee
Cisco Employee

there is no sitcky accros content rules option on the CSS.

But there are solutions to this problem.

First, are you doing anything special with your HTTP content rule ? Like cookies or url inspection ?

If not, you can group the 2 content rules into a single one. You will have 1 Layer3 rule instead of 2 Layer 4 rules.

If you have L5-7 rules [http inspection], the previous solution is not possible.

You will need to maintain 2 rules.

You could then use a 'balance srcip' balancing method on both rules.

This algorithm is deterministic.

The same client will always go to the same server.

Hope this helps.

Regards,

Gilles.

Thanks for rating.

Review Cisco Networking for a $25 gift card