[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] building bbproxy
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] building bbproxy
- From: henrik (at) hswn.dk (Henrik Stoerner)
- Date: Tue, 29 Aug 2006 22:15:24 +0200
- References: <5D9CB2D13D0B004FA00E70149B166A916A9647@trn2622.natpower.co.uk> <e73320da0608290825m4e78cfe8o70742e208fdeb4a8@mail.gmail.com>
- User-agent: Mutt/1.5.11
On Tue, Aug 29, 2006 at 12:25:28PM -0300, mario andre wrote:
> I would like to set up a bbproxy. To do this I've copied the compiled hobbit
> running on Fedora to another machine running fedora too. I've changed
> hobbitlaunch.cfg only with
>
> [hobbitd]
> HEARTBEAT
> ENVFILE /home/bbmon/server/etc/hobbitserver.cfg
> CMD hobbitd --listen=127.0.0.1 --pidfile=$BBSERVERLOGS/hobbitd.pid
> --restart=$BBTMP/hobbitd.chk --checkpoint-file=$BBTMP/hobbitd.chk
> --checkpoint-interval=600 --log=$BBSERVERLOGS/hobbitd.log --admin-senders=
> 127.0.0.1,$BBSERVERIP
If you're running bbproxy, you should not be running the hobbitd task.
The [hobbitd] task runs ONLY on the real Hobbit server - not on proxy
servers, network testers, clients or any other box.
> [bbproxy]
> ENVFILE /home/bbmon/server/etc/hobbitserver.cfg
> CMD $BBHOME/bin/bbproxy --hobbitd
> --bbdisplay=127.0.0.1,172.20.19.13--report=$MACHINE.bbproxy
> --no-daemon --pidfile =$BBSERVERLOGS/bbproxy.pid
> LOGFILE $BBSERVERLOGS/bbproxy.log
WHAT ? You're telling bbproxy to feed messages to itself ??
Oh dear ... don't do that. Remove that 127.0.0.1 from the --bbdisplay
option.
> I've changed in hobbitserver.cfg --> BBSERVERIP="127.0.0.1"
That's ok.
> If i want to use the bbtest-net , I will need to define in a bb-hosts file
> as the same in the hobbit server?
bbtest-net needs a bb-hosts file, yes - that's where it gets the network
tests it should run.
> when I start hobbit.sh , my server starts listening on 1984 but some core
> files appears.
Do get rid of that 127.0.0.1 address.
Henrik