cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
433
Views
0
Helpful
2
Replies

keepalive for CSS11506 v8.1

julxu
Level 1
Level 1

I would like to know if possible to configure keepalive for a service, so that, keepalive will monitor two ip addresses/ports instead of one.

for example:

service test

ip address 10.1.1.101

protocol tcp

port 80

keepalive type tcp

keepalive port 80

active

content test

vip address 10.2.2.11

balance leastconn

protocol tcp

port 80

add service test

active

at this example if 10.1.1.101:80 down, the the service test is down.

but, I have another machine 10.1.1.102:80, I need also, (logical OR) if 10.1.1.102:80 down, the service test down, or the content test down?

Can I do it? if so, how to? using script?

Any comments will be appreciated

Thanks in advance

2 Replies 2

Gilles Dufour
Cisco Employee
Cisco Employee

you will have to use a script.

You can take an existing one as an example and modify it slightly to do what you need.

Gilles.

skumar1969
Level 1
Level 1

content test

vip address 10.2.2.11

balance leastconn

protocol tcp

port 80

add service test-1

add service test-2

active

service test-1

ip address 10.1.1.101

keepalive type script ap-kal-pinglist "10.1.1.101 10.1.1.102"

active

service test-2

ip address 10.1.1.102

keepalive type script ap-kal-pinglist "10.1.1.101 10.1.1.102"

active

Scripted keepalives are created to monitor both, the server port as well as the application/database servers. If either does not respond the entire service goes down.

thanks

Review Cisco Networking for a $25 gift card