SUMARY: control port for TZ877 changer on DEC

From: Chan T. Cao <cao_at_workgroup.com>
Date: Fri, 13 Sep 1996 06:30:52 -0700

Hello.

Thank you all for the speedy responses. You gave me enough hints
that although I haven't got the time to work on the problem again
since I asked, I feel extremely confident that I can get the
jukebox to work.

Since I can't be precise at the moment and usually do a bad job
at using my own writing skill to come up with a sumary, I'm going
to list all the reponses I received:

Thanks again to all those who responded and others who will...

Chan

----------------------

From: Esther Filderman

Uhgh! I knew I forgot something. Sorry!!

You need the CAM medium changer kit, CLCMxxx, off the software product
library cds. Then you'll have to rebuild the kernel. The control device
will be mcXXb, where XX is your device number [so if your tape drive is
/dev/xx50y, your control device will be mc50b.]

They give you some formula [in the man pages] to come up with the device
address. It will always come out to mcxxa by their formula. However,
after banging my head against the wall when I first set up our Jukebox,
I called DEC, who said, "yeah, it comes out to a, but it's really b.
It's always b."

Digital, gotta love 'em :).

e.

------------------
From: alan

The SCSI CAM Layered Components kit that provides NSR
        with jukebox control includes a script to create the
        special device needed by the Medium Changer (MC) driver;
        /dev/MAKEDEV.MC. The base name for an MC device "mc#",
        where # is found through the usual (bus * 8) + SCSI-ID.
        So your will be mc21. To account for the logical unit
        (typically 1 with the TZ877), add a letter at the end
        b = 1, c = 2, etc. You don't need one for LUN 0. So,
        you want to create the special device file:

                # cd /dev
                # ./MAKEDEV.MC mc21b

        That is probably the name it wants, but NSR probably
        documentation to explain how to setup robots.

------------------
# scu
scu> sh edt
[lots of stuff deleted]
    Bus: 1, Target: 5, Lun: 0, Device Type: Sequential Access
    Bus: 1, Target: 6, Lun: 0, Device Type: Changer

In this case my changer is on scsi-id 6, lun 0. If it's a 'builtin'
changer it might have a LUN 1 or something.
Then:
cd /dev
./MAKEDEV.MC mc14a

where 14= the scsi id (8 for bus 1 + target 6) and a=lun 0, b=lun 1 etc.
Use correct values according to your HW.

And, you need to have the 'CAM Media Changer Driver' installed. It's on
the OS CD if I remember correctly.

--harald

------------------------
Hello Chan,

I had the same problem with a TZ875 (5 cartridge).

To configure the jukebox, it's necessary to determine the media changer
device :

 1 - Collect information
         -> SCSI bus number
         -> SCSI target number
 
    One solution is to use the command : 'file /dev/n*h' on your server
    In my case =>
    /dev/nrmt0h: character special (9/21507) SCSI #1 TZ87 tape #104
(SCSI ID #5) 62500_bpi
    
 2 - The LUN used by the TZ87 in the jukebox is LUN 1 (Information DEC)
     the representation of LUN 1 for mc device is 'b' (refer to 'mc' man
page.

 
 3 - Refer to the 'mc' man page for the formula :
         unit_number=(8 * bus_number) + target_number
         
     In my case =>
     unit_number=(8 * 1) + 5 = 13
     
 4 - Create the media changer device (cf MAKEDEV.MC(8) man page)
     cd /dev
     ./MAKEDEV.MC mc?
     
     => In my case, the media changer device is mc13b.
 

Now ,you can use the configuration program of jukebox.
I 've used 'jbm_enabler' to configure it (see Addendum of NSR -Chap 2 -
Jukeboxes)

     => In my case
     
        type => b) DLT (TZ8xx)
        Name => what you want
        Pathname of Control port => /dev/mc13b
        Pathname of media drive 1 => /dev/nrmt0h


And ... Everything is Ok


NB : a license type Jukebox-Tier-1 is necessary !

                                Yann.
-- 
Received on Fri Sep 13 1996 - 12:58:44 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT