×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Error: Maximum 10 http header map is allowed per policy

Unanswered Question

We are migrating from ACE 20 module to an ACE 4710 appliance.


The following config (snippet)  WORKS on the old ACE 20 module with A2(3.2d) code...


sticky http-cookie netcookie-bpmportalqa sticky-bpmportalqa
  cookie insert browser-expire
  replicate sticky
  serverfarm bpmportalqa
sticky http-cookie netcookie-bpmqa-cenful sticky-bpmqa-cenful
  cookie insert browser-expire
  replicate sticky
  serverfarm bpmqa-cenful
sticky http-cookie netcookie-bpmqa-moao sticky-bpmqa-moao
  cookie insert browser-expire
  replicate sticky
  serverfarm bpmqa-moao
sticky http-cookie netcookie-bpmqa-glaes sticky-bpmqa-glaes
  cookie insert browser-expire
  replicate sticky
  serverfarm bpmqa-glaes
sticky http-cookie netcookie-bpmqa-rtlfrcl sticky-bpmqa-rtlfrcl
  cookie insert browser-expire
  replicate sticky
  serverfarm bpmqa-rtlfrcl
sticky http-cookie netcookie-bpmqabatch-cenful sticky-bpmqabatch-cenful
  cookie insert browser-expire
  replicate sticky
  serverfarm bpmqabatch-cenful
sticky http-cookie netcookie-bpmqabatch-moao sticky-bpmqabatch-moao
  cookie insert browser-expire
  replicate sticky
  serverfarm bpmqabatch-moao
sticky http-cookie netcookie-bpmqabatch-glaes sticky-bpmqabatch-glaes
  cookie insert browser-expire
  replicate sticky
  serverfarm bpmqabatch-glaes
sticky http-cookie netcookie-bpmqabatch-rtlfrcl sticky-bpmqabatch-rtlfrcl
  cookie insert browser-expire
  replicate sticky
  serverfarm bpmqabatch-rtlfrcl
sticky http-cookie netcookie-bpmqa-commercial sticky-bpmqa-commercial
  cookie insert browser-expire
  replicate sticky
  serverfarm bpmqa-commercial
sticky http-cookie netcookie-bpmqa-capital sticky-bpmqa-capital
  cookie insert browser-expire
  replicate sticky
  serverfarm bpmqa-capital
sticky http-cookie netcookie-bpmqabatch-commercial sticky-bpmqabatch-commercial
  cookie insert browser-expire
  replicate sticky
  serverfarm bpmqabatch-commercial
sticky http-cookie netcookie-bpmqabatch-capital sticky-bpmqabatch-capital
  cookie insert browser-expire
  replicate sticky
  serverfarm bpmqabatch-capital


class-map type http loadbalance match-all bpmqa-capital-L7-cm
  2 match http header Host header-value "bpmqa.bbtnet.com.*"
  3 match http url /capital/.*
class-map type http loadbalance match-all bpmqa-cenful-L7-cm
  2 match http header Host header-value "bpmqa.bbtnet.com.*"
  3 match http url /cenful/.*
class-map type http loadbalance match-all bpmqa-commercial-L7-cm
  2 match http header Host header-value "bpmqa.bbtnet.com.*"
  3 match http url /commercial/.*
class-map type http loadbalance match-all bpmqa-glaes-L7-cm
  2 match http header Host header-value "bpmqa.bbtnet.com.*"
  3 match http url /glaes/.*
class-map type http loadbalance match-all bpmqa-moao-L7-cm
  2 match http header Host header-value "bpmqa.bbtnet.com.*"
  3 match http url /moao/.*
class-map match-all bpmqa-prod-vip
  2 match virtual-address xxx.xxx.xxx.xxx tcp eq www
class-map type http loadbalance match-all bpmqa-rtlfrcl-L7-cm
  2 match http header Host header-value "bpmqa.bbtnet.com.*"
  3 match http url /rtlfrcl/.*
class-map type http loadbalance match-all bpmqabatch-capital-L7-cm
  2 match http header Host header-value "bpmqabatch.bbtnet.com.*"
  3 match http url /capital/.*
class-map type http loadbalance match-all bpmqabatch-cenful-L7-cm
  2 match http header Host header-value "bpmqabatch.bbtnet.com.*"
  3 match http url /cenful/.*
