LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] more realserver ports question

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] more realserver ports question
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Fri, 27 Nov 2009 23:15:57 +1100
On Thu, Nov 26, 2009 at 10:29:26AM -0800, James H wrote:
> Here is a patch to the RedHat Pulse/Piranha system that let's you use
> NAT port rewriting:
> 
> http://mobiuscircle.com/2009/06/08/piranhapulse-patch-allow-port-rewriting-in-nat-mode/
> 
> This patch adds the ability for you to set a port in the real server
> config section in /etc/sysconfig/ha/lvs.conf
> 
> eg:
> ...
> virtual http-shared {
>      port = 80
>      ...
>      server rack104 {
>          address = 192.168.2.104
>          port = 8080 <==== Isn't normally supported by pulse/piranha
>          active = 1
>          weight = 1
>      }
> ...
> }
> ...

What does ipvsadm -Ln look like with this in effect?
I'm curious to know where the port translation is taking place.


_______________________________________________
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>