Re: [tkined] how to setup multpile scotty environments on the

Simon Chow (skchow@cisco.com)
Fri, 05 Mar 1999 10:05:28 -0600

Juergen,

Thanks for the reply, setting up a separate tnm(library) for each user
the only solution I can think of also. However, that involve putting
all the *.so files and associate directories into these directories too.
When you say "copy stuff for each users" you do mean all the *.so and
directories, is that correct? At the minimum, symbolic links to all
these files, right?

I did notice that Scotty 3.0 create cache directory per user, I really
like that feature, however, it will be a while before I can convert all
my Scotty 2.1.x based utilities into 3.0 :( By the way, any insight on
the possible release date? especially on the agent stuff. Once again,
thank you for the great tool you have created and continue development.

/Simon

At 10:51 AM 3/5/99 +0100, Juergen Schoenwaelder wrote:
>
>>>>>> Simon Chow writes:
>
>Simon> Tnm 2.1.x question:
>
>Simon> How can I setup multiple MIB repository so that multiple user
>Simon> on the same machine can use different version of the same MIB?
>Simon> say we have developers working on experimental MIBs which does
>Simon> not want to affect (be seen) by anyone who is working on an
>Simon> official version of the same MIB module. I understand that i
>Simon> can use "mib load" command to load a different MIB however,
>Simon> unless I setup a different TNM_LIBRARY environment variable for
>Simon> each user, they are going to share the same "*.idy" files. Is
>Simon> there any other solutions? Thanks
>
>Scotty uses the value of tnm(library) at runtime in order to decide
>where to look for files. tnm(library) is initialized to the value of
>TNM_LIBRARY during startup. However, if you don't want to set
>environment variables for each user, you can also modify tnm(library)
>during Tnm startup (e.g. in /usr/local/lib/tnm2.1.10/library/init.tcl)
>by e.g. setting it to ~/.tnm2.1.10 and copying stuff for each user.
>
>Yes, this still looks like a complex hack. The Tnm 3.0 version uses an
>additional variable tnm(cache) to locate the cache for intermediate
>MIB files. The default for this variable is ~/.tnm3.x.y which means
>that *.idy files are automatically cached on a per user basis.
>
> Juergen
>--
>Juergen Schoenwaelder schoenw@ibr.cs.tu-bs.de http://www.cs.tu-bs.de/~schoenw
>Technical University Braunschweig, Dept. Operating Systems & Computer Networks
>Bueltenweg 74/75, 38106 Braunschweig, Germany. (Tel. +49 531 / 391 3289)
>--
>!! This message is brought to you via the `tkined & scotty' mailing list.
>!! Please do not reply to this message to unsubscribe. To subscribe or
>!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
>!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.