ADSM-L

Solaris library configuration

2006-08-23 19:54:41
Subject: Solaris library configuration
From: Margaret Clark <MClark AT SDDPC DOT ORG>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Wed, 23 Aug 2006 16:35:37 -0700
We are trying to configure TSM server 5.3.3.0 on a Sun Solaris 10, using a 
Spectra Logic T50 tape library with Qlogic SG-XPCI1FC-QF2 HBA and two IBM 
drives.

Following the instructions in "Implementing IBM Tape in Unix Systems", 
we modified the Qlogic adapter configuration file /kernel/drv/qlc.conf
to add persistent bindings for the SCSI IDs:
hba1-SCSI-target-id-8-fibre-channel-name="21110090a5402218";
hba1-SCSI-target-id-9-fibre-channel-name="21130090a5402218";

Then we edited /kernel/drv/IBMtape.conf to take out 
all the boilerplate definitions and add the following:
name="IBMtape" class="scsi" target=8 lun=0
name="IBMtape" class="scsi" target=8 lun=1
name="IBMtape" class="scsi" target=9 lun=0
name="IBMtape" class="scsi" target=9 lun=1

We checked /kernel/drv/st.conf and found targets 8 and 9 were 
already commented out.  Then we rebooted, and had a try at 
creating a library using the ISC Administration Center.
It failed with the following error:

 The server encountered an I/O error while processing the request.              
 For more information, see the activity log in the server's properties notebook.
 Additional information from the server:                                        
  ANR8418E DEFINE PATH: An I/O error occurred while accessing library GWLIB.

The activity log showed this:
ANR2017I Administrator ADMIN issued command: DEFINE LIBRARY GWLIB libtype=SCSI 
autolabel=YES shared=NO (SESSION: 135) Aug 23, 2006 4:11:16 PM 
ANR8400I Library GWLIB defined.(SESSION: 135) Aug 23, 2006 4:11:16 PM 
ANR1434W No files have been identified for automatically storing device 
configuration information.(SESSION: 135) Aug 23, 2006 4:11:16 PM 
ANR2017I Administrator ADMIN issued command: DEFINE PATH GW_BACKUP_SERVER GWLIB 
srctype=server desttype=library device=/devices/pseudo/IBMtape@16383:ibmcontrol 
(SESSION: 135) Aug 23, 2006 4:11:16 PM 
ANR8310E An I/O error occurred while accessing library GWLIB.(SESSION: 135) Aug 
23, 2006 4:11:16 PM 
ANR8418E DEFINE PATH: An I/O error occurred while accessing library 
GWLIB.(SESSION: 135) Aug 23, 2006 4:11:16 PM 
ANR2017I Administrator ADMIN issued command: DELETE LIBRARY GWLIB (SESSION: 
135) Aug 23, 2006 4:11:16 PM 
ANR8410I Library GWLIB deleted.(SESSION: 135) 

We tried using /dev/rmt/1lb instead of /devices/pseudo/IBMtape@16383:ibmcontrol 
but it did no good.

What are we doing wrong?



Some more info:

from /var/adm/messages
Aug 23 09:25:52 predator genunix: [ID 936769 kern.info] tsalarm0 is 
/pseudo/tsalarm@0
Aug 23 10:02:18 predator scsi: [ID 365881 kern.info] 
/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0 (st56):
Aug 23 10:02:18 predator        <IBM Ultrium Gen 3 LTO>
Aug 23 10:02:18 predator scsi: [ID 799468 kern.info] st56 at fp0: name 
w21130090a5402218,0, bus address 10526
Aug 23 10:02:18 predator genunix: [ID 936769 kern.info] st56 is 
/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0
Aug 23 10:02:18 predator scsi: [ID 799468 kern.info] sgen0 at fp0: name 
w21110090a5402218,1, bus address 10426
Aug 23 10:02:18 predator genunix: [ID 936769 kern.info] sgen0 is 
/pci@1e,600000/SUNW,qlc@2/fp@0,0/sgen@w21110090a5402218,1
Aug 23 10:02:18 predator scsi: [ID 365881 kern.info] 
/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0 (st57):
Aug 23 10:02:18 predator        <IBM Ultrium Gen 3 LTO>
Aug 23 10:02:18 predator scsi: [ID 799468 kern.info] st57 at fp0: name 
w21110090a5402218,0, bus address 10426
Aug 23 10:02:18 predator genunix: [ID 936769 kern.info] st57 is 
/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0



from the   "cfgadm -o show_FCP_dev -al"  command 
Ap_Id                          Type         Receptacle   Occupant     Condition
c3                             fc-fabric    connected    configured   unknown
c3::210100e08ba4e966           unknown      connected    unconfigured unknown
c3::210100e08ba4ef25           unknown      connected    unconfigured unknown
c3::21110090a5402218,0         tape         connected    configured   unknown
c3::21110090a5402218,1         med-changer  connected    configured   unknown
c3::21130090a5402218,0         tape         connected    configured   unknown
c3::500a098c8647b06f           unknown      connected    unconfigured unknown
c3::500a098c8667b2c6           unknown      connected    unconfigured unknown
 

