LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: almost there..

To: Karl <karl.mueller@xxxxxxxxxxxxxx>
Subject: Re: almost there..
Cc: "lvs-users@xxxxxxxxxxxxxxxxxxxxxx" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Horms <horms@xxxxxxxxxxxx>
Date: Thu, 13 Jul 2000 21:17:14 -0700
On Thu, Jul 13, 2000 at 06:10:43PM -0500, Karl wrote:
> Hello all..
> 
> I'm looking for a little help.
> 
> I'm setting up a simple load-balanced service (one LVS box, three web
> servers).  I'm using kernel 2.2.16 w/ the LVS patch applied.  I've kept
> the scheduling algorithms as modules for now.  The LVS box is acting as
> a firewall, and is correctly routing everything.
> 
> My problem is that packets don't seem to be getting forwarded from the
> Virtual Server address to the Real servers.  When I try to connect to
> the virtual server from the world, ipvsadm registers Inactive sessions
> for the real server, but no sessions are ever registered as Active.  No
> response ever gets back to the client, and ipchains logging never
> detects a packet out-bound to either the Real server or the client
> browser.
> 
> I'm using direct routing, least connected scheduling and tcp host:port
> for my VS address.  I've also tried 'marking' packets w/ ipchains with
> the same result I'm seeing using tcp addresses for my Virtual Server.

Have you tried running tcpdum and seeing what the packets are doing?

You may be running into the ARP problem as documented on the web site.
Also if you are using direct routing then the LVS host should _not_ be in
the return path (the gateway router) for the real servers.

-- 
Horms


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