Re: {bb} bbnet Unknown host
Philip Clark <[email protected]> Wed, 11 Jul 2007 23:53:06 +0100
| Newsgroups | gmane.network.bb4.general |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2007-07-11 at 14:49 -0600, [email protected] wrote: > > Thanks Phil, I will give that a try. Looking at this a little more, it > is > interesting that I experience no name resolution problems for the > connectivity tests. Ping has to resolve the name in order to perform > the connectivity test, but it seems that the http and conn tests may > use different system calls to get it done. We have servers with a > green connectivity status for over 200 days, but the same server when > testing http will randomly experience the problem above. I may not > fully understand how bb does all it's testing, but it seems that if it > were purely a DNS issue it would show up during the ping tests also? > Just a thought. > >From memory (and a very brief scan of the code), I think that they do things a little differently. The standard BB "conn" test will call ping with the IP that you specify in bb-hosts, unless you have "0.0.0.0" for that machine. The normal "http" test will use the local resolver on the BBNET machine to try and get the IP for the URL that you specify in bb-hosts. I imagine that this is to allow for cases where you might have a single web-server dealing out pages for a number of back-end applications, like so: 10.0.0.10 web.mynet.com # http://web.mynet.com/index.html 10.0.0.20 app1.mynet.com # http://web.mynet.com/app1/index.html 10.0.0.30 app2.mynet.com # http://web.mynet.com/app2/index.html In this way, if web application goes down, it is reported against the application server and is not tied to the front-end. But this is just a guess. Cheers, Phil. -- The only problem with being a man of leisure is that you can never stop and take a rest. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-= To unsubscribe from this list, or to subscribe to the bb-digest list send e-mail to mailto:[email protected] with unsubscribe bb -and/or- subscribe bb-digest in the BODY of the message.