I would like some advise on setting up a Layer 7 Load Balancing Policy. We are looking at including an advertising banner on our websites, and are testing the following configuration on our ACE modules.
class-map type http loadbalance match-any MATCH_BANNER description Match /Banner/* for BannerDelivery Redirect 2 match http url .*/[bB][aA][nN][nN][eE][rR]/.*
class-map match-all VIP_WEBSITE_HTTPS 2 match virtual-address 10.10.10.10 tcp eq https
policy-map type loadbalance first-match VIP_WEBSITE_HTTPS-l7slb class MATCH_BANNER serverfarm SF_BANNER_https ssl-proxy client SSLPROXYCLIENT class class-default serverfarm SF_WEBSITE_HTTPS ssl-proxy client SSLPROXYCLIENT
policy-map multi-match VLAN300_LAYER4_POLICY
class VIP_WEBSITE_HTTPS loadbalance vip inservice loadbalance policy VIP_WEBSITE-HTTPS-l7slb ssl-proxy server WEBSITE_Proxy
We are finding however that while the first load of the page works, when the page is reloaded by the client the banner is not loaded. I am just wanting to make sure that the way we are going about the configuration is correct.
Do you have "persistence rebalance" enabled? If not you may need to enable it. By default the ace does not do L7 SLB for multiple request in the same tcp connection. It just does it for the first request.
CCIE R&S - 36768
Engineer, Customer Support