[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] Use several Hobbit on different place
- To: <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] Use several Hobbit on different place
- From: "Whilding, Craig" <Craig_Whilding (at) mentor.com>
- Date: Thu, 29 Nov 2007 17:07:44 -0000
- References: <a56b88790711271501y4f7b3011l40319f23a5af59fa (at) mail.gmail.com><BAC1D28A5AB852439A6914CA7AB4E63F05111FB3 (at) permls05.wde.woodside.com.au><17601.195.25.100.21.1196252038.squirrel (at) 82.224.107.105><961092e10711280635x64d33357w5f9414eba469fb2 (at) mail.gmail.com><20071128182954.4c72c081 (at) netstation.linuxnetwork.local><20071129065256.0ff72598 (at) netstation.linuxnetwork.local><474E8C15.7060106 (at) shihad.org><1A590FCC158A244B80DC7D09134B9AED032F3426 (at) svr-gbn-exc-02.mgc.mentorg.com> <20071129174734.745d6fe9 (at) netstation.linuxnetwork.local>
- Thread-index: Acgyp54vXX7Q51I+Q8uz9mP+QIBAaAAAMyPQ
- Thread-topic: [hobbit] Use several Hobbit on different place
In the main bb-hosts file on the server:
137.xxx.xxx.1 gb17.gb.domain.com # NET:main DESCR:"printer: "
page remote remote
include /usr/local/hobbit/server/etc/bb-hosts(remote)
in the remote bb-hosts subfile:
subpage Printers Printers
137.xx1.xxx.1 gb6.gbr.domain.com # NET:remote
(you don't really need these tags on the remote sites when all hosts in their bb-hosts file will be tested but it helps if you end up adding anymore tiers to your monitoring)
In hobbitserver.cfg on main server:
BBLOCATION="main" # The network location, makes bbtest-net test only hosts with NET:foo
In hobbitlaunch.cfg on remote:
CMD $BBHOME/bin/bbproxy --hobbitd --bbdisplay=137.xxx.xxx.1,127.0.0.1 --listen=137.xx1.xxx.54 --report --no-daemon --pidfile=$BBSERVERLOGS/bbproxy.pid
(ie send to main hobbit server and hobbit server running on localhost, listen on external address of localhost)
In hobbitserver.cfg on remote:
Ipaddress=127.0.01 or whatever the variable is.
There might be something else you need to do to get it working properly but I think this is it. Check the error logs if you have trouble with the remote side of things.
Regards,
Craig
-----Original Message-----
From: L.M.J [mailto:linuxmasterjedi (at) free.fr]
Sent: 29 November 2007 16:48
To: hobbit (at) hswn.dk
Subject: Re: [hobbit] Use several Hobbit on different place
Le Thu, 29 Nov 2007 10:15:23 -0000,
"Whilding, Craig" <Craig_Whilding (at) mentor.com> a écrit :
> Further to this, if you want a display server running on the remote
> sites (in case the WAN goes down for example) then you must setup the
> secondary hobbit servers to run on localhost and get the proxy to
> forward to both the main server and the localhost while listening on the
> secondary server's external ipaddress.
>
> This is what I do on most of our European sites and forward them to the
> central hub. It means we have the data in two places by default.
That's exactly what I want to do!
> The net location tags are very important if doing network tests at the
> remote sites so that the main server doesn't try testing them as well. I
> rsync the bb-hosts files from the remote servers with sub bb-host pages
> on the main server.
I will double check the "net" option in bb-hosts. Last thing I'm asking : could you send me samples of your
bb-hosts using the "net" option?
> Hope this is useful.
>
> Regards,
> Craig