LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Servers appear to freeze once secondary servers come up...

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Servers appear to freeze once secondary servers come up...
From: Todd Lyons <tlyons@xxxxxxxxxx>
Date: Wed, 30 Aug 2006 13:20:32 -0700
First, I assume you saw the other response from Joseph.  He's usually
spot on about these kinds of things.  Check that first.

On Wed, Aug 30, 2006 at 12:40:40PM -0600, Dan Brown wrote:

>> 2) your interfaces are configured to start at boot time 
>> instead of being controlled by heartbeat
>Well, my ethernet interfaces both come up at boot with the server IP, all
>other virtual IPs end up as an lo:xxx interface until heartbeat decides
>which server is going to become the active director and enables ldirectord.
>Unless I've misread something (possible), this is the way it should be
>correct?

Absolutely.

>and changed appropriate things as needed.  By the looks of it the MAC
>address of the interface was being defined the same for both servers.
>Hopefully this solves my problem although I probably wont be able to test it
>for another 10 hours or so however.

Good luck with that.

>ldirectord,v 1.77.2.32 2005/09/21 04:00:41 horms

I use 1.77.2.5 which is dated 2005/09/13, so we're very close code wise.

>heartbeat.in,v 1.33.2.1 2004/04/20 05:05:28 alan

Not sure about heartbeat, I'm using version 1.2.3 release code.

>------------------Heartbeat (ha.cf):

Looks good.

>------------------ /etc/ha.d/haresources
>Yeah I'm gonna get lots of "WTF!?" with this one, but it works when it
>works.  It just complicates debugging things greatly.  I think I have
>only ~60 IPs enabled at the moment. My arptables_jf file is worse.

Right there with you:

# wc -l /etc/ha.d/haresources
74 /etc/ha.d/haresources

># no public name for LVS, use name of one of the servers.
>seahawk.thezoo \          
>        ldirectord \
>        LVSSyncDaemonSwap::master \

I don't use the LVSSyncDaemonSwap stuff, but that's neither here nor
there.

>        IPaddr2::192.168.0.3/24/eth1/192.168.0.255 \
>        IPaddr2::216.94.150.11/24/eth0/216.94.150.127 \

Ummm, I have to use /32 for my netmask.  Shouldn't you also?

>------------------ldirectord.cf (no difference between servers)

Looks good too.
-- 
Regards...              Todd
Well, it's Karch...   --frequently heard after every amazing move he does
Linux kernel 2.6.12-18mdksmp   7 users,  load average: 0.16, 0.18, 0.25

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