ACE L7 Load Balancing Policy Assistance

Unanswered Question
Dec 17th, 2009
User Badges:

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
jlamousn Thu, 12/17/2009 - 14:04
User Badges:

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

jlamousn Thu, 12/17/2009 - 14:10
User Badges:

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

CARL HEMMINGSEN Thu, 12/17/2009 - 14:14
User Badges:

Hi Joel,


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

Actions

This Discussion