Archive for the ‘LVS’ Category

LVS Local node patch for Linux 2.6.25, Centos 5 kernel build how-to

Monday, July 28th, 2008

Standard Kernel builds of LVS (Linux Vitual Server) don’t have the ability to load balance traffic that is from the local node.
For example if you terminated some SSL traffic using stunnel or pound on the load balancer you then wouldn’t be able to forward that traffic to a backend real server through LVS.

First many thanks to Siim Põder for helping to port Carlos Lozano’s patch from 2.4 -> 2.6
In order to run an SSL reverse proxy on the same node that is running LVS
i.e.

External client —> pound:443 –> Local:443 —> IPVS:80 —> RealServer

The patch for Linux Kernel 2.6.25 is here:
http://www.loadbalancer.org/download/patches/ip_vs_locallvs.patch

The following is a guide how to install on Centos 5.1:
(more…)