The bb-hosts file on .4 (the remote server) has these entries:
192.168.213.4 apollo.tfc.com #bbd http://apollo.tfc.com
192.168.213.6 bomgar # ping http://192.168.213.6
I added these entries into the bb-hosts file on .5 (the main server) this morning
192.168.213.4 apollo.tfc.com #noconn
192.168.213.6 bomgar #noconn
After doing this the messages in hobbitd went away
Hostname 'apollo.tfc.com' in tree, but no host-info
Hostname 'bomgar' in tree, but no host-info
Now my /hobbit/bb.html page shows both "remote" items but has no data on them other then bbproxy, info and trends on .4.
The bbproxy icon on the main servers /hobbit page shows this:
bbproxy for Hobbit version 4.2.0
Proxy statistics
Incoming messages : 43 (0 msgs/second)
Outbound messages : 292
Incoming message distribution
Combo messages : 12
Status messages : 253
Messages merged : 10
Resulting combos : 2
Page messages : 0
Other messages : 31
Proxy ressources
Connection table size : 1
Buffer space : 8 kByte
Timeout/failure details
reading from client : 0
connecting to server : 275
sending to server : 0
recovered : 0
reading from server : 0
sending to client : 0
Average queue time : 30.618
On .4 hobbitlaunch.cfg I changed all the other services that had NEEDS hobbitd to say NEEDS bbproxy as mentioned in http://www.hswn.dk/hobbiton/2006/08/msg00833.html, but this did not help. What am I missing?
From: Aaron Kincaid Sent: Tuesday, October 30, 2007 1:55 PM To: hobbit at hswn.dk Subject: Issue with bbproxy
Having an issue with bbproxy. I have a main hobbit box 192.168.213.5 and a secondary box that currently has 192.168.213.4 (it will be moved offsite after testing and setup is completed) I want .4 to forward all info to .5, but 4 does not need to display anything locally.
On .4 I have tried various things with no apparent progress. In hobbitlaunch.cfg I disabled hobbitd as instructed and set [bbproxy] up as follows
[bbproxy]
ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg
CMD $BBHOME/bin/bbproxy --hobbitd --bbdisplay=192.168.213.5
--report=$MACHINE.bbproxy --pidfile=$BBSERVERLOGS/bbproxy.pid
On the main server .5, I get the following messages under hobbit process
Hostname 'apollo.tfc.com' in tree, but no host-info
Hostname 'bomgar' in tree, but no host-info
Hostname 'apollo.tfc.com' in tree, but no host-info
Hostname 'bomgar' in tree, but no host-info
Hostname 'apollo.tfc.com' in tree, but no host-info
Hostname 'bomgar' in tree, but no host-info
Hostname 'apollo.tfc.com' in tree, but no host-info
Hostname 'bomgar' in tree, but no host-info
Hostname 'apollo.tfc.com' in tree, but no host-info
Hostname 'bomgar' in tree, but no host-info
Hostname 'apollo.tfc.com' in tree, but no host-info
Hostname 'bomgar' in tree, but no host-info
Do I need to do something on .5? I tried adding 'apollo.tfc.com' and 'bomgar' to the bbhosts file on .5 but that appears to have produced resulted in .5 simply checking the hosts out for itself instead of using .4's results.
So, several questions:
How to I display the result from .4 on .5?
Where will the info appear? On the bb.html page or can I make it appear in one of my existing PAGE groups?
In the future can I use --bbdisplay=192.168.213.5 to use the FQDN for when I finally deploy it?
Thanks in advance,
Aaron Kincaid
On Wednesday 31 October 2007 22:08:25 Aaron Kincaid wrote:
The bb-hosts file on .4 (the remote server) has these entries:
192.168.213.4 apollo.tfc.com #bbd http://apollo.tfc.com
192.168.213.6 bomgar # ping http://192.168.213.6
I added these entries into the bb-hosts file on .5 (the main server) this morning
192.168.213.4 apollo.tfc.com #noconn
192.168.213.6 bomgar #noconn
After doing this the messages in hobbitd went away
Hostname 'apollo.tfc.com' in tree, but no host-info
Hostname 'bomgar' in tree, but no host-info
Now my /hobbit/bb.html page shows both "remote" items but has no data on them other then bbproxy, info and trends on .4.
The bbproxy icon on the main servers /hobbit page shows this:
bbproxy for Hobbit version 4.2.0
Proxy statistics
Incoming messages : 43 (0 msgs/second)
Outbound messages : 292
Incoming message distribution
Combo messages : 12
Status messages : 253
Messages merged : 10
Resulting combos : 2
Page messages : 0
Other messages : 31
Proxy ressources
Connection table size : 1
Buffer space : 8 kByte
Timeout/failure details
reading from client : 0
connecting to server : 275
sending to server : 0
recovered : 0
reading from server : 0
sending to client : 0
Average queue time : 30.618
My bbproxy (been running for almost 2 years now with no real problems), reports:
bbproxy for Hobbit version 4.2.0
Proxy statistics
Incoming messages : 1925513 (0 msgs/second) Outbound messages : 1871448
Incoming message distribution
- Combo messages : 7512
- Status messages : 939589 Messages merged : 145178 Resulting combos : 61297
- Page messages : 0
- Other messages : 985900
Proxy ressources
- Connection table size : 1
- Buffer space : 8 kByte
Timeout/failure details
- reading from client : 1
- connecting to server : 0
- sending to server : 0
- recovered : 0
- reading from server : 0
- sending to client : 0
Average queue time : 0.742
So, your average queue time looks very high, and your "connecting to server" entry under "Timeout/failure details".
BTW, for some reason (can't remember now), I run my bbproxy with the --no-daemon option.
Regards, Buchan
On Wed, Oct 31, 2007 at 03:08:25PM -0500, Aaron Kincaid wrote:
Now my /hobbit/bb.html page shows both "remote" items but has no data on them other then bbproxy, info and trends on .4.
Average queue time : 30.618
Very high. Check the bbproxy log file, I think your proxy cannot connect to the Hobbit server on .5.
Henrik
participants (3)
-
akincaid@beckautogroup.com
-
bgmilne@staff.telkomsa.net
-
henrik@hswn.dk