Mailing List Archive

hmm, little more help continued,
Ok so after getting wackamole to compile, I attempted to migrate my current
environment (wackamole 1.2) over to it. However I have not had any success
with wackamole picking up any of the VIPs. What am I missing, Spread looks
like it starts up fine, and all machines look like they are able to
communicate. spmonitor shows them all on the same partition. Wackamole
starts up and does not generate any errors in /var/adm/messages or on the
console from what I am seeing. Did I miss something in the new
configuration?

My env is solaris 8 on sparc (UltraSparc IIe) (3 of these) (model netra x1)
512 MB RAM

ifconfig brings up the following information.
netravis1# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
dmfe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.2.191 netmask ffffff00 broadcast 192.168.2.255
ether 0:3:ba:13:3a:63
netravis1#

netravis1# cat /env/lvWeb/spread3.17.1/etc/spread.conf | grep -v '^#'
DebugFlags = { PRINT EXIT }

EventLogFile = spread.log

EventTimeStamp = "[%a %d %b %Y %H:%M:%S]"

RuntimeDir = /var/run/spread

DaemonUser = spread
DaemonGroup = spread

Spread_Segment 225.0.1.1:4803 {
mcast1 192.168.2.191
mcast2 192.168.2.192
mcast3 192.168.2.193
}

netravis1#

running spmonitor shows the following
netravis1# spmonitor
=============
Monitor Menu:
-------------
0. Activate/Deactivate Status {all, none, Proc, CR}

1. Define Partition
2. Send Partition
3. Review Partition
4. Cancel Partition Effects

5. Define Flow Control
6. Send Flow Control
7. Review Flow Control

8. Terminate Spread Daemons {all, none, Proc, CR}

9. Exit

Monitor> 3

=============
Partition Map:
-------------

mcast1 0
mcast2 0
mcast3 0


Monitor> 9
Bye.
netravis1#


My wackamole config
netravis1# cat /env/lvWeb/wackamole2.0.0/etc/wackamole.conf | grep -v '^#'
Spread = 4803
SpreadRetryInterval = 5s
Group = wack1
Control = /var/run/wack.it

prefer dmfe0:192.168.2.136/32

Prefer { dmfe0:192.168.2.136/32 }

VirtualInterfaces {
{ dmfe0:192.168.2.136/24 }
{ dmfe0:192.168.2.137/24 }
{ dmfe0:192.168.2.138/24 }
}

Arp-Cache = 90s

Notify {
# Let's notify our router:
dmfe0:192.168.2.2/32
# Notify out DNS servers
dmfe0:192.168.2.197/32
dmfe0:192.168.2.213/32
arp-cache
}
balance {
# This field is the maximum number of IP addresses that will move
# from one wackamole to another during a round of balancing.
AcquisitionsPerRound = all
# Time interval in each balancing round.
interval = 4s
}
mature = 5s
netravis1#

/var/adm/messages says the following:
Mar 17 18:23:31 netravis1 wackamole[17373]: [ID 375624 daemon.notice]
connecting to 4803
Mar 17 18:23:31 netravis1 wackamole[17373]: [ID 472530 daemon.notice]
Dequeued arp spoof notifier.

running with -d shows the following
netravis1# /env/lvWeb/wackamole/sbin/wackamole -d -c
/env/lvWeb/wackamole/etc/wackamole.conf

