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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

ACE L7 Load Balancing Policy Assistance

Hi,

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

The goal is to load-balance requests for www.website.com/Banner/banner.aspx to another serverfarm to process the request.  Ultimatly we would like to do the same for other websites so www.website2.com/Banner/banner.aspx would use the same banner serverfarm.

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.

Any suggestions would be apprecaited.

Carl

Everyone's tags (3)
3 REPLIES
New Member

Re: ACE L7 Load Balancing Policy Assistance

Carl,

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.

Joel

Joel Lamousnery CCIE R&S - 36768 Engineer, Customer Support Technical Services
New Member

Re: ACE L7 Load Balancing Policy Assistance

By the way,

Sample config to enable persistence rebalance for your existing config is as follows:

parameter-map type http persist
  persistence-rebalance

policy-map multi-match VLAN300_LAYER4_POLICY

  class VIP_WEBSITE_HTTPS

         appl-parameter http advanced-options persist

Joel

Joel Lamousnery CCIE R&S - 36768 Engineer, Customer Support Technical Services
New Member

Re: ACE L7 Load Balancing Policy Assistance

Hi Joel,

Thanks for your response, I will give it a go and see if that resolves the problem.

1374
Views
0
Helpful
3
Replies
CreatePlease login to create content