[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] Sending Hobbit data from one server to another
- To: <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] Sending Hobbit data from one server to another
- From: "Whilding, Craig" <Craig_Whilding (at) mentor.com>
- Date: Fri, 7 Mar 2008 12:27:28 -0000
- References: <29f517690802110707o424af222g4e53d166e602d64a (at) mail.gmail.com> <c6fda93d0802110733k52f3f95cpadc9003c0118e816 (at) mail.gmail.com> <29f517690802110802i4e1af67cxa26018c972545213 (at) mail.gmail.com> <a60f25fc0803050851t258bd14dle9fd4748c931ee57 (at) mail.gmail.com> <a60f25fc0803061327t6a994c4an5109467c694ad0d2 (at) mail.gmail.com> <8289D4DDD352DF45B8DABD7D5852A59008C508FB (at) EUSRV-EXC1.eu.ta.global>
- Thread-index: Ach/0YM3FOUq2lwPTcKbuyeeed8ePwAW1IuQAAhkmRA=
- Thread-topic: [hobbit] Sending Hobbit data from one server to another
One other thing to add.
To make sure you do not have both servers network testing the same hosts you should look up the NET:location variable for bb-hosts. If you use this on the main server you can specify only to network test the servers local to it and not the remote servers, these would be tested by the remote hobbit server that forwards the data.
Hope this helps.
Regards,
Craig
-----Original Message-----
From: Johann Eggers [mailto:Johann.Eggers (at) teleatlas.com]
Sent: 07 March 2008 08:33
To: hobbit (at) hswn.dk
Subject: RE: [hobbit] Sending Hobbit data from one server to another
Hi,
In the past I struggled the same. Here is a summary what I did to make it work:
Situation:
Before:
- Local hobbit listens on 10.15.xxx.xxx port 1984
- Local clients sends messages to IP 10.15.xxx.xxx port 1984
With bbproxy:
- Local hobbit listens on 127.0.0.1 port 1984
- Local bbproxy listens on 10.15.xxx.xxx port 1984
- Local clients sends messages to IP 10.15.xxx.xxx port 1984 (bbproxy)
- bbproxy forwards incoming messages to 127.0.0.1 port 1984 AND to remote hobbit (10.170.xxx.xxx) port 1984
This is what needs to be changed on the local hobbit sever:
- Add a --listen=127.0.0.1 to hobbitd in hobbitlaunch.cfg on local hobbit
- Enable bbproxy on local hobbit in hobbitlaunch.cfg. Use the option "--bbdisplay=127.0.0.1,10.170.xxx.xxx" to tell bbproxy to forward to both server and add --listen 10.15.xxx.xxx so it will listen on this IP for incoming messages
- Change the BBSERVERIP setting in hobbitserver.cfg to point at the 127.0.0.1 address.
This setting is used e.g. by the web CGI's that talk to the "real" hobbit server, so it is best to point this at the real server IP, not the proxy.
- Because there are also running network tests from the same server, we need to change the CMD setting of [bbnet] in hobbitlaunch.cfg also.
Instead of calling bbtest-net directly, put it into a shell script wrapper and set BBDISPLAY explicitly to 10.15.xxx.xxx. Otherwise it will pick up the BBSERVERIP setting (127.0.0.1) and send the network test results to 127.0.0.1 - so they won't go through the proxy, and hence you won't see them on the remote server.
- Restart Hobbit