LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: my progress

To: "Michael McConnell" <michael@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: my progress
Cc: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: "Jacob W Anderson" <janders6@xxxxxxxxxx>
Date: Sun, 30 Jul 2000 18:43:52 -0700
Hey Michael!

Are you using virtual hosting on the HTTP server?  If so, then you will need
to use the real IP of the server as the virtual name.  SO, say you have your
www server on 10.75.1.11, but you are routing 216.45.234.12 as the real IP
of www.mikesdomain.com, your config file would look something like the
following:

NameVirtualHost 10.75.1.11:80
<VirtualHost 216.45.234.12>
  ServerAdmin foo@xxxxxxxxxxxxxxx
  DocumentRoot /home/httpd/foo
  ServerName www.mikesdomain.com
</VirtualHost>

it's  ALSO important that the www servers can do a lookup on
www.mikesdomain.com via dns, otherwise, as I found in my pursuit of a
similar setup, the httpd reports that it's a bad domain (found out with the
'httpd -S' command).

Hope that helps.  It's funny ... I have http working just great, but can't
get anything ELSE to work!  you're the exact inverse of my problem.  (big
laugh)  Although, I have not been able to get https to work correctly.

-- Jake
javadude@xxxxxxxxx


> -----Original Message-----
> From: Michael McConnell [mailto:michael@xxxxxxxxxxxxxxxxxxxxxx]
> Sent: Sunday, July 30, 2000 3:54 PM
> To: Joseph Mack
> Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Subject: my progress
>
>
> Well joseph, I managed to load balance a TELNET session between 2 systems,
> works great! I'm quite happy about this, except for the fact that
> I have no
> need to load balance telnet (-: My mission is to load balance HTTP, HTTPS,
> and MySQL.
> I managed to also load balance MySQL with out any problems, but I
> just can't
> seem to get HTTP to work... I've been looking at apache's httpd.conf file
> trying to come to some sort of resolution to this, but can't seem to find
> anything. I've done the following
> set the KeepAlive value to off, specificed the IP of which the
> daemon is to
> run on (bindaddress), and specified the servername with an IP
>
> Any thoughs comments on what I can do to make this thing work? (-:
> Thanks,
> Mike
>
> ----- Original Message -----
> From: "Joseph Mack" <mack@xxxxxxxxxxx>
> To: "Michael McConnell" <michael@xxxxxxxxxxxxxxxxxxxxxx>
> Cc: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Friday, July 28, 2000 3:54 AM
> Subject: Re: ipvs 0.9.15 available
>
>
> > On Thu, 27 Jul 2000, Michael McConnell wrote:
> >
> > > I've been having a very difficult time getting LVS to work with NAT or
> > > Tunneling, I've read the documents on the WebSite many times over.
> >
> > It isn't easy and there's a lot of things that can go wrong.
> >
> > Grab my configure script off the website and try setting up
> VS-NAT with 1
> > or 2 real-servers serving telnet. The script will detect most common
> > misconfiguration problems. It doesn't do failover, but is simple to use.
> >
> > If it doesn't work, come back with the conf file and the output of
> > ipvsadm just after a failed connect attempt.
> >
> > Joe
> >
> > --
> > Joseph Mack mack@xxxxxxxxxxx
> >
> >
> >
>
>
>
>



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