/===========================================================================
===\
| The Wackamole Program.
|
| Copyright (c) 2000-2001 The Johns Hopkins University
|
| All rights reserved.
|
|
|
| Wackamole is developed at the Center for Networking and Distributed
Systems, |
| The Johns Hopkins University.
|
|
|
| The Wackamole package is licensed under the CNDS Open Source License
|
| You may only use this software in compliance with the License.
|
| A copy of the license can be found at
|
| http://www.backhand.org/wackamole/license
|
|
|
| This product uses the Spread toolkit, developed by Spread Concepts LLC.
|
| For more information about Spread see http://www.spread.org
|
|
|
| This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
|
| ANY KIND, either express or implied.
|
|
|
| Creators:
|
| Yair Amir yairamir@cnds.jhu.edu
|
| Ryan Caudy wyvern@cnds.jhu.edu
|
| Aashima Munjal munjal@jhu.edu
|
| Theo Schlossnagle jesus@cnds.jhu.edu
|
|
|
| For a full list of contributors, see Readme.txt in the distribution.
|
|
|
| WWW: www.backhand.org www.cnds.jhu.edu
|
| Contact: wackamole@backhand.org
|
|
|
| Version 2.0.0 Released 2002-Nov-15
|
|
|
\===========================================================================
===|
connecting to 4803
Clean_up called
Dequeued arp spoof notifier.
Dequeued arp spoof notifier.
Dequeued arp spoof notifier.
SP_connect: connected with private group(17 bytes): #wack17496#mcast1

