LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Why don't I get 404 errors?

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Why don't I get 404 errors?
From: Roberto Nibali <ratz@xxxxxx>
Date: Thu, 03 May 2001 15:53:43 +0200
Hi,

Bowie Bailey wrote:
> 
> I have a Linux box configured as an LVS-DR director.  IP address
> 172.16.17.25

I assume this is the DIP?

> There is one virtual service (www) at 172.16.17.30

Could you show us the ipvsadm -L -n before the request and
after the request, please?
 
> There are three realservers:
> NT 4.0 with IIS 3.0 at 172.16.17.168
> NT 4.0 with IIS 4.0 at 172.16.17.11
> RedHat Linux 6.2 with Apache at 172.16.17.200
> 
> The NT systems are configured with the MS Loopback Adapter as per the
> HOW-TO.

Very good.

> The Linux system is configured with the ipchains redirect like this:
>    Chain input (policy ACCEPT):
>    target     prot opt     source                destination           ports
>    REDIRECT   tcp  ------  0.0.0.0/0            172.16.17.30          * ->
> * =>*
>    REDIRECT   udp  ------  0.0.0.0/0            172.16.17.30          * ->
> * =>*
>    Chain forward (policy ACCEPT):
>    Chain output (policy ACCEPT):

Why those redirections? arp-problem is not an issue if your realservers
are running on NT. The MS-loopback adapter does not reply to arp requests.
 
> The NT system with IIS 3.0 works perfectly with the LVS.  The other two
> mostly work fine as long as you request a good page.

Oh, but this sounds more like a misconfiguration of the other 2. BTW,
what are the "other two"?
 
> The problem comes when you request a URL that doesn't exist on the server.
> Rather than returning a 404, the browser just sits there until it times out
> and says "cannot find server".  If I activate all of these realservers, I
> can cycle through two servers which don't respond and one which gives a 404.

Is the loopback adapter installed on all NT systems? Please show us the 
ipvsadm -L -n output before and after the request. What is the DGW for 
the realservers?
 
> These servers all work perfectly if I go to them directly without using the
> LVS.  The problem only occurs when I try to access them through the VIP.

Hmm, from were do you try to fetch the page?

> Can anyone give me an idea of why I would get a normal response if the page
> is there, but no response at all if it is not?

Honestly I don't know yet,
Roberto Nibali, ratz

-- 
mailto: `echo NrOatSz@xxxxxxxxx | sed 's/[NOSPAM]//g'`


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