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. And see here for current known issues.

New Member

ACE Redirection question

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 ans.company.com. When users requrest ans.company.com/dfr they will get L7 loadbalanced (via url matching) to a new local serverfarm.

When the users request ans.company.com/cms we want to redirect them to the old application server that wull be renamed via dns as classic.ans.company.com.

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

example

user requests ans.company.com/bfr or ans.company.com/cms they will be sent to the local new serverfarm.

user requests ans.company.com/dma1 or ans.company.com/dma2 they will be redirected to classic.ans.company.com/dma1 or classic.ans.comapny.com/dma2 (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.

2 REPLIES

Re: ACE Redirection question

It should be some thing like

rserver redirect REDIRECT-TO-OLD

webhost-redirection http://classic.ans.company.com/%p 302

inservice

serverfarm redirect REDIRECT-SERVERFARM

rserver REDIRECT-TO-OLD

inservice

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

serverfarm REDIRECT-SERVERFARM

policy-map multi-match CLIENT_VIPS

class VIPs

loadbalance vip inservice

loadbalance policy L7_LOGIC

HTH

Syed Iftekhar Ahmed

New Member

Re: ACE Redirection question

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

190
Views
0
Helpful
2
Replies
CreatePlease to create content