cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
607
Views
0
Helpful
3
Replies

HTTP Layer-7 load-balancing

hermanaccd
Level 1
Level 1

Hi, I would like to accomplish the following.

www.xyz.com resolves to a VIP on the Cisco ACE 4700 on HTTP.

When a client types in http://www.xyz.com/bcd, I would like the request to be redirected to www.bcd.com

How do I go about doing this? Do I need to create a real-server with an IP address that resolves to www.bcd.com? How do I configure the Layer-7 match? Do I match on http-url for /bcd?

Are there any examples? Any examples would be appreciated.

Thank you.

3 Replies 3

Gilles Dufour
Cisco Employee
Cisco Employee

you will need a webhost redirect rserver.

http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/ace_appliances/vA1_7_/configuration/slb/guide/rsfarms.html#wp999814

You will also need to match your url with a class-map

class-map type http loadbalance match-any MyURL

2 match http url /bcd

Then in your http loadbalancing policy-map, you match the class-map MyURL and assigned the serverfarm with your webhost redirect rserver and then you add a class-default to match the rest of the traffic and assign it a serverfarm with your local rservers.

Gilles.

Thanks for your help!

Hi Gilles,

I followed your advice about using webhost redirect rserver, but the ACE doesn't seem to recognize the match-http-url.

I also can't ping the VIP, even though the VIP is active, and the probes are successful.

I've attached my ACE configuration. Can you take a look and see if I'm missing something or doing something wrong?

Thank you.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: