cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
495
Views
0
Helpful
1
Replies

Sorry server - different replies

ngorenko
Level 1
Level 1

We have CSS 11000 that provides load balancing between several servers with configured max-session .

How to configure that sorry server sends different reply:

1) if all servers are down, it has redirect to page "sorry, server is down"

2) in case of overload, it it has to redirect to page "sorry, server is bussy, try later"

Can you advise how it possible to configue this?

thanks in advance,

Natalia

1 Reply 1

Gilles Dufour
Cisco Employee
Cisco Employee

there is no direct way of doing this.

However, my solution is to do this :

service sorry_down

....

service sorry_overloaded

keepalive type script check_service_down use-output

...

owner mycompany

content www

vip ...

add service ...

primarysorryserver sorry_overloaded

secondarysorryserver sorry_down

active

The script check_service_down, will do a 'show service ' grep -u Alive to detect if a service is alive or just not used because down.

Or you could also simply do ap-kal-pinglist and ping the services.

Anyway, the idea for the kal for the service sorry_overloaded is to check the status of the other services and detect if they are down or just overloaded.

Gilles.

Review Cisco Networking for a $25 gift card