LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] stuck destination port after LVS

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] stuck destination port after LVS
From: "L.S. Keijser" <leon@xxxxxxxx>
Date: Thu, 15 Apr 2010 20:35:23 +0200
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


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
<Prev in Thread] Current Thread [Next in Thread>