LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] ipvsadm and packets leaving a gre tunnel

To: Joseph Mack NA3T <jmack@xxxxxxxx>
Subject: Re: [lvs-users] ipvsadm and packets leaving a gre tunnel
Cc: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Wed, 23 Jul 2008 13:55:23 +1000
On Tue, Jul 22, 2008 at 08:25:50AM -0700, Joseph Mack NA3T wrote:
> On Tue, 22 Jul 2008, Marco Lorig wrote:
>
>> Both "directors" are connected via GRE. The first director starts 
>> routing to the second one through the tunnel as soon as the realservers 
>> behind it aren´t available anymore. So it "turns off" the ipvsadm and 
>> switches itself to a routing instance.
>
> neat.
>
> How do the clients know which datacenter to route to?
>
>> The second director, which also serves clients and servers at its 
>> location by ipvsadm, starts another ipvsadm instance on the GRE 
>> interface and is receiving routed packets from the first director 
>> through GRE tunnel.

What forwarding mechanism are you using on the second director,
and are any of its real-servers local (i.e. an address that
belongs to the second real server).

I only ask so that I can try and reproduce the problem.

> I see.
>
> can you set mss on this interface?

That does sound like a work-around worth trying to me.

> ip_vs() does all sorts of things to the interface. I don't expect anyone 
> has tried LVS on a gre interface.

[snip]

-- 
Horms



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