Sun Solaris and HP Dataprotector changer device
WARNING: don't use Solaris default sgen driver, this is NOT compatible with HP dataprotector !!
HP dataprotector uses for tape changer device control a separate driver - SST driver, which is part of the HP dataprotector distribution.
this driver has to be installed, following the installation guide of HP dataprotector.
But :)
Installation manual only specifies how to configure the sst.conf file for a directly attached SCSI changer device, and does not mention anything about FibreChannel attached media changer device.
For FibreChannel attached media changer device, the sst.conf file has to have an entry like this.
name="sst" parent="fp" target=0 lun=0 fc-port-wwn="500104b900af19d8";
name="sst" parent="fp" target=0 lun=0 fc-port-wwn="2100001f32943b68";
the parameters are self explanatory, the WWN number is to be found using standard solaris "cfgadm -val" command.
the important part is the parent="fp" and the fc-port-wwn="wwn", as that is not mentioned in any HP dataprotector documentation.
after putting the right parameters in sst.conf, and doing rem_drv sst, add_drv sst, you can see the sst attaching to the changer devices.
simple "grep sst /devices" gives you the path to the device files.
#find /devices |grep sst
/devices/pci@0/pci@0/pci@8/pci@0/pci@8/SUNW,qlc@0/fp@0,0/sst@w2100001f32943b68,0
/devices/pci@0/pci@0/pci@8/pci@0/pci@8/SUNW,qlc@0/fp@0,0/sst@w2100001f32943b68,0:character
/devices/pci@0/pci@0/pci@8/pci@0/pci@8/SUNW,qlc@0/fp@0,0/sst@w500104b900af19d8,0
/devices/pci@0/pci@0/pci@8/pci@0/pci@8/SUNW,qlc@0/fp@0,0/sst@w500104b900af19d8,0:character
and then, symbolic link to /dev has to be made for each media changer character device.
ln -s /devices/pci@0/pci@0/pci@8/pci@0/pci@8/SUNW,qlc@0/fp@0,0/sst@w2100001f32943b68,0:character /dev/rsst10
ln -s /devices/pci@0/pci@0/pci@8/pci@0/pci@8/SUNW,qlc@0/fp@0,0/sst@w500104b000af19d8,0:character /dev/rsst20
simple "devbra -dev" should give you the changer devices and the tape list (devbra is a HP dataprotector command).
and
echo "inq" |/opt/omni/lbin/uma -ioctl /dev/rsst10
should give you some more information about the changer device.
echo "inq" |/opt/omni/lbin/uma -ioctl /dev/rsst20
*** PROGRAM: UMA VERSION: HP Data Protector A.06.10
*** (c) Copyright Hewlett-Packard Company 2008
*** License is restricted for use with licensed
*** HP Data Protector products.
/dev/rsst20> inq
SCSI Inquiry:
Type: 8
Vendor ID: "STK "
Product ID: "L180 "
F/W Revision: "s se"
/dev/rsst20> <EOD>
So now you should see the changer devices in Dataprotector GUI and you should be able to work with these devices as usual.