LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

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
structure:

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

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 192.168.42.208
   LVS IP: 192.168.42.17 (this is a VIP on eth0)
   VIP #1 for Apache: 192.168.42.20 (eth0)
   VIP #2 for Apache: 192.168.42.21 (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?

Thanks.

=====
---------------------------------------------
Hai Pham Quang
http://vietlibrary.cjb.net
---------------------------------------------

__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1


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