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

LocalDirector load balancing problem

abibby
Level 1
Level 1

I'm load balancing between 3 servers each running a web server via a single virtual address.

The problem I'm experiencing is one of the servers, whilst it still listens on port 80, stops serving content. When this happens, the LocalDirector doesn't appear to notice that there is a problem, and over a relatively short time, seems to divert the majority of traffic to this faulty web server as I use leastconns to balance the connection type.

Can you confirm that this is appropriate behaviour? I'm going to change it so I use roundrobin instead of leastconns which will (although not solve the problem) help lessen the impact, , but confirmation that is expected behaviour would help me sleep a little better!

Perhaps there is a more suitable Cisco product to circumvent this issue?

1 Reply 1

stevehall
Level 1
Level 1

If you type "show real" you will probably see the column for "Data In" rising. This column is all the way on the right side of the display. This indicates that the server has received requests that it has not responded to.

By default, the LD does not use the Data value to fail a server. So by default, the data threshold for all the real servers is "0". If you set it to a non-zero number, the LD will start to use it.

http://www/univercd/cc/td/doc/product/iaabu/localdir/ldv42/421guide/42ch05.htm#xtocid856528

localdirector(config)# data 192.168.1.1:0:0:tcp 30

Hope this helps,

Steve Hall

Cisco TAC