LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: how to make director schedule by IP

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: how to make director schedule by IP
From: Sheldon Hearn <sheldonh@xxxxxxxxxxxxx>
Date: Mon, 12 Jul 2004 09:51:21 +0200
On Mon, 2004-07-12 at 09:33, Ye Xiaowei wrote:

>     I am fresh in LVS.I want to make all tcp and udp packets from one IP be 
> scheduled to     
> the same realserver .I know that all tcp connections from one IP are 
> scheduled to the same server and udp packets are scheduled to the same one in 
> a period time(default : 5 min).But how to make both them to the same IP.

It sounds like you want to use the SH (source-hashing) algorithm for
load balancing.  The default is WLC (weighted least-connection).  See
the ipvsadm(8) manual page for more information.

Ciao,
Sheldon.

<Prev in Thread] Current Thread [Next in Thread>