LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Cisco switch configuration

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Cisco switch configuration
From: Horms <horms@xxxxxxxxxxxx>
Date: Fri, 7 May 2004 11:50:59 +0900
On Thu, May 06, 2004 at 12:21:46PM -0700, Sean Roe wrote:
> Hi All,
> 
> I was looking for some info on cisco catalyst switches to help speed up
> the failover between my two director boxes.  I have the following setup:
> 
> 
>                      |--------|-----|WebServer1|
>       -- |LVS01   |--|Cisco   |-----|WebServer2|
>       |              |        |-----|WebServer3|
> ------|              |Catalyst|-----|WebServer4|
>       |              |        |-----|WebServer5|
>       -- |LVS02   |--|Switch  |-----|WebServer6|
>                      |--------|
>  Virt      LVS                         Real
>  IP        Servers                     Servers
> 
> My Problem is that if lvs01 fails lvs takes over the load but it takes
> forever for the real servers to startusing the new one (5-6 minutes).
> It also seems that it works faster if I actually restart the httpd on
> each webserver. This is a LVS-NAT with multiple vertual IPS going to
> different ports on the webservers.
> 
> Any suggestions?

Sounds like there could be a problem with your gratuitous arps
that are supposed to effect failover. What software are you using to
handle this? 

I have used catalyst swithces quite a lot, in fact both my
test rack and the main switch for the network here at VA Japan
used catalyst switches. I have found that they are quite aggressive
about caching ARP information, and in some cases seem to effect
proxy arp. But the current send_arp code in heartbat seems to work just
fine. Actually, I some times run that command manually after rearanging
IP addresses on machines.

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