Adding: (dmfe0) 192.168.2.2 [00:00:0c:07:ac:01]
Adding: (dmfe0) 192.168.2.3 [00:07:4f:a2:8f:fc]
Adding: (dmfe0) 192.168.2.5 [00:e0:18:0a:76:ab]
Adding: (dmfe0) 192.168.2.22 [00:10:dc:d1:26:ee]
Adding: (dmfe0) 192.168.2.192 [00:03:ba:13:3c:21]
Adding: (dmfe0) 192.168.2.197 [08:00:20:93:35:fc]
Adding: (dmfe0) 224.0.1.1 [01:00:5e:00:01:01]
Adding: (dmfe0) 225.0.1.1 [01:00:5e:00:01:01]
Adding: (dmfe0) 224.0.0.2 [01:00:5e:00:00:02]
Adding: (dmfe0) 192.168.2.110 [00:50:8b:cf:cf:40]
Adding: (dmfe0) 192.168.2.108 [00:03:47:13:8e:8e]
Adding: (dmfe0) 192.168.2.98 [00:02:a5:08:52:61]
Adding: (dmfe0) 192.168.2.66 [00:03:47:4e:d0:56]
Adding: (dmfe0) 192.168.2.68 [00:02:a5:56:bd:84]
Adding: (dmfe0) 192.168.2.93 [00:02:a5:8b:a9:9b]
Adding: (dmfe0) 192.168.2.41 [00:06:5b:f3:ca:dc]
Adding: (dmfe0) 192.168.2.32 [00:02:a5:56:4d:11]
Adding: (dmfe0) 192.168.2.37 [00:d0:b7:ab:77:a4]
Adding: (dmfe0) 192.168.2.60 [00:90:27:76:22:10]
Adding: (dmfe0) 192.168.2.49 [00:03:47:11:e7:b3]
Adding: (dmfe0) 192.168.2.10 [00:02:a5:0d:8a:5d]
Adding: (dmfe0) 192.168.2.11 [00:03:47:dd:28:cd]
Adding: (dmfe0) 192.168.2.13 [00:50:8b:e1:4b:31]
Adding: (dmfe0) 192.168.2.28 [00:06:5b:8d:f1:b0]
Adding: (dmfe0) 192.168.2.29 [00:02:a5:76:13:cc]
Adding: (dmfe0) 192.168.2.17 [00:60:b0:c1:90:f4]
Adding: (dmfe0) 192.168.2.21 [00:60:16:00:1a:6e]
Adding: (dmfe0) 192.168.2.235 [00:08:02:15:1f:39]
Adding: (dmfe0) 192.168.2.224 [00:42:52:00:38:68]
Adding: (dmfe0) 192.168.2.246 [00:02:a5:62:2b:90]
Adding: (dmfe0) 192.168.2.203 [08:00:20:c8:b5:61]
Adding: (dmfe0) 192.168.2.205 [00:50:8b:e2:b8:92]
Adding: (dmfe0) 192.168.2.194 [00:02:a5:00:e3:14]
Adding: (dmfe0) 192.168.2.198 [00:0b:db:a8:e1:42]
Adding: (dmfe0) 192.168.2.219 [00:00:a7:04:44:45]
Adding: (dmfe0) 192.168.2.162 [00:40:9d:23:af:17]
Adding: (dmfe0) 192.168.2.184 [00:60:16:00:08:1a]
Adding: (dmfe0) 192.168.2.190 [00:0d:56:ba:be:80]
Adding: (dmfe0) 192.168.2.191 [00:03:ba:13:16:c9]
Adding: (dmfe0) 192.168.2.143 [00:50:8b:5e:61:1a]
Adding: (dmfe0) 192.168.2.133 [08:00:20:e8:ad:67]
Adding: (dmfe0) 192.168.2.156 [00:03:47:11:e7:44]
Adding: (dmfe0) 192.168.2.157 [00:03:47:4e:9a:c6]
Adding: (dmfe0) 192.168.2.144 [00:08:02:8a:76:d3]
Adding: (dmfe0) 192.168.2.148 [00:02:a5:af:df:df]
Adding: (dmfe0) 224.0.0.0 [01:00:5e:00:00:00]
Sending 3 local arp entries
Adding: (dmfe0) 192.168.2.2 [00:00:0c:07:ac:01]
Adding: (dmfe0) 192.168.2.3 [00:07:4f:a2:8f:fc]
Adding: (dmfe0) 192.168.2.5 [00:e0:18:0a:76:ab]
Adding: (dmfe0) 192.168.2.22 [00:10:dc:d1:26:ee]
Adding: (dmfe0) 192.168.2.192 [00:03:ba:13:3c:21]
Adding: (dmfe0) 192.168.2.197 [08:00:20:93:35:fc]
Adding: (dmfe0) 224.0.1.1 [01:00:5e:00:01:01]
Adding: (dmfe0) 225.0.1.1 [01:00:5e:00:01:01]
Adding: (dmfe0) 224.0.0.2 [01:00:5e:00:00:02]
Adding: (dmfe0) 192.168.2.110 [00:50:8b:cf:cf:40]
Adding: (dmfe0) 192.168.2.108 [00:03:47:13:8e:8e]
Adding: (dmfe0) 192.168.2.98 [00:02:a5:08:52:61]
Adding: (dmfe0) 192.168.2.66 [00:03:47:4e:d0:56]
Adding: (dmfe0) 192.168.2.68 [00:02:a5:56:bd:84]
Adding: (dmfe0) 192.168.2.93 [00:02:a5:8b:a9:9b]
Adding: (dmfe0) 192.168.2.41 [00:06:5b:f3:ca:dc]
Adding: (dmfe0) 192.168.2.32 [00:02:a5:56:4d:11]
Adding: (dmfe0) 192.168.2.37 [00:d0:b7:ab:77:a4]
Adding: (dmfe0) 192.168.2.60 [00:90:27:76:22:10]
Adding: (dmfe0) 192.168.2.49 [00:03:47:11:e7:b3]
Adding: (dmfe0) 192.168.2.10 [00:02:a5:0d:8a:5d]
Adding: (dmfe0) 192.168.2.11 [00:03:47:dd:28:cd]
Adding: (dmfe0) 192.168.2.13 [00:50:8b:e1:4b:31]
Adding: (dmfe0) 192.168.2.28 [00:06:5b:8d:f1:b0]
Adding: (dmfe0) 192.168.2.29 [00:02:a5:76:13:cc]
Adding: (dmfe0) 192.168.2.17 [00:60:b0:c1:90:f4]
Adding: (dmfe0) 192.168.2.21 [00:60:16:00:1a:6e]
Adding: (dmfe0) 192.168.2.235 [00:08:02:15:1f:39]
Adding: (dmfe0) 192.168.2.224 [00:42:52:00:38:68]
Adding: (dmfe0) 192.168.2.246 [00:02:a5:62:2b:90]
Adding: (dmfe0) 192.168.2.203 [08:00:20:c8:b5:61]
Adding: (dmfe0) 192.168.2.205 [00:50:8b:e2:b8:92]
Adding: (dmfe0) 192.168.2.194 [00:02:a5:00:e3:14]
Adding: (dmfe0) 192.168.2.198 [00:0b:db:a8:e1:42]
Adding: (dmfe0) 192.168.2.219 [00:00:a7:04:44:45]
Adding: (dmfe0) 192.168.2.162 [00:40:9d:23:af:17]
Adding: (dmfe0) 192.168.2.184 [00:60:16:00:08:1a]
Adding: (dmfe0) 192.168.2.190 [00:0d:56:ba:be:80]
Adding: (dmfe0) 192.168.2.191 [00:03:ba:13:16:c9]
Adding: (dmfe0) 192.168.2.143 [00:50:8b:5e:61:1a]
Adding: (dmfe0) 192.168.2.133 [08:00:20:e8:ad:67]
Adding: (dmfe0) 192.168.2.156 [00:03:47:11:e7:44]
Adding: (dmfe0) 192.168.2.157 [00:03:47:4e:9a:c6]
Adding: (dmfe0) 192.168.2.144 [00:08:02:8a:76:d3]
Adding: (dmfe0) 192.168.2.148 [00:02:a5:af:df:df]
Adding: (dmfe0) 224.0.0.0 [01:00:5e:00:00:00]
Sending 46 local arp entries
Sig_handler called
SIGBUS Detected!
Clean_up called
Dequeued arp spoof notifier.


