LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: splitting up a packet stream

To: LVS <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: splitting up a packet stream
From: Chris Anderson <chris.anderson@xxxxxxxxxx>
Date: Fri, 28 Jul 2000 17:26:00 +1000
Julian Anastasov wrote:
> 
>         Hello,
> 
> On Fri, 28 Jul 2000, Chris Anderson wrote:
> 
> > > > So, I guess the question is, how do I go about sending stuff to the
> > > > realservers by splitiing it up at the packet level, rather than the
> > > > connection level?
> 
>         We can't split one TCP connection to different real servers.
> But many TCP connections from one host are scheduled to different
> real servers. This is a default handling.

Ah. This could be a problem. Now, when you say "many TCP connections
from one host are scheduled to different real servers" I assume that
this means something like several separate web page requests, or several
telnet sessions. So if a server opens a connection to VIP:PORT, until
this port is closed, all the packets would go to the one realserver.
Okay, that makes sense.

Hmmm. May have to go back to the drawing board on this one.

> > > - why the restriction for only one source?
> >
> > That's covered by the NDAs  :-/   I wish I could say more, as it would
> > help with my explanations.
> 
>         Forgive me but I don't know what means "NDA".

Non Disclosure Agreement. It means I can't tell you enough for you to
help me, but if I say anything at all I get in trouble.  :-)

>         Is the packet stream from one connection?

Based one the info I have at present, yes it is.

>         I don't see a way to split one TCP connection to many.
> You have to run a daemon on the director to work with the TCP data.

Sigh. I was beginning to get that impression myself. Back to the
keyboard...

> > Just as an aside: is it possible to change the weighting on the fly when
> > using weighted whatever scheduling, without having to rewrite the config
> > file and restart the director? Maybe based on realserver load or some
> > other metric?
> 
>         Yes, this is possible. You need a tool that can dynamically
> adjust the weights. This is a user space game. LVS don't care who
> talks to him, ipvsadm, ...

Now that is a good bit of news...

Thanks,
Chris the tired and confused.
-- 
"This calls for a very special blend of psychology
 and extreme violence." -- Vyvyan, "The Young Ones"


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