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

Sticky query - CSS11501

grichardson661
Level 1
Level 1

Hi,

So i'm pretty new to the CSS.

I've picked up a problem and need to verify how the sticky configuration works.

I've got two content rules as follows...

content HTTP

    vip address 10.31.33.100

    add service WEB01

    add service WEB02

    redundant-index 570

    port 80

    protocol tcp

    advanced-balance sticky-srcip

    url "//www.asdfghhjjkl.com/*"

    active

  content HTTPS

    vip address 10.31.33.100

    add service SSL.WEB01

    add service SSL.WEB02

    port 443

    protocol tcp

    url "/*"

    redundant-index 970

    application ssl

    advanced-balance sticky-srcip

    active

If a user were to navigate between 80 and 443 but based around the same VIP 10.31.33.100 but different content rules as per above, how would the sticky session apply? I would like a user to be stuck to a single web server regardless of which content rule they hit as per the above configuration.

Any ideas?

Cheers and much appreciated

2 Accepted Solutions

Accepted Solutions

Cesar Roque
Level 4
Level 4

Hi,

you need a configuration like this:

content HTTP

    vip address 10.31.33.100

    add service WEB01

    add service WEB02

    redundant-index 570

    protocol tcp

    advanced-balance sticky-srcip

    active

The services don't have to be configured with a port.

This Content Rule will take all the traffic going to the VIP address regardless if the client is doing HTTP or HTTPS, so the client will be sticky to the same server all the time.

Each Content Rule has its own sticky table so even when you are using the same VIP and same servers it does not mean that you will be sticky to the same server in two Content Rules

---------------------
Cesar R
ANS Team

--------------------- Cesar R ANS Team