LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] would this configuration work for lvs-dr?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] would this configuration work for lvs-dr?
From: "William Ottley" <williamottley@xxxxxxxxx>
Date: Sun, 6 Jan 2008 09:36:52 -0500
Hi Graeme,
I'm unable to test that. I do a tcpdump, on both the VIP and the RS,
and the traffic shows up on both, but it doesn't go back to the CIP.
and I don't know how to continue, because all the how-tos indicate
that the realservers send their data back to the CIP directly. (RS
can't see the CIP)

Now I don't want the realservers sending back to the CIP directly,
because this will expose the IP of the realserver, which I can't have.
So, in essence, the LVS has to be a GW for all the traffic. is this
possible?

better yet, if I create an LVS with just 1 nic, and if the realserver
sends directly to the CIP: would doing a tracedump, or a network
sniffer who the realserver IP?

Thanks

William

On Jan 6, 2008 4:18 AM, Graeme Fowler <graeme@xxxxxxxxxxx> wrote:
> On Sat, 2008-01-05 at 17:50 -0500, William Ottley wrote:
> > could someone please let me know if this setup will work for lvs-dr?
> > I use pulse / piranha / ipvsadm
> > I just can't get anything to work. and I'm thinking maybe the GW's are
> > whats causing the problems.
>
> The config looks sane enough. However you have to ensure that the
> gateways the realservers use are willing to let traffic through which is
> deemed to be a "martian" - that is, traffic arriving on a NIC from a
> network not on that NIC.
>
> In an ISP environment this is a common cause of DR type load balancing
> not working. Yours looks unlikely to be that type of environment, so one
> suspects you have control of all the gateways.
>
> With it all setup, do you see traffic from VIP to CIP on the outbound
> gateways the realservers use?
>
> Graeme
>
>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>



-- 
---------------
Morpheus: After this, there is no turning back. You take the blue pill
- the story ends, you wake up in your bed and believe whatever you
want to believe. You take the red pill - you stay in Wonderland and I
show you how deep the rabbit-hole goes.


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