[lvs-users] more realserver ports question

Simon Horman horms at verge.net.au
Fri Nov 27 12:15:57 GMT 2009


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.





More information about the lvs-users mailing list