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

CSS load balancing issue: url isn't accessible even though services are up

gavin han
Level 1
Level 1

service Server1:80

  ip address 10.10.10.34

  protocol tcp

  port 80

  keepalive type http

  keepalive uri "/test.asp"

  active

service Server2:80

  protocol tcp

  port 80

  keepalive type http

  keepalive uri "/test.asp"

  ip address 10.10.10.35

  active

owner Ow1

content LBR1:80

    vip address 192.168.1.159

    port 80

    protocol tcp

    url "/*"

    balance weightedrr

    add service Server1:80

    add service Server2:80

    advanced-balance sticky-srcip

    sticky-inact-timeout 21

    flow-timeout-multiplier 8

    active

service Server1:80

  ip address 10.10.10.34

  protocol tcp

  port 80

  keepalive type http

  keepalive uri "/test.asp"

  active

service Server2:80

  protocol tcp

  port 80

  keepalive type http

  keepalive uri "/test.asp"

  ip address 10.10.10.35

  active

owner OW1

  content LBR2:80

    vip address 192.168.1.98

    protocol tcp

    port 80

    url "/*"

    balance weightedrr

    add service Server1:80

    add service Server2:80

    advanced-balance sticky-srcip

    sticky-inact-timeout 21

    flow-timeout-multiplier 8

    active

All services are alive all the time and both contexts are alive all the time.

when user tries to access LBR2:80's URL it works all the time. but when user tries to access LBR1:80's url then it works sometimes and some times it doesn't work.

could you advise what the issue could be?

1 Reply 1

Andrew Nam
Level 1
Level 1

When the SYN comes in the CSS will first check for the srcip in the sticky database

and if it finds a match will forward to the stuck server. If the source ip is not

in the sticky database the request will be load balanced using weightedrr and

a server selected. That sticky server will then be added to the sticky database.


If the sticky-srcip is used between 2 content rule, it will use separate sticky table.

You may need to take packet capture to understand what is really failing along with
a following outputs :


sh flow 
sh rule Ow1 LBR1:80 ser


regards

Andrew

Review Cisco Networking for a $25 gift card