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

CSS Redirect message

Hi,

I have 2 services configured on my only CSS.

What I will like to do is , if both services become unavailable then it will display a message like " services down" we can host this message on diffrent web server.Please help me how to do this, does I have to add the ip address or URL of the server where this warning message host?

current config.

service test01

ip address 10.253.20.17

keepalive type tcp

keepalive port 443

active

service test02

ip address 10.253.20.18

keepalive type tcp

keepalive port 443

active

!*************************** OWNER ***************************

owner Hello

content Hello-SSL

vip address 10.253.20.14

add service test01

add service test02

advanced-balance sticky-srcip

sticky-inact-timeout 35

active

3 REPLIES
New Member

Re: CSS Redirect message

All you need to do is create another service with a type of redirect as shown:

service test-down

type redirect

ip address x.x.x.x -some unused IP address

redirect-string "serverdown.com"

active

Then in your content rule just add this new service. The default behavior of the CSS is to send traffic to any services of type local (which is what the default service type is). And if all local services are down it will send the redirect to the client which will ofward them to a page of your choosing.

New Member

Re: CSS Redirect message

Hi,

Thanks for your reply, just a little 2 question,In the service where you mentioned unused ip address, Is this will be the ip where I want to redirect this page? and in redirect -string, "serverdown.com" Is this will be name of my server where this message is hosted?

regards,

New Member

Re: CSS Redirect message

The URL in quotes is what you will be redirected to. The IP address is just a placeholder as far as I can tell and isn't used. Here is a link that gives several examples of how to do a redirect:

http://www.cisco.com/en/US/products/hw/contnetw/ps789/products_configuration_example09186a00801de8d6.shtml

152
Views
4
Helpful
3
Replies
CreatePlease to create content