ACE Redirection question

Unanswered Question
Jun 12th, 2008

We are migrating a large application to a new serverfarm one folder at a time. the exiting applicaiton server is not loadbalanced via the ACE.

We want to set a vip on the ACE as the primary DNS entry for host When users requrest they will get L7 loadbalanced (via url matching) to a new local serverfarm.

When the users request we want to redirect them to the old application server that wull be renamed via dns as

As each folder is migrated to the new servers the L7 rules will be modified to keep that traffic local


user requests or they will be sent to the local new serverfarm.

user requests or they will be redirected to or (depending on the original request).

Does anyone have an sample script for this type of senario? I have the loadbalancing working fine. It's the redirection that is not working. I am trying to use a L7 url match to send the requrest to a redirect rserver

Any help would be appreciated.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Syed Iftekhar Ahmed Thu, 06/12/2008 - 15:44

It should be some thing like

rserver redirect REDIRECT-TO-OLD

webhost-redirection 302


serverfarm redirect REDIRECT-SERVERFARM



class-map type http loadbalance match-any local-new

match http url /bfr

match http url /cms

class-map type http loadbalance match-any remote-old

match http url /dma1

match http url /dma2

policy-map type loadbalance first-match L7_LOGIC

class local-new

serverfarm local-serverfarm

class remote-old


policy-map multi-match CLIENT_VIPS

class VIPs

loadbalance vip inservice

loadbalance policy L7_LOGIC


Syed Iftekhar Ahmed

dsteinfadt Mon, 06/23/2008 - 10:10

Thanks. Using this as abae config I was able to setup a functional redirect serverfarm


This Discussion