BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: {bb} bb and name-based virtual hosts



Hi Tim,
      You have a couple of options.  BB supports an alias function.  I
haven't used it, but you can set up a BB file to equate the real name of a
host with the name you want to use.


      The option I would choose is to put the canonical name of the host in
the bb-hosts file.  That DNS has a CNAME record and that Apache responds to
a virtual host name that is not the canonical name doesn't matter.


      Using the second option, you'll have saratoga3 listed on your BB
display (assuming you run the client on it) and you will NOT have
bb.denmantire listed.  This seems reasonable to me.  You WANT an easy name
to type into your browser or to tell others who need to see the display.
But BB can work with the real host names.


      I know the BB alias function works because I've seen others ask about
similar situations and that has been the answer for the.  See section 6.16
in the manual (at least that's the number in the 1.9c manual I'm using.
the file is etc/bbaliasname .


                  Dan




                                                                                                                                 
                      "Tim Boyer"                                                                                                
                      <tim@denmantire.c        To:       <bb@bb4.com>                                                            
                      om>                      cc:                                                                               
                      Sent by:                 Subject:  {bb} bb and name-based virtual hosts                                    
                      owner-bb@bb4.com                                                                                           
                                                                                                                                 
                                                                                                                                 
                      04/25/2005 09:30                                                                                           
                      AM                                                                                                         
                      Please respond to                                                                                          
                      bb                                                                                                         
                                                                                                                                 




I installed Big Brother on saratoga3.denmantire.com.

I started off using virtual named hosts on Apache, so that we could just go
to bb.denmantire.com to get the display.  I.e, httpd.conf says

<VirtualHost *:80>
ServerName bb.denmantire.com
ServerAlias bb
DocumentRoot /usr/src/bb/bb/www
CustomLog /usr/src/bb/bb/www/logs/access.log combined
ErrorLog /usr/src/bb/bb/www/logs/error.log
</VirtualHost>

which means that there’s no ‘real’ IP address for bb.denmantire.com.

In bb-hosts, I put

192.168.0.200            bb.denmantire.com # ssh BBNET BBDISPLAY BBPAGER

The problem is that runbb.sh would never start up the net, display, or
pager
processes – because the machine I was starting it from wasn’t really
bb.denmantire.com, it was saratoga3.denmantire.com.

So I added this line to bb-hosts:

192.168.0.200            saratoga3.denmantire.com # ssh BBNET BBDISPLAY
BBPAGER

which seems to work just fine – except that now, BBOUT keeps complaining

Mon Apr 25 11:10:46 2005 bbd CONNECTION TO saratoga3.denmantire.com TIMED
OUT...
Mon Apr 25 11:10:47 2005 bbd CAN'T CONNECT TO bbd SERVER @
saratoga3.denmantire.com
Mon Apr 25 11:10:50 2005 bb-display.sh Mon Apr 25 11:10:50 2005 bb CAN'T
CONNECT TO bbd SERVER @ saratoga3.denmantire.com

Before I make things worse by thrashing around here, is there some simple
way to tell bb that it's _really_ sitting on the right server?

Thanks much,

--
Tim Boyer
Director, IS and Engineering Projects
Denman Tire Corporation
tim@denmantire.com


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index