Re: LVS-DR problem with Red Hat realserver

To: " users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: LVS-DR problem with Red Hat realserver
From: "Vittorio R. Tracy" <vrt@xxxxxxxxxxxxxxx>
Date: Wed, 20 Sep 2006 23:25:50 +0200
Uhg, I think I found what I was doing wrong.

The route statement on the Director should have been:

route add -net eth0

instead of:

route add -host dev eth0:1

This makes sense in hindsight since my Director IP is on a different IP
block than the Realservers and the Virtual IP are. 

I noticed because I was not able to see ARP of the Realserver's Real IP,
when the first (host) route was in place. Packets from the Director for
the Realserver must have been getting sent to the Director Gateway which
is a bad thing for LVS-DR.

Also strangely enough I did setup my new Realservers on the same IP
block as the Director at one point in troubleshooting, but it didn't
work then. Oh well.. 

This was indeed a DUH! problem.

Thanks all for your help.

On Wed, 2006-09-20 at 20:18 +0100, Graeme Fowler wrote: 
> On Wed, 2006-09-20 at 20:57 +0200, Vittorio R. Tracy wrote:
> > When I run the same tcpdump command on the Realserver I don't get
> > anything.
> OK, so now we know that the traffic isn't getting out of the director.
> Or, at least, across the wire to the realserver...
> > IP Virtual Server version 1.2.0 (size=4096)
> > Prot LocalAddress:Port Scheduler Flags
> >   -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
> > TCP rr
> >   ->            Route   1      0          1         
> > 
> > IPVS connection entries
> > pro expire state       source             virtual            destination
> > TCP 00:57  SYN_RECV
> >
> > IP  00:31  ERR!
> >
> Whoa!
> Umm... I haven't ever seen a connection in state ERR! before. Anyone
> else know why that should/could be the case? Evidently this is the
> source of your problem, Vittorio. Possibly :)
> Graeme
> _______________________________________________
> mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to
Vittorio R. Tracy <vrt@xxxxxxxxxxxxxxx>
Fastmetrics LLC.

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