
cwilliams.work at gmail
Feb 13, 2008, 1:13 PM
Post #10 of 12
(696 views)
Permalink
|
|
Re: [lvs-users] load balancing works... kinda
[In reply to]
|
|
so probably not news to anyone that the problem was me having stared at this and a bazillion terminal windows for way too long today. In the lo interface of the 3rd machine I had a loopback set to the rip and not the vip thanks for all your help. On Feb 13, 2008 3:39 PM, Charlie Williams <cwilliams.work [at] gmail> wrote: > well I think my interfaces are setup wrong, because while trying to test > this command occasionally I was able to hit my original web server (still > running on loadb1) but not actually in the ldirectord.cf file or listing > when I hit ipvsadm -Ln so I think I must have configured the race condition > somehow. > > Can you explain which interfaces are supposed to be setup how? > > I have a VIP loopback setup on all machines currently and thats obviously > not right ;) > > on each machine I have > /etc/sysconfig/network with the gateway set > /etc/sysconfig/network-scripts/ifcfg-lo:0 with the virtual ip configured > /etc/sysconfig/network-scripts/ifcfg-eth0 with the real ip and gateway set > > -Charlie > > > On Feb 13, 2008 3:14 PM, Graeme Fowler <graeme [at] graemef> wrote: > > > On Wed, 2008-02-13 at 15:07 -0500, Charlie Williams wrote: > > > yes I setup the 3rd machine with all the same interfaces as the first > > two, > > > the loopback for the vip is there. > > > > Time to break out good ole trusty tcpdump, then. > > > > On the 3rd server, assuming eth0 is the interface that the client > > requests will arrive on and that $VIP and $RIP are known :) do: > > > > /usr/sbin/tcpdump -qnieth0 host $VIP or host $RIP > > > > Make a client request. See if the traffic arrives, if it gets handled, > > whether the machine responds - that sort of thing. > > > > You *should* see: > > > > SYN, ACK, SYN/ACK, RST, FIN (more or less in that order) from the > > director to the RIP as ldirectord does its thing. > > > > The same from the client. Although, obviously, you probably won't. > > > > Graeme > > > > > > _______________________________________________ > > LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer > > Send requests to lvs-users-request [at] LinuxVirtualServer > > or go to http://lists.graemef.net/mailman/listinfo/lvs-users > > > > _______________________________________________ LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer Send requests to lvs-users-request [at] LinuxVirtualServer or go to http://lists.graemef.net/mailman/listinfo/lvs-users
|