How to configure Solaris 10 to drive HP MSL 6000

I have done this a long time ago so there might be something missing as this comes from sketchy notes that I still have. The point of this exercise is to get Solaris 10 to use MSL 6000 fibre channel library for backups using HP Data Protector 5.5. I have done this on Sun Fire V240 servers.

The library had HP Ultrium drives installed. First you have to make sure the tape drives are defined in /kernel/drv/st.conf file. Here is the tape-config list I got somewhere on the net, I think:

tape-config-list =
"HP Ultrium 1-SCSI", "HP Ultrium 1-SCSI", "LTO-data",
"DEC DLT2000", "Digital DLT2000", "DLT2k-data",
"Quantum DLT4000","Quantum DLT4000", "DLT4k-data",
"QUANTUM DLT7000", "Quantum DLT7000", "DLT7k-data",
"QUANTUM DLT8000", "Quantum DLT8000", "DLT8k-data",
"COMPAQ SuperDLT1","Compaq SuperDLT","SDLT-data",
"COMPAQ SDLT320", "Compaq SuperDLT 2", "SDLT320-data",
"HP      Ultrium","HP      Ultrium","ULTRIUM",
"HP C9264CB-VS80","HP DLT vs80 DLTloader","HP_data1",
"QUANTUM SuperDLT1", "QUANTUM SuperDLT", "SDLT-data",
"TANDBERGSuperDLT1", "TANDBERG SuperDLT", "SDLT-data",
"STK 9840", "STK 9840", "CLASS_9840";
DLT2k-data = 1,0x38,0,0x8639,4,0x17,0x18,0x80,0x81,3;
DLT4k-data = 1,0x38,0,0x8639,4,0x17,0x18,0x80,0x81,3;
DLT7k-data = 1,0x38,0,0x8639,4,0x82,0x83,0x84,0x85,3;
DLT8k-data = 1,0x77,0,0x1D639,4,0x84,0x85,0x88,0x89,3;
ULTRIUM = 1,0x36,0,0x8639,4,0x00,0x00,0x00,0x42,3;
SDLT-data = 1,0x79,0,0x8639,4,0x90,0x91,0x90,0x91,3;
CLASS_9840 = 1,0x78,0,0x1d679,1,0x00,0;

Data Protector installation included sst driver for Solaris along with its configuration file sst.conf. When you install Data Protector client those two files should be in /opt/omni/spt directory.
The driver needs to be copied to /usr/kernel/drv/sparcv9 directory and the config file to /usr/kernel/drv directory. In sst.conf you need to define WWN of the tape library:

name="sst" parent="fp" target=6 lun=0 fc-port-wwn="1000d0e004b2562d";

Somewhere along the way you will need to inform Solaris that a new driver was installed:

bash-3.00# add_drv sst

Next, /etc/devlink.tab needs to be configured for the library’s robotic arm:

type=ddi_pseudo;name=sst;minor=character rsst\A1

Make sure you use spaces, in the above entry. If I remember right, all you need to do is reconfigure reboot:

bash-3.00# reboot -- -r

When the system comes up, you should see something like this:

bash-3.00# ls -l /devices/pci@1e,600000/QLGC,qla@2/fp@0,0/
drwxr-xr-x   2 root     sys          512 Oct 14 16:14 sgen@w1000d0e004b2562d,0
crw-------   1 root     sys      151,  0 Oct 20 14:54 sgen@w1000d0e004b2562d,0:changer
drwxr-xr-x   2 root     sys          512 Oct 18 17:14 sst@w1000d0e004b2562d,0
crw-------   1 root     sys      319,  0 Oct 18 17:25 sst@w1000d0e004b2562d,0:character
drwxr-xr-x   2 root     sys          512 Oct 14 16:14 st@w1000d0e004b2562d,1
crw-rw-rw-   1 root     sys       33, 26 Oct 20 14:54 st@w1000d0e004b2562d,1:
crw-rw-rw-   1 root     sys       33, 90 Oct 20 14:54 st@w1000d0e004b2562d,1:b
crw-rw-rw-   1 root     sys       33, 94 Oct 20 14:54 st@w1000d0e004b2562d,1:bn
crw-rw-rw-   1 root     sys       33, 26 Oct 20 14:54 st@w1000d0e004b2562d,1:c
crw-rw-rw-   1 root     sys       33, 90 Oct 20 14:54 st@w1000d0e004b2562d,1:cb
crw-rw-rw-   1 root     sys       33, 94 Oct 20 14:54 st@w1000d0e004b2562d,1:cbn
crw-rw-rw-   1 root     sys       33, 30 Oct 20 14:54 st@w1000d0e004b2562d,1:cn
crw-rw-rw-   1 root     sys       33, 18 Oct 20 14:54 st@w1000d0e004b2562d,1:h
crw-rw-rw-   1 root     sys       33, 82 Oct 20 14:54 st@w1000d0e004b2562d,1:hb
crw-rw-rw-   1 root     sys       33, 86 Oct 20 14:54 st@w1000d0e004b2562d,1:hbn
crw-rw-rw-   1 root     sys       33, 22 Oct 20 14:54 st@w1000d0e004b2562d,1:hn
crw-rw-rw-   1 root     sys       33,  2 Oct 20 14:54 st@w1000d0e004b2562d,1:l
crw-rw-rw-   1 root     sys       33, 66 Oct 20 14:54 st@w1000d0e004b2562d,1:lb
crw-rw-rw-   1 root     sys       33, 70 Oct 20 14:54 st@w1000d0e004b2562d,1:lbn
crw-rw-rw-   1 root     sys       33,  6 Oct 20 14:54 st@w1000d0e004b2562d,1:ln
crw-rw-rw-   1 root     sys       33, 10 Oct 20 14:54 st@w1000d0e004b2562d,1:m
crw-rw-rw-   1 root     sys       33, 74 Oct 20 14:54 st@w1000d0e004b2562d,1:mb
crw-rw-rw-   1 root     sys       33, 78 Oct 20 14:54 st@w1000d0e004b2562d,1:mbn
crw-rw-rw-   1 root     sys       33, 14 Oct 20 14:54 st@w1000d0e004b2562d,1:mn
crw-rw-rw-   1 root     sys       33, 30 Oct 20 14:54 st@w1000d0e004b2562d,1:n
crw-rw-rw-   1 root     sys       33, 26 Oct 20 14:54 st@w1000d0e004b2562d,1:u
crw-rw-rw-   1 root     sys       33, 90 Oct 20 14:54 st@w1000d0e004b2562d,1:ub
crw-rw-rw-   1 root     sys       33, 94 Oct 20 14:54 st@w1000d0e004b2562d,1:ubn
crw-rw-rw-   1 root     sys       33, 30 Oct 20 14:54 st@w1000d0e004b2562d,1:un

In the above, the Qlogic adapter and its port is the one that is zoned for the tape library.

One last thing is to create device file for the autochanger:

bash-3.00# ls -l /dev/rsst*
lrwxrwxrwx   1 root     root          74 Oct 18 17:18 /dev/rsst8 -> /devices/pci@1e,600000/QLGC,qla@2/fp@0,0/sst@w1000d0e004b2562d,0:character

Like I mentioned, this might be incomplete as I had spotty notes. So YMMV.

Posted on August 30, 2011 at 12:15 by somedude · Permalink
In: fibre channel, hp data protector, hp msl, solaris, solaris tips

Leave a Reply