Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

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 http redirect on probe fail & others

Hi everyone,

I have multiple http based application running on 2 servers and they all be referenced behind the publised VIP from the load balancer.

The probes are already there, applications are accessed but one criteria from the business is not to fail the whole server for one application. There is some independance between the apps that if one fails, the other would need to still load balanced.

I would like, if the application fails on both server, to maybe be able to redirect to another URL any request for a particular App/URL.

Any suggestions ?


Re: ACE http redirect on probe fail & others


To not declare a real server down if one of its applications fail, you should configure your probes in your serverfarm, and (if not already done) create a serverfarm per application.

If you want to be able to redirect a request send to a failed serverfarm, you can configure a backup serverfarm in you L7 policy map like this:

serverfarm name1 backup name2

The second serverfarm should then be of the type:

serverfarm redirect name2

webhost-redirection relocation_string [301 | 302]

where the relocation_string is the URL that should be used, 301 is permanently moved and 302 is temporarily.

For the relocation_string, you can use following special characters:

%h Inserts the hostname from the request Host header

%p Inserts the URL path string from the request

Mor info can be found in this doc:

Hope this helps.



CreatePlease login to create content