Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

ACE HTTP loadbalancing problem

What i'm trying to achieve with the below config is

any request coming in with "programming" in the URL

will be mapped to one server and all else mapped to

a different. So what i see happening is that i can

get to the main page but not the page with "programming"

in the URL. I have to clear the connections to get

mapped to the serverfarm with that handles all requests

with "programming". I thought is was related to the

sticky serverfarm i had configured before so i reverted

to a ordinary serverfarm and it still doesn't work. Any

thoughts or suggestions????

rserver host TEST_01

ip address 10.10.204.200

inservice

rserver host TEST_02

ip address 10.10.204.201

inservice

serverfarm host TEST/PROG_SF

rserver TEST_02

inservice

serverfarm host TEST_SF

rserver TEST_01

inservice

class-map match-any TEST_VS

2 match virtual-address 10.10.215.27 tcp eq www

3 match virtual-address 10.10.215.27 tcp eq https

class-map type http loadbalance match-any TEST/PROG

3 match http url (/programming.*)

4 match http url /programming.*

policy-map type loadbalance first-match TEST_L7SLB

class TEST/PROG

serverfarm TEST/PROG_SF

class class-default

serverfarm TEST_SF

policy-map multi-match VIPS

class TEST_VS

loadbalance vip inservice

loadbalance policy TEST_L7SLB

loadbalance vip icmp-reply

interface vlan 215

service-policy input VIPS

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: ACE HTTP loadbalancing problem

you need to activate persistent rebalance which is not on by default so that subsequent requests inside the same tcp connection can be remapped to a different server if matching a different rule.

parameter-map type http HTTP-PARAM

persistence-rebalance

policy-map multi-match VIPS

class TEST_VS

appl-parameter http advanced-options HTTP-PARAM

Gilles.

2 REPLIES
Cisco Employee

Re: ACE HTTP loadbalancing problem

you need to activate persistent rebalance which is not on by default so that subsequent requests inside the same tcp connection can be remapped to a different server if matching a different rule.

parameter-map type http HTTP-PARAM

persistence-rebalance

policy-map multi-match VIPS

class TEST_VS

appl-parameter http advanced-options HTTP-PARAM

Gilles.

New Member

Re: ACE HTTP loadbalancing problem

That worked!!! Thank you very much!!!

281
Views
0
Helpful
2
Replies
CreatePlease to create content