Re: Help w/ install and setup

Sean Leach <[email protected]> Wed, 10 Nov 2004 08:40:50 -0800
Newsgroups gmane.comp.apache.mod-wackamole.general
Message-ID <[email protected]>
On Tue, 9 Nov 2004 20:25:30 -0500, Ryan Caudy <[email protected]> wrote:
> Sorry, this part:
> 
> Configuration at whelmon1 is:
> Num Segments 1
>        1       10.1.11.255       4803
>                whelmon1                10.1.11.202
> 
> I wasn't talking about the spread.conf config, but rather the
> configuration installed by the daemons after they completed the daemon
> membership algorithm.
> 
> However, your spmonitor output answered my question.

Any other thoughts of how I can troubleshoot? 


> 
> 
> 
> Cheers,
> Ryan
> 
> On Tue, 9 Nov 2004 17:17:51 -0800, Sean Leach <[email protected]> wrote:
> > What part of my config looked like it was only for whelmon1?  I have
> > both whelmon1 and whelmon2 defined in my spread.confg
> >
> > Here is the output from spmonitor run from whelmon1 as:
> > # spmonitor -n whelmon1
> >
> > =============
> > Activate Status
> > -------------
> >
> >         Enter Proc Name: whelmon1
> >         Enter Proc Name: whelmon2
> >         Enter Proc Name:
> > Monitor: send status query
> >
> > Monitor>
> > ============================
> > Status at whelmon1 V 3.17. 3 (state 1, gstate 1) after 4834 seconds :
> > Membership  :  2  procs in 1 segments, leader is whelmon1
> > rounds   :    2452      tok_hurry :    2412     memb change:       1
> > sent pack:       8      recv pack :       6     retrans    :       0
> > u retrans:       0      s retrans :       0     b retrans  :       0
> > My_aru   :      17      Aru       :      17     Highest seq:      17
> > Sessions :       1      Groups    :       1     Window     :      60
> > Deliver M:      13      Deliver Pk:      17     Pers Window:      15
> > Delta Mes:      13      Delta Pack:      17     Delta sec  :    4834
> > ==================================
> >
> > Monitor>
> > ============================
> > Status at whelmon2 V 3.17. 3 (state 1, gstate 1) after 4930 seconds :
> > Membership  :  2  procs in 1 segments, leader is whelmon1
> > rounds   :    2497      tok_hurry :    2452     memb change:       2
> > sent pack:       7      recv pack :       9     retrans    :       0
> > u retrans:       0      s retrans :       0     b retrans  :       0
> > My_aru   :      17      Aru       :      17     Highest seq:      17
> > Sessions :       1      Groups    :       1     Window     :      60
> > Deliver M:      13      Deliver Pk:      19     Pers Window:      15
> > Delta Mes:       0      Delta Pack:       0     Delta sec  :      96
> > ==================================
> >
> >
> >
> >
> > On Tue, 9 Nov 2004 19:18:36 -0500, Ryan Caudy <[email protected]> wrote:
> > > Well, to begin with, from the info you copied it looks like the Spread
> > > daemons aren't finding one another, since the configuration that
> > > whelmon1 installs is just whelmon1.  Could you double check that they
> > > *are* able to communicate, and that they do install a configuration
> > > with both of them?
> > >
> > > Cheers,
> > > Ryan
> > >
> > >
> > >
> > >
> > > On Tue, 9 Nov 2004 16:01:30 -0800, Sean Leach <[email protected]> wrote:
> > > > 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
> > > >
> > > > _______________________________________________
> > > > wackamole-users mailing list
> > > > [email protected]
> > > > http://lists.backhand.org/mailman/listinfo/wackamole-users
> > > >
> > >
> > > --
> > > ---------------------------------------------------------------------
> > > Ryan W. Caudy
> > > <[email protected]>
> > > ---------------------------------------------------------------------
> > > Bloomberg L.P.
> > > <[email protected]>
> > > ---------------------------------------------------------------------
> > > [Alumnus]
> > > <[email protected]>
> > > Center for Networking and Distributed Systems
> > > Department of Computer Science
> > > Johns Hopkins University
> > > ---------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > wackamole-users mailing list
> > > [email protected]
> > > http://lists.backhand.org/mailman/listinfo/wackamole-users
> > >
> > 
> > _______________________________________________
> 
> 
> >
> >
> > wackamole-users mailing list
> > [email protected]
> > http://lists.backhand.org/mailman/listinfo/wackamole-users
> >
> 
> --
> ---------------------------------------------------------------------
> Ryan W. Caudy
> <[email protected]>
> ---------------------------------------------------------------------
> Bloomberg L.P.
> <[email protected]>
> ---------------------------------------------------------------------
> [Alumnus]
> <[email protected]>
> Center for Networking and Distributed Systems
> Department of Computer Science
> Johns Hopkins University
> ---------------------------------------------------------------------
> 
> _______________________________________________
> wackamole-users mailing list
> [email protected]
> http://lists.backhand.org/mailman/listinfo/wackamole-users
>