02-11-2010 07:21 PM
I am load balancing the servers ok , at the moment in test environmnet
so client types in http://abc.apps/def and that goes to the real servers eg http://realserver/def
what our customer would like is just to go to http://abc.apps to go to the same location http://realserver/def
how do I do this in the ACE configuration
02-12-2010 04:56 AM
The only way is to catch the request with a L7 class-map for url "/" and use a redirect rserver to send a redirect to the desire url.
Gilles.
02-15-2010 09:39 PM
You need to be careful that you dont get into a loop.
when the client enter http://abc.apps then it would resolve to an ip. Lets say 2.2.2.2 is the VIP.
ACE gets a match, then you need to perform layer 7 load balancing. If there is no abc, then do a redirect
Created redirect rserver
rserver redirect abc_redirect
webhost-redirection http://abc.apps/abc
server for redirect rserver
serverfarm redirect URL_REDIRECT
call the rserver
layer 7 match
class-map type http loadbalance match-any matchurl_abc
2 match http url /abc
Policy map should look something like this
policy-map type loadbalance http first-match ABC
class matchurl_abc
serverfarm x
class class-default
serverfarm URL_REDIRECT
Hope this helps
Regards
Venky
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide