cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
455
Views
5
Helpful
3
Replies

Redirect message

mohammedrafiq
Level 1
Level 1

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.17

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 3

mohammedrafiq
Level 1
Level 1

Sorry,

the test02 service ip address is 10.253.20.18

You simply need to create a service for that sorry server and call it in content rule using Primarysorryserver command

!--- This is the server to which you want to default

!--- if the primary fails.

service sorry

ip address 10.253.20.x

keepalive type tcp

port 80

active

content Hello-SSL

vip address 10.253.20.14

add service test01

add service test02

primarySorryServer sorry <-- call it when else fails

advanced-balance sticky-srcip

sticky-inact-timeout 35

active

Syed

RODRGUTI
Level 1
Level 1

Hi,

What you can do is to configure a primary sorry server, that can show the page "Page down" or something like this.

(But if you can have a third server for that, we can use it to handle the traffic instead to show the message)

This is the link to configure the sorry server.

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

If you dont have a third server, there is not way to make the CSS to send a message or something like that telling the customer that the "servers are down".

Also you can configure the sorry server to do a redirect to another domain if you want. This is the link that explain how to configure a redirect service. (the content rule must be layer 5).

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

hope this help.

- Rodrigo