^CSig_handler called
SIGINT Detected!
Clean_up called
Dequeued arp spoof notifier.

...
untill I <ctrl -D> out

thanks you guys,


--Manuel Arroyo
hmm, little more help continued, [ In reply to ]
On Thu, 2004-03-18 at 14:11, Superman wrote:
> Ok so after getting wackamole to compile, I attempted to migrate my current
> environment (wackamole 1.2) over to it. However I have not had any success
> with wackamole picking up any of the VIPs. What am I missing, Spread looks
> Sig_handler called
> SIGBUS Detected!
> Clean_up called
> Dequeued arp spoof notifier.

Well, it looks like the problem is a bus error... that's not good. I
noticed these prior to the CVS version and it was due one of the
function using an ENORMOUS stack frame.

Have you tried the CVS version? Everywhere we are running wackamole, we
are running CVS HEAD. It is quite stable.

--
// Theo Schlossnagle
// Principal Engineer -- http://www.omniti.com/~jesus/
// Postal Engine -- http://www.postalengine.com/
// Ecelerity: fastest MTA on earth
hmm, little more help continued, [ In reply to ]
I don't have a box here that I can replicate your problem on. If you
can debug it, please send in more information. If you compile with
debugging symbols (-g in the CFLAGS) and run it under GDB.

gdb ../sbin/wackamole
r -c /env/lvWeb/wackamole2.0.0cvs/etc/wackamole.conf -d

It should break when you hit the bus error and you should be able to run
"where" and "bt full" which will provide some good information.

Bus errors are usually caused by alignment problems (but not always) and
may be a 64bit issue.

On Wed, 2004-03-24 at 12:24, Manuel Arroyo wrote:
> Yup, I just checked out the cvs version this morning and tried it with the
> same configurations below.
>
> I recieved the following messages in debug mode.
> netravis1# ../sbin/wackamole -c
> /env/lvWeb/wackamole2.0.0cvs/etc/wackamole.conf -d
>

> Adding: (dmfe0) 224.0.0.0 [01:00:5e:00:00:00]
> Sending 55 local arp entries
> Sig_handler called
> SIGBUS Detected!
> Clean_up called
> ^CSig_handler called
> SIGINT Detected!
> Clean_up called
> ^CKilled
> netravis1#

--
// Theo Schlossnagle
// Principal Engineer -- http://www.omniti.com/
// Ecelerity: fastest MTA on Earth