BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
{bb} Using bbaliasname under NFS bb installation
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
Carl G. Riches
Software Engineer
Department of Mathematics
Box 354350 voice: 206-543-5082 or 206-616-3636
University of Washington fax: 206-543-0397
Seattle, WA 98195-4350 internet: riches@ms.washington.edu
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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