ls -al in /dev/rmt 
drwxr-xr-x   2 root     sys         1024 Aug 23 06:07 .
drwxr-xr-x  20 root     sys         5120 Aug 23 12:45 ..
lrwxrwxrwx   1 root     root          69 Aug 22 09:21 0 -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0:
lrwxrwxrwx   1 root     root          70 Aug 22 09:21 0b -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0:b
lrwxrwxrwx   1 root     root          71 Aug 22 09:21 0bn -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0:bn
lrwxrwxrwx   1 root     root          70 Aug 22 09:21 0c -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0:c
lrwxrwxrwx   1 root     root          71 Aug 22 09:21 0cb -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0:cb
lrwxrwxrwx   1 root     root          72 Aug 22 09:21 0cbn -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0:cbn
lrwxrwxrwx   1 root     root          71 Aug 22 09:21 0cn -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0:cn
lrwxrwxrwx   1 root     root          70 Aug 22 09:21 0h -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0:h
lrwxrwxrwx   1 root     root          71 Aug 22 09:21 0hb -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0:hb
lrwxrwxrwx   1 root     root          72 Aug 22 09:21 0hbn -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0:hbn
lrwxrwxrwx   1 root     root          71 Aug 22 09:21 0hn -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0:hn
lrwxrwxrwx   1 root     root          70 Aug 22 09:21 0l -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0:l
lrwxrwxrwx   1 root     root          71 Aug 22 09:21 0lb -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0:lb
lrwxrwxrwx   1 root     root          72 Aug 22 09:21 0lbn -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0:lbn
lrwxrwxrwx   1 root     root          71 Aug 22 09:21 0ln -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0:ln
lrwxrwxrwx   1 root     root          70 Aug 22 09:21 0m -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0:m
lrwxrwxrwx   1 root     root          71 Aug 22 09:21 0mb -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0:mb
lrwxrwxrwx   1 root     root          72 Aug 22 09:21 0mbn -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0:mbn
lrwxrwxrwx   1 root     root          71 Aug 22 09:21 0mn -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0:mn
lrwxrwxrwx   1 root     root          70 Aug 22 09:21 0n -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0:n
lrwxrwxrwx   1 root     root          70 Aug 22 09:21 0u -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0:u
lrwxrwxrwx   1 root     root          71 Aug 22 09:21 0ub -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0:ub
lrwxrwxrwx   1 root     root          72 Aug 22 09:21 0ubn -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0:ubn
lrwxrwxrwx   1 root     root          71 Aug 22 09:21 0un -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21130090a5402218,0:un
lrwxrwxrwx   1 root     root          69 Aug 22 09:21 1 -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0:
lrwxrwxrwx   1 root     root          70 Aug 22 09:21 1b -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0:b
lrwxrwxrwx   1 root     root          71 Aug 22 09:21 1bn -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0:bn
lrwxrwxrwx   1 root     root          70 Aug 22 09:21 1c -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0:c
lrwxrwxrwx   1 root     root          71 Aug 22 09:21 1cb -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0:cb
lrwxrwxrwx   1 root     root          72 Aug 22 09:21 1cbn -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0:cbn
lrwxrwxrwx   1 root     root          71 Aug 22 09:21 1cn -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0:cn
lrwxrwxrwx   1 root     root          70 Aug 22 09:21 1h -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0:h
lrwxrwxrwx   1 root     root          71 Aug 22 09:21 1hb -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0:hb
lrwxrwxrwx   1 root     root          72 Aug 22 09:21 1hbn -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0:hbn
lrwxrwxrwx   1 root     root          71 Aug 22 09:21 1hn -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0:hn
lrwxrwxrwx   1 root     root          70 Aug 22 09:21 1l -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0:l
lrwxrwxrwx   1 root     root          71 Aug 22 09:21 1lb -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0:lb
lrwxrwxrwx   1 root     root          72 Aug 22 09:21 1lbn -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0:lbn
lrwxrwxrwx   1 root     root          71 Aug 22 09:21 1ln -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0:ln
lrwxrwxrwx   1 root     root          70 Aug 22 09:21 1m -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0:m
lrwxrwxrwx   1 root     root          71 Aug 22 09:21 1mb -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0:mb
lrwxrwxrwx   1 root     root          72 Aug 22 09:21 1mbn -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0:mbn
lrwxrwxrwx   1 root     root          71 Aug 22 09:21 1mn -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0:mn
lrwxrwxrwx   1 root     root          70 Aug 22 09:21 1n -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0:n
lrwxrwxrwx   1 root     root          70 Aug 22 09:21 1u -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0:u
lrwxrwxrwx   1 root     root          71 Aug 22 09:21 1ub -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0:ub
lrwxrwxrwx   1 root     root          72 Aug 22 09:21 1ubn -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0:ubn
lrwxrwxrwx   1 root     root          71 Aug 22 09:21 1un -> 
../../devices/pci@1e,600000/SUNW,qlc@2/fp@0,0/st@w21110090a5402218,0:un
-rw-r--r--   1 root     root         236 Aug 23 06:59 dsmerror.log


- Margaret Clark
Systems Programmer, San Diego Data Processing Corporation

<Prev in Thread] Current Thread [Next in Thread>