BB Unix Network Monitor - Message

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

Re: {bb} Using bbaliasname under NFS bb installation



On Thu, 2006-06-22 at 00:30, riches@ms.washington.edu wrote:
> 
> I don't know if anyone else has run into this, but here what I did to deal 
> with the situation.  Hope it helps someone else in the future!
> 
> I am setting up Big Brother (bbc1.9h) on an OpenMOSIX cluster.  The bb 
> user is in the NFS-mounted home directory.  Each of the cluster nodes has 
> an internal (OpenMOSIX private network) hostname and an external (user 
> login) name.  Our bb server is external to the cluster and I want each of 
> the nodes to report using its external name.  This is tough using the 
> bbaliasname mechanism, since the nodes all share the same bb user 
> directory.
> 
> I got around this by modifying the Big Brother code and changing the name 
> of the file to reflect the output of the hostname command.  Here's what I 
> did:
> 
>    - I modified this Big Brother code file:
> 
>        /home/bbro1/bbc/etc/bbinc.sh
> 
>      Here are the diffs for the change:
> 
> 36,38c36,38
> <
> < if [ -f "$BBHOME/etc/bbaliasname" ]; then
> <         MACHINE=`$CAT $BBHOME/etc/bbaliasname`
> ---
> > BBALIASNAME="$BBHOME/etc/bbaliasname.`uname -a | cut -d\  -f 2`"
> > if [ -f $BBALIASNAME ]; then
> >         MACHINE=`$CAT $BBALIASNAME`
> 
> 
>    - I created a file for each of the nodes in the cluster:
> 
>       $BBHOME/etc/bbaliasname.nodeN
> 
>      This file contains the public name of nodeN

It's always good to see examples that highlight the kind of
customisation that inherent flexibility can deliver. However, in
this case, it reminds me of a common caveat. Although running BB
from an NFS mounted disk may be suitable in some circumstances
(and unavoidable in others), it does introduce an extra dependency
and is not normally recommended. I imagine that the authors reserve
the right to say "I told you so" if nastiness ensues :)

Cheers, Phil.



-- 
In Dr. Johnson's famous dictionary, patriotism is defined as
the last resort of the scoundrel. With all due respect to an
enlightened but inferior lexicographer, I beg to submit that
it is the first. (Ambrose Bierce, "The Devil's Dictionary")

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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