LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Virtual servers and LVS

To: "Edward Chow" <chow@xxxxxxxxxxx>, <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>, "Pietro Ravasio" <pietro.ravasio@xxxxxxxxx>
Subject: Re: Virtual servers and LVS
From: "Ted Pavlic" <tpavlic@xxxxxxxxxxx>
Date: Sun, 8 Oct 2000 14:07:51 -0400
Now what do you mean by "public one?"

Make sure your real servers are listening to the "public" addresses being
balanced through your LinuxDirectors.

For example... My setup..

One of my real servers has the RIP: 216.69.192.201
I serve *SOME* of my name-based virtual hosts off of: 216.69.212.129
I serve *SOME* of my name-based virtual hosts off of: 216.69.212.130
I also have some IP-based virtual hosts
I serve NO virtual hosts off of 216.69.192.201

My rela server listens to all of these IPs without any trouble. I do not
serve *ANY* IPs off of the real server's IP address.

This is all possible because:

a) I have "UseCanonicalName off" set in Apache
b) My real servers have 216.69.212.129, 216.69.212.130, and my IP-based
virtual hosts up on hidden loopback devices.

All the best --
Ted

----- Original Message -----
From: "Pietro Ravasio" <pietro.ravasio@xxxxxxxxx>
To: "Edward Chow" <chow@xxxxxxxxxxx>; <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Sunday, October 08, 2000 6:13 AM
Subject: RE: Virtual servers and LVS


> At 11.21 08/10/00 +0200, Pietro Ravasio wrote:
> >At 14.27 07/10/00 -0600, Edward Chow wrote:
> >
> >Hi edward, thank you very much for replying,
>
> ....
>
> >NameVirtualHost 151.39.82.13
> ><VirtualHost 151.39.82.13>
> >         ServerAdmin webmaster@xxxxxxxxxxxxx
> >         DocumentRoot /home/httpd/abbeyphone.it
> >         ServerName www.abbeyphone.it
> ></VirtualHost>
>
>
> Hi all,
>
> problem solved, read this:
>
http://x55.deja.com/getdoc.xp?AN=664768438&search=thread&CONTEXT=970998598.1
116078109&HIT_CONTEXT=970997902.1115160582&HIT_NUM=2&hitnum=0
>
> I had to use real servers'Ip and not public one in VirtualHost and
> NameVirtualhost entries!
>
> Now everything works fine!
>
> Bye!
> Pietro Ravasio
>
>
>
>



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