cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1568
Views
0
Helpful
3
Replies

ACE L7 Load Balancing Policy Assistance

CARL HEMMINGSEN
Beginner
Beginner

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

3 Replies 3

jlamousn
Beginner
Beginner

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

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

Hi Joel,

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers