LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: A couple of questions

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: A couple of questions
From: Horms <horms@xxxxxxxxxxxx>
Date: Wed, 31 Mar 2004 09:59:47 +0900
On Tue, Mar 30, 2004 at 04:37:32PM -0500, Joseph Mack wrote:
> Randy Paries wrote:
> > 
> >
> > This is my ldirectord.cf
> > ==========================================
> > virtual=66.208.187.27:80
> >         real=192.168.0.203:80 gate
> 
> > In my httpd.conf on 192.168.0.203 I have
> > <VirtualHost 192.168.0.203 >
> >         ServerName 192.168.0.203
> >         DocumentRoot /home/unitnet
> >         ServerAlias unitnet.com
> > </VirtualHost>
> 
> I'm not an ldirectord user.
> However for LVS-DR, on the realserver, the service (here httpd)
> has to listen on the VIP. So you don't need x.x.0.203 here,
> you need the VIP and the name that it will be known to by
> the client.
> 
> That's for LVS-DR.
> 
> However if the you are monitoring from the director, you need
> a service that the director can monitor. Presumably this
> is the one on the RIP. You then hope that the state of
> the httpd listening on RIP:80 is some indication of the
> state of the httpd listening on VIP:80
> 
> This is all explained in the HOWTO BTW.
>  
> > <VirtualHost 66.208.187.27 >
> >     ServerName test.unitnet.com
> >     ServerAlias unitnet.com
> >     ServerAlias flanders.unitnet.com
> >     DocumentRoot /home/unitnet
> > </VirtualHost>
> > 
> > I had to do the VirtualHost 192.168.0.203 so ldirectord would work.
> > Is this what I am suppose to do??
> 
> if ldirectord works the way I just described, then yes

Yes, it does.

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