LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Question about PPC

To: Ratz <ratz@xxxxxx>
Subject: Re: Question about PPC
Cc: LVS Mailinglist <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Wensong Zhang <wensong@xxxxxxxxxxxx>
Date: Sat, 18 Sep 1999 12:54:59 +0800

Ratz wrote:
> 
> 
> ipvsadm -a -[t|u] v.v.v.v:vport -r d.d.d.d[:dport] [-g|-m|-i][-w wght]
>                                           ========
> I mean the underlined dport, I dont understand its meaning. If I enter
> for example following line:
> 
> ipvsadm -a -t 172.23.2.100:80 -r 172.23.2.1:8007 -g -w 2
> 

For VS-TUN, VS-DR or local node, the dport must be equal to the
port number of the virtual service. As I remember, even if you
specify the different dport, the system will automatically
set the dport that of the virtual service.

For VS-NAT, the dport can be different from the port number of
the virtual service, like port forwarding. For example, you can
two httpd on different ports, 80 and 8080, (probably for better
resource utilization if it runs on a SMP box. Then, you can
group two different services as a virtual service,
        ipvsadm -A -t VIP:80
        ipvsadm -a -t VIP:80 -R <realserver1>:80 -m
        ipvsadm -a -t VIP:80 -R <realserver1>:8080 -m

Regards,

Wensong

> then I suppose a realserver listening on port 8007 (dport) and a virtual
> server listening on port 80. So if connections gets established it will
> be forwarded from VIPport 80 to REALport 8007. But this dport options
> seems to be obsolete.
> I have to know, if LinuxDirector makes port-forwarding or if I have to
> do that on the "real"-machines. I'm just a bit confused ;-)).
> 
> Regards
> 
>         ratz, Roberto Nibali
> 
> btw.: Nice presentation Lars !!!
> 
> ----------------------------------------------------------------------
> 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>