LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Question about PPC

To: "Wensong Zhang" <wensong@xxxxxxxxxxxx>
Subject: Re: Question about PPC
Cc: "LVS Users Mailing List" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: "Ted Pavlic" <tpavlic@xxxxxxxxxxx>
Date: Wed, 8 Sep 1999 11:18:14 -0400
How will this affect passive FTP? The second connection made in a passive
FTP connection is on an unpredictable port, right? So how will that
connection go back to the same machine?

Is there still a way to make every port persistent -- like PCC?

All the best --
Ted

----- Original Message -----
From: Wensong Zhang <wensong@xxxxxxxxxxxx>
To: Ratz <ratz@xxxxxx>
Cc: LVS Mailinglist <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, September 07, 1999 10:11 AM
Subject: Re: Question about PPC


>
> Hi,
>
> Sorry that I haven't given instruction how to use persistent port
> with the new patch.
>
> To use persistent port, the commands are as follows:
> ipvsadm -A -t <VIP>:<port> [-s <scheduler>] -p
> ipvsadm -a -t <VIP>:<port> -R <real server> ...
> ...
>
> If the virtual service port is set persistent, connections
> from the same clients are gauranteed to direct to the same
> server. When a client sends request for the service at the
> first time, the load balancer (director) selects a server
> by the scheduling method and creates a connection and the
> template. Then, the following connections from the same
> client will be forwarded to the same server according to the
> template in the specified time.
>
> Ratz wrote:
> >
> > Hi to everybody
> >
> > Just installed 'new' kernel 2.2.12 and applied Wensongs ip-vs-patch. No
> > I wanted to test it, but machines are out and I dont want to test it in
> > my working environment since some paying customers could get angry when
> > service is not provided anymore. So my stupid questions are:
> > 1) Am I right in thinking that Persistant Port Connection (ppc) is
> > relied to the Source Port of an incoming packet? and
>
> The source address of an incoming packet is used to lookup
> connection template.
>
> > 2) If I'm right, how could this work properly behind a firewall, where
> > each connection request will get a new socket with a new port? (Session
> > would be lost?)
> >
>
> Sorry that I don't understand your question.
>
> Wensong
>
> > Thanks in advance for any answer.
> >
> > ratz, Roberto Nibali
> >
> > ----------------------------------------------------------------------
> > LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> > To unsubscribe, e-mail: lvs-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
> > For additional commands, e-mail: lvs-users-help@xxxxxxxxxxxxxxxxxxxxxx
>
>
> ----------------------------------------------------------------------
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe, e-mail: lvs-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
> For additional commands, e-mail: lvs-users-help@xxxxxxxxxxxxxxxxxxxxxx
>
>

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