LVS and Local Node

To: LVS List <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: LVS and Local Node
From: Hai Pham <yfaway@xxxxxxxxx>
Date: Thu, 29 Nov 2001 10:47:02 -0800 (PST)
Hi all,

I am trying to set up LVS with the following

LVS --> Apache (listening on 2 VIPs) --> 2 real

Apache is colocated on the LVS machine ( we want to
terminate SSL right after Apache; Apache will act as a
proxy to the real servers).

This is how I set it up:
   The real IP of interface eth0 is
   LVS IP: (this is a VIP on eth0)
   VIP #1 for Apache: (eth0)
   VIP #2 for Apache: (eth0)

I set instructions to load balance on those two local
IP (x.x.x.20 and x.x.x.21), but for some reasons it
doesn't work. Note that they are all listening to the
same port (443).

After that I clean the lvs table, and reconfigure
apache to listen on the real ip of the eth0
(x.x.x.208) only; doesn't work either.

Finally, I configure Apache to listen on the LVS IP
(x.x.x.17); and now it works fine.

I think I am misunderstanding something here. My
question is: Is it possible to load balance on two
local virtual IPs?


Hai Pham Quang

Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.

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