Mailing List Archive

problem with wackamole
Hi, I'm mostly struggling to get this working.. Maybe someone can point
me in the right direction..



I have two machines running apache ( kdc-www1 and kdc-www2 ), on the
same subnet. They will share a single virtual IP address ( 202.86.97.199
) My wackamole and spread config files are the same on both
machines.



Spread is listening on port 4803, I'm assuming its running ok.



I can't ping the address 202.86.97.199 from anywhere.. The arp tables
show incomplete for this address.





How do I debug wackamole, to see if its running..







COnfigs below.









[root@kdc-www2 etc]# more wackamole.conf

Spread = 4803

SpreadRetryInterval = 5s



Group = wack1



Control = /var/run/wack.it



Mature = 5s





balance {

AcquisitionsPerRound = all

interval = 4s

}



Arp-Cache = 90s

Prefer None



VirtualInterfaces

{

{ eth0:202.86.97.199/27 }

}



Notify

{

# Let's notify the firewalls first. They are bound to get grumpy
first

eth0:202.86.97.194/32

eth0:202.86.97.193/32

eth0:202.86.97.195/32

# And everything else in the subnet, ( maxed at 128 per sec )

# eth0:202.86.97.192/27 throttle 128

# Wackamole shares arp-cache across machines, this says to

# notify every IP address in the aggregate shared arp-cache.

arp-cache

}



[root@kdc-www2 etc]# more spread.conf

Spread_Segment 202.86.96.223:4803



{

kdc-www1 202.86.96.202

kdc-www2 202.86.96.203

}

[root@kdc-www2 etc]#
Re: problem with wackamole [ In reply to ]
Try using the -d option with Wackamole. Also, examine the messages
printed by the Spread daemons at startup, and make sure that they
install a membership successfully.

Cheers,
Ryan

On Wed, 29 Dec 2004 17:16:02 +1300, Frazer, Andrew non Unisys
<Andrew.Frazer@nz.unisys.com> wrote:
>
>
>
>
>
>
>
> Hi, I'm mostly struggling to get this working.. Maybe someone can point me
> in the right direction..
>
>
>
> I have two machines running apache ( kdc-www1 and kdc-www2 ), on the same
> subnet. They will share a single virtual IP address ( 202.86.97.199 ) My
> wackamole and spread config files are the same on both machines.
>
>
>
> Spread is listening on port 4803, I'm assuming its running ok.
>
>
>
> I can't ping the address 202.86.97.199 from anywhere.. The arp tables show
> incomplete for this address.
>
>
>
>
>
> How do I debug wackamole, to see if its running..
>
>
>
>
>
>
>
> COnfigs below.
>
>
>
>
>
>
>
>
>
> [root@kdc-www2 etc]# more wackamole.conf
>
> Spread = 4803
>
> SpreadRetryInterval = 5s
>
>
>
> Group = wack1
>
>
>
> Control = /var/run/wack.it
>
>
>
> Mature = 5s
>
>
>
>
>
> balance {
>
> AcquisitionsPerRound = all
>
> interval = 4s
>
> }
>
>
>
> Arp-Cache = 90s
>
> Prefer None
>
>
>
> VirtualInterfaces
>
> {
>
> { eth0:202.86.97.199/27 }
>
> }
>
>
>
> Notify
>
> {
>
> # Let's notify the firewalls first. They are bound to get grumpy
> first
>
> eth0:202.86.97.194/32
>
> eth0:202.86.97.193/32
>
> eth0:202.86.97.195/32
>
> # And everything else in the subnet, ( maxed at 128 per sec )
>
> # eth0:202.86.97.192/27 throttle 128
>
> # Wackamole shares arp-cache across machines, this says to
>
> # notify every IP address in the aggregate shared arp-cache.
>
> arp-cache
>
> }
>
>
>
> [root@kdc-www2 etc]# more spread.conf
>
> Spread_Segment 202.86.96.223:4803
>
>
>
> {
>
> kdc-www1 202.86.96.202
>
> kdc-www2 202.86.96.203
>
> }
>
> [root@kdc-www2 etc]#
>
>
>
>

_______________________________________________
wackamole-users mailing list
wackamole-users@lists.backhand.org
http://lists.backhand.org/mailman/listinfo/wackamole-users
RE: problem with wackamole [ In reply to ]
This is the output from when I start spread


Conf_init: using file: spread.conf
Successfully configured Segment 0 [202.86.96.223:4803] with 2 procs:
kdc-www1: 202.86.96.202
kdc-www2: 202.86.96.203
Finished configuration file.
Conf_init: My name: kdc-www1, id: 202.86.96.202, port: 4803

[root@kdc-www1 etc]# wackamole -d


connecting to 4803
Clean_up called
Dequeued arp spoof notifier.
No such interface
SP_connect: connected with private group(18 bytes): #wack5264#kdc-www1

Sending 2 local arp entries\


The message No such interface is a little concerning.. Any idea what it
means?





-----Original Message-----
From: wackamole-users-admin@lists.backhand.org
[mailto:wackamole-users-admin@lists.backhand.org] On Behalf Of Ryan
Caudy
Sent: Thursday, December 30, 2004 3:23 PM
To: wackamole-users@lists.backhand.org
Subject: Re: [Wackamole-users] problem with wackamole

Try using the -d option with Wackamole. Also, examine the messages
printed by the Spread daemons at startup, and make sure that they
install a membership successfully.

Cheers,
Ryan

