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

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Fri, 5 Mar 1999 10:51:51 +0100

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