05-10-2007 07:49 AM
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
05-10-2007 10:31 AM
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.
05-11-2007 03:24 AM
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,
05-11-2007 05:17 AM
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:
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: