Help w/ install and setup

Sean Leach <[email protected]> Tue, 9 Nov 2004 16:14:17 -0800
Newsgroups gmane.comp.apache.mod-wackamole.general
Message-ID <[email protected]>
I have spread and wackamole running on two Whitebox Linux machines.

whelmon1 - 10.1.11.202
whelmon2 - 10.1.11.203

my router is 10.1.11.254

I want them to serve the vip 10.1.11.206/32.  See the bottom of the
message for my configs.

When I start spread on whelmon1, I get this printed:
# /usr/local/sbin/spread -n whelmon1
Conf_init: using file: /usr/local/etc/spread.conf
Successfully configured Segment 0 [10.1.11.255:4803] with 2 procs:
                    whelmon1: 10.1.11.202
                    whelmon2: 10.1.11.203
[root@whelmon1 :/usr/local/sbin]$ Membership id is ( 167840714, 1100044395)
--------------------
Configuration at whelmon1 is:
Num Segments 1
        1       10.1.11.255       4803
                whelmon1                10.1.11.202
====================


When I start spread on whelmon2, 
# /usr/local/sbin/spread -n whelmon2
I get the same thing pretty much printed, then after a second, the
following is printed on each machine:

++++++++++++++++++++++
Num of groups: 0


I then run wackamole on whelmon1, and it brings up the 10.1.11.206
interfac e (here is the log lines)

Nov  9 15:55:39 whelmon1 wackamole[3403]: connecting to 4803
Nov  9 15:55:39 whelmon1 wackamole[3403]: 934 No such interface
Nov  9 15:55:44 whelmon1 wackamole[3403]:   UP:
eth0:1:10.1.11.206/255.255.255.255
Nov  9 15:55:44 whelmon1 wackamole[3403]: Re-queued arp spoof notifier
for virtual entry.


BUT - when I run wackamole on whelmon2, nothing happens, all I ever
get in the logs is:


Nov  9 15:56:24 whelmon2 wackamole[25450]: connecting to 4803
Nov  9 15:56:24 whelmon2 wackamole[25450]: 934 No such interface

I tried simulating a failure on whelmon1 and seeing if whelmon2 took
the IP (I thought maybe it was working, but was not very verbose about
it), and 10.1.11.206 disappeared, so no dice.

This is a whole lot of info to weed through, but I am trying to get
some suggestions on what I should do next to troubleshoot.  It seems
like I am close, but something is missing such that whelmon2 doesn't
want to join in.

Thanks



Here is my spread.conf:

Spread_Segment  10.1.11.255:4803 {
    whelmon1    10.1.11.202
    whelmon2    10.1.11.203
}

And here is my wackamole.conf:

Spread = 4803
SpreadRetryInterval = 5s
Group = wack1
Control = /var/run/wack.it
Prefer None
VirtualInterfaces {
    eth0:10.1.11.206/32
}
Notify {
    eth0:10.1.1.254/32
    arp-cache
}
balance {
    AcquisitionsPerRound = all
    interval = 4s
}

mature = 5s