On Wed, 29 Dec 2004 17:16:02 +1300, Frazer, Andrew non Unisys
<Andrew.Frazer@nz.unisys.com> wrote:
>
>
>
>
>
>
>
> Hi, I'm mostly struggling to get this working.. Maybe someone can
point me
> in the right direction..
>
>
>
> I have two machines running apache ( kdc-www1 and kdc-www2 ), on the
same
> subnet. They will share a single virtual IP address ( 202.86.97.199 )
My
> wackamole and spread config files are the same on both machines.
>
>
>
> Spread is listening on port 4803, I'm assuming its running ok.
>
>
>
> I can't ping the address 202.86.97.199 from anywhere.. The arp tables
show
> incomplete for this address.
>
>
>
>
>
> How do I debug wackamole, to see if its running..
>
>
>
>
>
>
>
> COnfigs below.
>
>
>
>
>
>
>
>
>
> [root@kdc-www2 etc]# more wackamole.conf
>
> Spread = 4803
>
> SpreadRetryInterval = 5s
>
>
>
> Group = wack1
>
>
>
> Control = /var/run/wack.it
>
>
>
> Mature = 5s
>
>
>
>
>
> balance {
>
> AcquisitionsPerRound = all
>
> interval = 4s
>
> }
>
>
>
> Arp-Cache = 90s
>
> Prefer None
>
>
>
> VirtualInterfaces
>
> {
>
> { eth0:202.86.97.199/27 }
>
> }
>
>
>
> Notify
>
> {
>
> # Let's notify the firewalls first. They are bound to get
grumpy
> first
>
> eth0:202.86.97.194/32
>
> eth0:202.86.97.193/32
>
> eth0:202.86.97.195/32
>
> # And everything else in the subnet, ( maxed at 128 per sec )
>
> # eth0:202.86.97.192/27 throttle 128
>
> # Wackamole shares arp-cache across machines, this says to
>
> # notify every IP address in the aggregate shared arp-cache.
>
> arp-cache
>
> }
>
>
>
> [root@kdc-www2 etc]# more spread.conf
>
> Spread_Segment 202.86.96.223:4803
>
>
>
> {
>
> kdc-www1 202.86.96.202
>
> kdc-www2 202.86.96.203
>
> }
>
> [root@kdc-www2 etc]#
>
>
>
>

_______________________________________________
wackamole-users mailing list
wackamole-users@lists.backhand.org
http://lists.backhand.org/mailman/listinfo/wackamole-users

_______________________________________________
wackamole-users mailing list
wackamole-users@lists.backhand.org
http://lists.backhand.org/mailman/listinfo/wackamole-users
Re: problem with wackamole [ In reply to ]
VirtualInterfaces {
{ eth0:202.86.97.199/27 }
}

Looks a bit odd to me. Is that really the first IP address on that box
in that netblock? If so, how are you adding in the default route for
traffic to that IP? You can do this with wackamole using the
extensions system, but that's pretty advanced.

I recommend having the administrative IP address in the same network as
the VirtualInterfaces to start with -- until you get the hang of how
things work.

// Theo Schlossnagle
// Principal Engineer -- http://www.omniti.com/~jesus/
// OmniTI Computer Consulting, Inc. -- http://www.omniti.com/
// Ecelerity: fastest MTA on Earth
RE: problem with wackamole [ In reply to ]
I think I understand what you are saying.. but..



I have one subnet ( 202.86.97.192/27 ), that has two apache servers (
real address's 202.86.97.202 and 202.86.97.203 ). The virtual address
I want to use is 202.86.97.199..



Should I be using eth0:202.86.97.199/32 rather than 202.86.97.199/27 ?
)



I have just read your paper " understanding and building HA/LB CLUSTERS
" so, I've copied the config from example 3.5.1, but I see I used the
/27 mask rather than the /32..









________________________________

From: wackamole-users-admin@lists.backhand.org
[mailto:wackamole-users-admin@lists.backhand.org] On Behalf Of Theo
Schlossnagle
Sent: Thursday, December 30, 2004 3:56 PM
To: wackamole-users@lists.backhand.org
Cc: Theo Schlossnagle
Subject: Re: [Wackamole-users] problem with wackamole



VirtualInterfaces {

{ eth0:202.86.97.199/27 }

}



Looks a bit odd to me. Is that really the first IP address on that box
in that netblock? If so, how are you adding in the default route for
traffic to that IP? You can do this with wackamole using the extensions
system, but that's pretty advanced.



I recommend having the administrative IP address in the same network as
the VirtualInterfaces to start with -- until you get the hang of how
things work.



// Theo Schlossnagle

// Principal Engineer -- http://www.omniti.com/~jesus/

// OmniTI Computer Consulting, Inc. -- http://www.omniti.com/

// Ecelerity: fastest MTA on Earth
Re: problem with wackamole [ In reply to ]
On Dec 29, 2004, at 10:10 PM, Frazer, Andrew non Unisys wrote:

> I think I understand what you are saying.. but..
>
>  
>
> I have one subnet  ( 202.86.97.192/27 ), that has two apache servers 
> ( real address’s 202.86.97.202 and 202.86.97.203 ).   The virtual
> address I want to use is 202.86.97.199..

You spread.conf indicated otherwise:

Spread_Segment 202.86.96.223:4803

 

        {

        kdc-www1 202.86.96.202

        kdc-www2 202.86.96.203

        }

> Should I be using  eth0:202.86.97.199/32  rather than 202.86.97.199/27
> ? )

Yes. Linux seems to not "care as much", but on most other unicies,
this is a strict requirement.

// Theo Schlossnagle
// Principal Engineer -- http://www.omniti.com/~jesus/
// OmniTI Computer Consulting, Inc. -- http://www.omniti.com/
// Ecelerity: fastest MTA on Earth