LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS-DR where Directors are also Realservers

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: LVS-DR where Directors are also Realservers
From: Joseph Mack NA3T <jmack@xxxxxxxx>
Date: Wed, 7 Dec 2005 07:21:13 -0800 (PST)
On Wed, 7 Dec 2005, Shaun McCullagh wrote:

Hi,

Some time ago Ken Price mailed a nice solution describing how to setup a 2 node Keepalived Apache cluster (well it was MySQL really) on two PCs connected to the same network.

I'm trying to do the same thing but I cannot figure out what to put in
/etc/keepalived/ip_localhost

OK I'm not a keepalived person, so this may not count for much...

I have tried

#!/bin/bash
if [ $1 = "del" ] ; then
      ip addr del 192.168.0.54/24 dev lo
fi

if [ $1 = "add" ] ; then
      ip addr add 192.168.0.54/24 dev lo
fi

why do you need 192.168.0.54 to direct your local packets? Can you use 127.0.0.1?

Joe



But the problem is whenever 192.168.0.54/24 is added to the loopback interface on either machine eth0 stops responding to all arp requests.

--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml Homepage http://www.austintek.com/ It's GNU/Linux!

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