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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

ACE dynamic configuration

Hi group,

First off, thanks for the many insightful comments and answers that can be found on this forum.

I am using a Cisco ACE for load-balancing my website, the current configuration looks something like this:

 

probe tcp PROBE_TCP
  port 80
  interval 5

rserver host ns123
  ip address 172.16.0.50
  conn-limit max 50000 min 40000
  inservice
rserver host ns124
  ip address 172.16.0.40
  conn-limit max 50000 min 40000
  inservice
rserver host ns125
  ip address 172.16.0.30
  conn-limit max 50000 min 40000
  inservice

serverfarm host FARM_WEB
  predictor leastconns
  probe PROBE_TCP
  rserver ns123
    inservice
  rserver ns124
    inservice
  rserver ns125
    inservice

 

parameter-map type http HTTP_PARAMETER_MAP
  case-insensitive
  persistence-rebalance
  set header-maxparse-length 65535
  set content-maxparse-length 65535
  length-exceed continue
  parsing non-strict

sticky http-cookie ACE-Insert web-sticky
  cookie insert browser-expire
  serverfarm FARM_WEB
  timeout 5

class-map match-all L4-WEB-IP
  2 match virtual-address [my ip] tcp eq www

policy-map type loadbalance http first-match WEB_L7_POLICY
  class class-default
    sticky-serverfarm web-sticky
    insert-http x-forward header-value "%is"

policy-map multi-match WEB-to-vIPs
  class L4-WEB-IP
    loadbalance vip inservice
    loadbalance policy WEB_L7_POLICY
    loadbalance vip icmp-reply active
    nat dynamic 1 vlan [my vlan]
    appl-parameter http advanced-options HTTP_PARAMETER_MAP

[and some interface stuff]

 

Everything works as it should!! Pheew :-)

Now, I'd like to introduce another device into this scenario (a varnish cache server) - and if the varnish cache server (let's call this vc130) is up and running, it should send all traffic to this server - if the varnish cache server is down, on not replying on port 80 - it should fall back to this current scenario. 

Is this at all possible with the Cisco ACE? If so, can someone point into the right direction in setting this up? 

Many thanks,

Mike

system image file: [LCP] disk0:c6ace-t1k9-mz.A5_2_2.bin

  • Borderless Networks
14
Views
0
Helpful
0
Replies