In the discussion below, the node with the actual mag tape device is referred to as the "real-tape" side; the remote node wishing to use the drive is referred to as the "ZT-side". Building the software (do this on the ZT-side) ---------------------------------------------- $ @BUILD Things to do on the ZT-side --------------------------- o $ COPY ZTDRIVER.EXE SYS$COMMON:[SYS$LDR] o In SYSTARTUP.COM, add these lines somewhere (use RMT_STARTUP.COM as a template if you wish) : $ RUN SYS$SYSTEM:SYSGEN CONNECT ZTA0/NOADAPTER CONNECT ZTA1/NOADAPTER CONNECT ZTA2/NOADAPTER CONNECT ZTA3/NOADAPTER EXIT $ DEFINE/SYSTEM RMT$DIR dev:[dir] $ INSTALL ADD RMT$DIR:ZT2.EXE/OPEN/HEADER/SHARED/PRIV=CMKRNL $ INSTALL ADD RMT$DIR:ZT2_FORCEX.EXE/OPEN/HEADER/SHARED/PRIV=WORLD $ DEFINE/SYSTEM RMT_REMOTE_NODE nodename ! Default Nodename with real-tape device $ DEFINE/SYSTEM RMT_REMOTE_TAPE device ! Default remote drive name (The two logical names are just used for prompt defaults; the user can easily override them when prompted) o In NCP, define the ZT2 network object : $ RUN SYS$SYSTEM:NCP NCP> SET/DEFINE OBJECT ZT2 NUMBER 141 FILE RMT$DIR:ZT2.COM - [USER username PASSWORD password] (Note : The number 141 is arbitrary; to use a different number just edit RMT_OBJECT.COM and replace "141" with the desired number) o Define a global symbol in SYLOGIN.COM to run RMT.COM : $ RMT :== @RMT$DIR:RMT Things to do on the real-tape side ---------------------------------- o Copy RMT_OBJECT.COM and ZTNS2.EXE to an appropriate place. Make sure they have W:RE access or are owned by the username which will run the RMT_OBJECT DECNET object. o In SYS$STARTUP : $ DEFINE/SYSTEM RMT$DIR dev:[dir] o Add NCP object : $ RUN SYS$SYSTEM:NCP NCP> SET/DEFINE OBJECT RMT_OBJECT NUMBER 142 - FILE RMT$DIR:RMT_OBJECT.COM - USER username PASSWORD password Notes : - The number 142 is arbitrary. To use a different number just edit the file RMT.COM and specify a different number. - The username specified for the object must have VOLPRO privilege in order to make the MOUNT/FOREIGN/MULTI_VOLUME command in RMT_OBJECT.COM work. For example : $ SET DEFAULT SYS$COMMON:[SYSEXE] $ RUN SYS$SYSTEM:AUTHORIZE UAF> ADD username/UIC=[g,m]/PASSWORD=password/DEVICE=device- /DIRECT=[directory]/PRIV=VOLPRO/DEFPRIV=VOLPRO- /NOBATCH/NOLOCAL/NODIALUP/NOREMOTE/NETWORK UAF> EXIT (The username/password combination must match that specified in the NCP SET/DEFINE object command)