08-22-2012 01:45 AM
Hi,
I'm currently looking at doing some re-design work for a platform we manage on the ACE.
I want to be able to run a single VIP and only do a sticky session based around specific URL's not all.
I've got the following configuration to apply a sticky session to a URL.
class-map type http loadbalance match-all WEB-CLASS-MAP-L7
2 match http url /urltobedefined.co.uk/test
class-map match-all WEB-CLASS-MAP-80
2 match virtual-address 192.168.1.1 tcp eq www
policy-map type loadbalance http first-match WEB-POLICY-L7
class WEB-CLASS-MAP-L7
sticky-serverfarm CORPORATE-HTTP-vFARM-STICKY
class class-default
Serverfarm - none sticky
policy-map multi-match VIP-POLICY
class WEB-CLASS-MAP-80
loadbalance vip inservice
loadbalance policy WEB-POLICY-L7
loadbalance vip icmp-reply
Notice, under the Policy-map type loadbalance http first-match WEB-POLICY-L7 i have two class statements, one that matches the URL L7 policy and applies a sticky farm and the second class falls into the default.
Am i right in saying with this configuration, any http traffic hitting the VIP 192.168.1.1 that does NOT match /urltobedefined.co.uk/test sticky sessions are NOT applied. But traffic hitting 192.168.1.1 that does match /urltobedefined.co.uk/test will apply the sticky policy?
Any feedback would be appreciated.
Cheers,
Solved! Go to Solution.
08-22-2012 03:30 AM
08-22-2012 03:30 AM
Hi,
Your understanding is correct.
Regards,
Siva
08-22-2012 03:57 AM
Cool, cheers Sivaksiv i'll give it a go.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide