[lvs-users] stuck destination port after LVS

L.S. Keijser leon at linux.nl
Thu Apr 15 19:35:23 BST 2010


On Thu, 2010-04-15 at 11:11 -0700, devnull wrote:
> Just an idea, but what if you setup multiple VIP's on the same real
> server, and pointed them to different ports? So even if one was
> unresponsive the others would be taking traffic?

Or you could have just one VIP and assign different weights to the
ports:

VIP:8000 ->  rs1:8001 weight=1000
         ->  rs1:8002 weight=500
         ->  rs1:8003 weight=250
         ->  rs2:8001 weight=1000
         ->  ...

Of course, that would still mean your rs's get some connections though,
just like devnull's example. And you can only do this with LVS-NAT AFAIK
(since the dst port is different on the rs than on the vip).

-- 
Léon





More information about the lvs-users mailing list