class-map type http loadbalance match-all bpmqabatch-commercial-L7-cm
  2 match http header Host header-value "bpmqabatch.bbtnet.com.*"
  3 match http url /commercial/.*
class-map type http loadbalance match-all bpmqabatch-glaes-L7-cm
  2 match http header Host header-value "bpmqabatch.bbtnet.com.*"
  3 match http url /glaes/.*
class-map type http loadbalance match-all bpmqabatch-moao-L7-cm
  2 match http header Host header-value "bpmqabatch.bbtnet.com.*"
  3 match http url /moao/.*
class-map type http loadbalance match-all bpmqabatch-rtlfrcl-L7-cm
  2 match http header Host header-value "bpmqabatch.bbtnet.com.*"
  3 match http url /rtlfrcl/.*
class-map type http loadbalance match-all bpmqaportal-L7-cm
  2 match http header Host header-value "bpmportalqa.bbtnet.com.*"


policy-map type loadbalance http first-match bpmqa-lb
  class bpmqaportal-L7-cm
    sticky-serverfarm sticky-bpmportalqa
    insert-http X-Forwarded-For header-value "%is:%ps"
  class bpmqa-cenful-L7-cm
    sticky-serverfarm sticky-bpmqa-cenful
    insert-http X-Forwarded-For header-value "%is:%ps"
  class bpmqa-moao-L7-cm
    sticky-serverfarm sticky-bpmqa-moao
    insert-http X-Forwarded-For header-value "%is:%ps"
  class bpmqa-glaes-L7-cm
    sticky-serverfarm sticky-bpmqa-glaes
    insert-http X-Forwarded-For header-value "%is:%ps"
  class bpmqa-rtlfrcl-L7-cm
    sticky-serverfarm sticky-bpmqa-rtlfrcl
    insert-http X-Forwarded-For header-value "%is:%ps"
  class bpmqa-commercial-L7-cm
    sticky-serverfarm sticky-bpmqa-commercial
    insert-http X-Forwarded-For header-value "%is:%ps"
  class bpmqa-capital-L7-cm
    sticky-serverfarm sticky-bpmqa-capital
    insert-http X-Forwarded-For header-value "%is:%ps"
  class bpmqabatch-cenful-L7-cm
    sticky-serverfarm sticky-bpmqabatch-cenful
    insert-http X-Forwarded-For header-value "%is:%ps"
  class bpmqabatch-moao-L7-cm
    sticky-serverfarm sticky-bpmqabatch-moao
    insert-http X-Forwarded-For header-value "%is:%ps"
  class bpmqabatch-glaes-L7-cm
   sticky-serverfarm sticky-bpmqabatch-glaes
    insert-http X-Forwarded-For header-value "%is:%ps"
  class bpmqabatch-rtlfrcl-L7-cm
    sticky-serverfarm sticky-bpmqabatch-rtlfrcl
    insert-http X-Forwarded-For header-value "%is:%ps"
  class bpmqabatch-commercial-L7-cm
    sticky-serverfarm sticky-bpmqabatch-commercial
    insert-http X-Forwarded-For header-value "%is:%ps"
  class bpmqabatch-capital-L7-cm
    sticky-serverfarm sticky-bpmqabatch-capital
    insert-http X-Forwarded-For header-value "%is:%ps"
  class class-default
    drop


policy-map multi-match lb-vip
  class bpmqa-prod-vip
    loadbalance vip inservice
    loadbalance policy bpmqabatch-lb
    loadbalance vip icmp-reply active
    nat dynamic 1 vlan 2450
    appl-parameter http advanced-options generic-http-parameter-map
    connection advanced-options generic-parameter-map



When pasting in the config on the ACE 4710 running A4(2.1) code, I get the subject error message when trying to enter in the highlighted sticky-serverfarm command above.  Again, this config works on the older hardware and older code.  As you can see, there are already well more than 10 regexp before it hits the sticky-serverfarm command in question.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.

never mind.  I found my issue.  In the old config, we used the same name for all cookie names.  During the move, we changed names of the cookies in the sticky groups.  Combined with the X-Forward-For, the first 9 sticky cookie names with the X-Forward work and it died on the 10th different cookie name. 

Actions

This Discussion