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

Local Director test a failed server and take it out of loadbalance mix.

We have a VIP: 1.2.3.4 port 80 that points to four real servers:

2.2.2.1port 9000

2.2.2.3 port 9002

2.3.3.1 port 9001

2.3.3.2 port 9004

What is happening, is that if server '2.2.2.1' goes down stop answering

on port 9000 the localdirector still loadbalances connection to that host.

Can the localdirector run a test/probe on each host/port verify either is

up and or. If the host is down take it out of the loadbalanced mix?

We currently have a LD 416 running 4.2.3 and I use roundrobin for the predictor.

Thanks

Anu

1 REPLY
Cisco Employee

Re: Local Director test a failed server and take it out of loadb

you can configure HTTP probes.

The config is available at :

http://www.cisco.com/en/US/partner/products/hw/contnetw/ps1894/products_configuration_example09186a0080093df4.shtml

Here is what you need to do :

First configure a Virtual IP (VIP) address:

virtual 172.18.124.208:80:0:tcp is

Then configure a real server IP address:

real 172.18.124.193:80:0:tcp is

real 172.18.124.206:80:0:tcp is

real 172.18.124.207:80:0:tcp is

Next bind the VIPs to the real server IP addresses using the bindcommand:

bind 172.18.124.208:80:0:tcp 172.18.124.193:80:0:tcp

bind 172.18.124.208:80:0:tcp 172.18.124.206:80:0:tcp

bind 172.18.124.208:80:0:tcp 172.18.124.207:80:0:tcp

Configure a probe to a VIP or a real server IP address with a 10 second interval:

probe virtual 172.18.124.208:80:0:tcp http 3

probe real 172.18.124.193:80:0:tcp http 3

Configure the HTTP probe for non-default settings:

probehttp real 172.18.124.193:80:0:tcp

probehttp virtual 172.18.124.208:80:0:tcp file /index.htm

Configure the probe configuration to display the threshold for HTTP:

probeconfig http 3

Gilles.

215
Views
0
Helpful
1
Replies
CreatePlease to create content