TSM, Tape Library Configuration

brsrylmz

Active Newcomer
Joined
Jul 29, 2014
Messages
41
Reaction score
0
Points
0
Hi all,

I'm using TSM 6.3.4 and i trying tape library configuration. I installed HP Driver for tape library and i see NATIVE in tsmdlst. I configure library, path, drive and online all of them. I run checkin libvol command. I found my cartridge but i can't move data into new tape library.

Actually i can't see device type q libvol output.

Can you tell me step by step, how can i setup a tape library for TSM.

Regards,
 
Hi,

have you run "label libvolume .... " command? Tapes have to be initialized (labeled) before TSM can use them ...

Harry
 
Hi Herry_Redl;

Thank you for reply, label libvolume give an error;

"
07/31/2014 00:14:51 ANR0985I Process 51 for LABEL LIBVOLUME running in the
BACKGROUND completed with completion state FAILURE at
00:14:51. (SESSION: 9463, PROCESS: 51)
07/31/2014 00:14:51 ANR1893E Process 51 for LABEL LIBVOLUME completed with a
completion state of FAILURE. (SESSION: 9463, PROCESS: 51)
"

I can't understand this tape configuration. Do you have an idea about this message?

Regards,
 
Hi,

what wee need is the activity log part from the beginning of the LABEL LIBVOL command and the output of "q dri" "q libr" and "q path"

Harry
 
Hi,

if the TSM is run on windows (with non-IBM devices), then native windows driver is the preferred one
Windows device drivers are recommended for all devices. IBM device drivers are
available for most IBM labeled devices. If a Windows device driver is not available
for your device, and the device is supported by the Tivoli Storage Manager device
driver, you can use the Tivoli Storage Manager device driver for your device.

But the TSM device driver should work as well.
I suppose there is a drive type, devclass, path misconfiguration etc .... that's why we need to see the logs.

Harry
 
I agree the logs are needed. However that said, I have a number of customers that run IBM, Quantum and STK libraries. In each case for the medium changer I always put in the TSM Device Driver. You can get away with HP drivers, some times, for the drives. I rarely if ever use windows device drivers.
 
Hi,

Thank you for post, i'm sorry i'm late because last week was our religious festivals. I guess there isn't problem on drive, path and library definition. Output below.

By the way, i'm new in TSM Server job so may i have missed some points.

Thank you so much

q drive;
Library Name Drive Name Device Type On-Line
------------ ------------ ----------- --------
HPLIBRARY LSHPDRV1 LTO Yes
LIBRARY MT0 LTO Yes
LIBRARY MT1 LTO Yes
LIBRARY MT10 LTO Yes
LIBRARY MT11 LTO Yes
LIBRARY MT12 LTO Yes
LIBRARY MT13 LTO Yes
LIBRARY MT14 LTO Yes
LIBRARY MT15 LTO Yes
LIBRARY MT16 LTO Yes
LIBRARY MT17 LTO Yes
LIBRARY MT18 LTO Yes
LIBRARY MT19 LTO Yes
LIBRARY MT2 LTO Yes
LIBRARY MT20 LTO Yes
LIBRARY MT21 LTO Yes
LIBRARY MT22 LTO Yes
LIBRARY MT23 LTO Yes
LIBRARY MT24 UNKNOWN Yes
LIBRARY MT3 LTO Yes
LIBRARY MT4 LTO Yes
LIBRARY MT5 LTO Yes
LIBRARY MT6 UNKNOWN Yes
LIBRARY MT7 UNKNOWN Yes
LIBRARY MT8 LTO Yes
LIBRARY MT9 LTO Yes

q libr;
Library Name: HPLIBRARY
Library Type: SCSI
ACS Id:
Private Category:
Scratch Category:
WORM Scratch Category:
External Manager:
RSM Media Type:
Shared: No
LanFree:
ObeyMountRetention:


Library Name: LIBRARY
Library Type: SCSI
ACS Id:
Private Category:
Scratch Category:
WORM Scratch Category:
External Manager:
RSM Media Type:
Shared: No
LanFree:
ObeyMountRetention:



q path;
Source Type Destination Destination On-Line
Name Type
----------- ----------- ----------- -------
SERVER LSHPLIBR LIBRARY Yes
SERVER LSHPDRV1 DRIVE Yes
SERVER LSLIBRARY LIBRARY Yes
SERVER MT0 DRIVE Yes
SERVER MT1 DRIVE Yes
SERVER MT10 DRIVE Yes
SERVER MT11 DRIVE Yes
SERVER MT12 DRIVE Yes
SERVER MT13 DRIVE Yes
SERVER MT14 DRIVE Yes
SERVER MT15 DRIVE Yes
SERVER MT16 DRIVE Yes
SERVER MT17 DRIVE Yes
SERVER MT18 DRIVE Yes
SERVER MT19 DRIVE Yes
SERVER MT2 DRIVE Yes
SERVER MT20 DRIVE Yes
SERVER MT21 DRIVE Yes
SERVER MT22 DRIVE Yes
SERVER MT23 DRIVE Yes
SERVER MT3 DRIVE Yes
SERVER MT4 DRIVE Yes
SERVER MT5 DRIVE Yes
SERVER MT8 DRIVE Yes
SERVER MT9 DRIVE Yes
 
Hi,

Thank you for reply and i'm sorry i'm late for reply. Cause last week was our religion holiday. I can't check my email.

You can find path, drive and library definition below.

By the way i'm new TSM Backup Server so may i missed someting.

q dri;
Library Name Drive Name Device Type On-Line
------------ ------------ ----------- --------
HPLIBRARY HPDRV1 LTO Yes
LIBRARY MT0 LTO Yes
LIBRARY MT1 LTO Yes
LIBRARY MT10 LTO Yes
LIBRARY MT11 LTO Yes
LIBRARY MT12 LTO Yes
LIBRARY MT13 LTO Yes
LIBRARY MT14 LTO Yes
LIBRARY MT15 LTO Yes
LIBRARY MT16 LTO Yes
LIBRARY MT17 LTO Yes
LIBRARY MT18 LTO Yes
LIBRARY MT19 LTO Yes
LIBRARY MT2 LTO Yes
LIBRARY MT20 LTO Yes
LIBRARY MT21 LTO Yes
LIBRARY MT22 LTO Yes
LIBRARY MT23 LTO Yes
LIBRARY MT24 UNKNOWN Yes
LIBRARY MT3 LTO Yes
LIBRARY MT4 LTO Yes
LIBRARY MT5 LTO Yes
LIBRARY MT6 UNKNOWN Yes
LIBRARY MT7 UNKNOWN Yes
LIBRARY MT8 LTO Yes
LIBRARY MT9 LTO Yes


q path;
Source Type Destination Destination On-Line
Name Type
----------- ----------- ----------- -------
SERVER HPLIBRARY LIBRARY Yes
SERVER HPDRV1 DRIVE Yes
SERVER LIBRARY LIBRARY Yes
SERVER MT0 DRIVE Yes
SERVER MT1 DRIVE Yes
SERVER MT10 DRIVE Yes
SERVER MT11 DRIVE Yes
SERVER MT12 DRIVE Yes
SERVER MT13 DRIVE Yes
SERVER MT14 DRIVE Yes
SERVER MT15 DRIVE Yes
SERVER MT16 DRIVE Yes
SERVER MT17 DRIVE Yes
SERVER MT18 DRIVE Yes
SERVER MT19 DRIVE Yes
SERVER MT2 DRIVE Yes
SERVER MT20 DRIVE Yes
SERVER MT21 DRIVE Yes
SERVER MT22 DRIVE Yes
SERVER MT23 DRIVE Yes
SERVER MT3 DRIVE Yes
SERVER MT4 DRIVE Yes
SERVER MT5 DRIVE Yes
SERVER MT8 DRIVE Yes
SERVER MT9 DRIVE Yes


q libr;
Library Name: HPLIBRARY
Library Type: SCSI
ACS Id:
Private Category:
Scratch Category:
WORM Scratch Category:
External Manager:
RSM Media Type:
Shared: No
LanFree:
ObeyMountRetention:


Library Name: LIBRARY
Library Type: SCSI
ACS Id:
Private Category:
Scratch Category:
WORM Scratch Category:
External Manager:
RSM Media Type:
Shared: No
LanFree:
ObeyMountRetention:

q act;
08/01/2014 13:47:16 ANR2017I Administrator ADMIN_CENTER issued command: select
colname, typename from syscat.columns where
tabname='ACTLOG' (SESSION: 11425)
08/01/2014 13:47:17 ANR0405I Session 11425 ended for administrator
ADMIN_CENTER (DSMAPI). (SESSION: 11425)
08/01/2014 13:47:20 ANR2017I Administrator ADMIN issued command: QUERY ACTLOG
begintime=-24:00 (SESSION: 11422)
08/01/2014 13:49:35 ANR2017I Administrator ADMIN issued command: LABEL
LIBVOLUME HPLIBRARY search=bulk checkin=scr
labelsource=barcode overwrite=yes waitt=0 (SESSION:
11422)
08/01/2014 13:49:35 ANR0984I Process 61 for LABEL LIBVOLUME started in the
BACKGROUND at 13:49:35. (SESSION: 11422, PROCESS: 61)
08/01/2014 13:49:35 ANR8799I LABEL LIBVOLUME: Operation for library HPLIBRARY
started as process 61. (SESSION: 11422, PROCESS: 61)
08/01/2014 13:49:35 ANR8826E No Entry/Exit found on library HPLIBRARY.
(SESSION: 11422, PROCESS: 61)
08/01/2014 13:49:35 ANR8802E LABEL LIBVOLUME process 61 for library HPLIBRARY
failed. (SESSION: 11422, PROCESS: 61)
08/01/2014 13:49:35 ANR0985I Process 61 for LABEL LIBVOLUME running in the
BACKGROUND completed with completion state FAILURE at
13:49:35. (SESSION: 11422, PROCESS: 61)
08/01/2014 13:49:35 ANR1893E Process 61 for LABEL LIBVOLUME completed with a
completion state of FAILURE. (SESSION: 11422, PROCESS:
61)
08/01/2014 13:49:37 ANR2017I Administrator ADMIN issued command: QUERY PROCESS
(SESSION: 11422)
08/01/2014 13:49:37 ANR0944E QUERY PROCESS: No active processes found.
(SESSION: 11422)
08/01/2014 13:49:37 ANR2017I Administrator ADMIN issued command: ROLLBACK
(SESSION: 11422)
 
Last edited:
Hi,

use "label libvolume HPLIBRARY search=YES checkin=scr labelsource=barcode" - as the tapes are already IN the library (not in the entry port) - therefore "Searcy=YES", not "search=bulk". If you already have them checked in ("q libvol" is not empty), check them out first (one way is "checkout libvol HPLibrary <volume> remove=no checklabel=no" - for each)

Harry
 
Hello,

*** label libvolume HPLIBRARY search=YES checkin=scr labelsource=barcode

*** q libvol
Volume Name Status Owner Last Use Home Device
Element Type
----------- ---------------- ---------- --------- ------- ------
ABK602L5 Private 1,001
ABK603L5 Private 1,034
ABK610L5 Private 1,019
ABK613L5 Private 1,010
ABK618L5 Private 1,031
ABK619L5 Private 1,035
ABK620L5 Private 1,023
ABK621L5 Private 1,040
ABK624L5 Private 1,048
ABK627L5 Private 1,003
ABK628L5 Private 1,041
ABK630L5 Private 1,024
ABK631L5 Private 1,046
ABK632L5 Private 1,013
ABK638L5 Private 1,022
ABK640L5 Private 1,032
BBA603L5 Private 1,044
BBA605L5 Private 1,020
BBA610L5 Private 1,006
BBA613L5 Private 1,043
BBA614L5 Private 1,015
BBA617L5 Private 1,033
BBA621L5 Private 1,045
BBA622L5 Private 1,025
BBA623L5 Private 1,047
BBA624L5 Private 1,012
BBA626L5 Private 1,029
BBA628L5 Private 1,026
BBA630L5 Private 1,039
BBA632L5 Private 1,036
BBA635L5 Private 1,007
BBA642L5 Private 1,002


There isn't device type info this output, i don't know is it a problem ?

*** checkout libvol HPLIBRARY BBA642L5 remove=no checklabel=no

I have run 3 command marked ***. The q act log below. Everything is normal ??? It's so hard, i can't understand that:confused:


ANR0405I Session 13966 ended for administrator
IBM-OC-BCKPS2 (DSMAPI). (SESSION: 13966)
<< Message number 1959 not available for language AMENG:
read error 9989 at outmsg.c(667) >>
<< Message number 1960 not available for language AMENG:
read error 9989 at outmsg.c(667) >>
ANR0407I Session 13967 started for administrator
IBM-OC-BCKPS2 (DSMAPI) (Tcp/Ip
BCKPS2.domaincenter.com(62307)). (SESSION: 13967)
ANR2017I Administrator ADMIN issued command: CHECKOUT
LIBVOLUME HPLIBRARY BBA642L5 remove=no checklabel=no
(SESSION: 13965)
ANR0984I Process 72 for CHECKOUT LIBVOLUME started in the
BACKGROUND at 15:15:02. (SESSION: 13965, PROCESS: 72)
ANR8434I CHECKOUT LIBVOLUME: Operation for volume BBA642L5
in library HPLIBRARY started as process 72. (SESSION:
13965, PROCESS: 72)
ANR8829I Remove volume BBA642L5 from slot 1002 of library
HPLIBRARY at your convenience. (SESSION: 13965, PROCESS:
72)
ANR8438I CHECKOUT LIBVOLUME for volume BBA642L5 in library
HPLIBRARY completed successfully. (SESSION: 13965,
PROCESS: 72)
ANR0985I Process 72 for CHECKOUT LIBVOLUME running in the
BACKGROUND completed with completion state SUCCESS at
15:15:02. (SESSION: 13965, PROCESS: 72)
ANR2017I Administrator ADMIN issued command: QUERY PROCESS
(SESSION: 13965)
ANR0944E QUERY PROCESS: No active processes found.
(SESSION: 13965)
ANR2017I Administrator ADMIN issued command: ROLLBACK
(SESSION: 13965)
ANR2017I Administrator ADMIN issued command: QUERY ACTLOG
begintime=now-0:02 (SESSION: 13965)
 
Hi,

missing device type info is not a problem (it's there for mixed type cartridges libraries only)
Do this (and send us complete output):
Code:
checkout libvol HPLIBRARY ABK602L5 remove=no checklabel=no
checkout libvol HPLIBRARY ABK603L5 remove=no checklabel=no
checkout libvol HPLIBRARY ABK610L5 remove=no checklabel=no
checkout libvol HPLIBRARY ABK613L5 remove=no checklabel=no
checkout libvol HPLIBRARY ABK618L5 remove=no checklabel=no
checkout libvol HPLIBRARY ABK619L5 remove=no checklabel=no
checkout libvol HPLIBRARY ABK620L5 remove=no checklabel=no
checkout libvol HPLIBRARY ABK621L5 remove=no checklabel=no
checkout libvol HPLIBRARY ABK624L5 remove=no checklabel=no
checkout libvol HPLIBRARY ABK627L5 remove=no checklabel=no
checkout libvol HPLIBRARY ABK628L5 remove=no checklabel=no
checkout libvol HPLIBRARY ABK630L5 remove=no checklabel=no
checkout libvol HPLIBRARY ABK631L5 remove=no checklabel=no
checkout libvol HPLIBRARY ABK632L5 remove=no checklabel=no
checkout libvol HPLIBRARY ABK638L5 remove=no checklabel=no
checkout libvol HPLIBRARY ABK640L5 remove=no checklabel=no
checkout libvol HPLIBRARY BBA603L5 remove=no checklabel=no
checkout libvol HPLIBRARY BBA605L5 remove=no checklabel=no
checkout libvol HPLIBRARY BBA610L5 remove=no checklabel=no
checkout libvol HPLIBRARY BBA613L5 remove=no checklabel=no
checkout libvol HPLIBRARY BBA614L5 remove=no checklabel=no
checkout libvol HPLIBRARY BBA617L5 remove=no checklabel=no
checkout libvol HPLIBRARY BBA621L5 remove=no checklabel=no
checkout libvol HPLIBRARY BBA622L5 remove=no checklabel=no
checkout libvol HPLIBRARY BBA623L5 remove=no checklabel=no
checkout libvol HPLIBRARY BBA624L5 remove=no checklabel=no
checkout libvol HPLIBRARY BBA626L5 remove=no checklabel=no
checkout libvol HPLIBRARY BBA628L5 remove=no checklabel=no
checkout libvol HPLIBRARY BBA630L5 remove=no checklabel=no
checkout libvol HPLIBRARY BBA632L5 remove=no checklabel=no
checkout libvol HPLIBRARY BBA635L5 remove=no checklabel=no
checkout libvol HPLIBRARY BBA642L5 remove=no checklabel=no

label libvol HPLIBRARY search=yes labels=barcode checkin=scratch

Harry
 
Hi Harry Redl,

I'm tried your advice. When run the label libvol command i see "Volume cannot be labeled because it is currently defined in a storage pool" message in act log. I'm removed all cartridges via delete volume ABKxxxL5 command and then re-run label libvol command. All volumes are labeling right now. When the complete process i'll write details here.

After this problem; can i generate a backupset, from LIBRARY to HPLIBRARY namely between different two library?

Thank you so much for your help
Regards
 
Hi,

i guess it seems ok, right :)

08/05/2014 17:59:23 ANR8801I LABEL LIBVOLUME process 118 for library HPLIBRARY
completed; 31 volume(s) labeled, 31 volume(s) checked-in.
(SESSION: 16523, PROCESS: 118)

I'm try the "generate backupset ANGEL ANGELBSET devclass=LTOC vol=ABK602L5 wait=no" command, but before am i change this volumes status to private and am i create logical something or anything?

Regards,
 
Hi,

well, seems tapes are labeled - that is good. What to do with them is another topic. Tapes are changed from scratch to private (mostly) automatically - if you allow the process to use Scratch tapes.
What I recommend is to follow the administrator's guide (these guides are really written well - they are worth the time ....)
http://www-01.ibm.com/support/knowl....0/com.ibm.itsm.srv.common.doc/r_pdf_srv.html

Harry
 
Hi,

well, seems tapes are labeled - that is good. What to do with them is another topic. Tapes are changed from scratch to private (mostly) automatically - if you allow the process to use Scratch tapes.
What I recommend is to follow the administrator's guide (these guides are really written well - they are worth the time ....)
http://www-01.ibm.com/support/knowl....0/com.ibm.itsm.srv.common.doc/r_pdf_srv.html

Harry

Hi Harry_Redl,

Thanks for your reply, i read this documents over and over again and i confused the all TSM Definitions. If you know this situation please help us about this issue. I can't understand that am i create logical things on TSM for the write data on Tape. By the way i'm continuous reading.

Thank for all
 
Hi,

you need the "physical things" - library, drives, paths
Then you need device class (which points to the library) and storagepool(s) - which are defined over device class. Storage pools are "targets" for data. Storage pools contain volumes (tapes, files) - these are assigned manually or automatically (if you allow "scratch" usage - by specifying "maxscratch" parameter in storage pool).

What helps the most - use commandline AND the HELP command. For each command there is a help with diagram, all parameters explained, examples and related commands at the end. See "help def stg" for example.

This may help too (although older, 90% is still valid (except DB stuff))
http://www.redbooks.ibm.com/redbooks/pdfs/sg244877.pdf

Harry
 
Hi,

you need the "physical things" - library, drives, paths
Then you need device class (which points to the library) and storagepool(s) - which are defined over device class. Storage pools are "targets" for data. Storage pools contain volumes (tapes, files) - these are assigned manually or automatically (if you allow "scratch" usage - by specifying "maxscratch" parameter in storage pool).

What helps the most - use commandline AND the HELP command. For each command there is a help with diagram, all parameters explained, examples and related commands at the end. See "help def stg" for example.

This may help too (although older, 90% is still valid (except DB stuff))
http://www.redbooks.ibm.com/redbooks/pdfs/sg244877.pdf

Harry

Hello Herry,

I asked this question IBM Support, he said to me "You need to create a device class with devicetype=LTO" and do'not anything. I found this comman;

define devclass TAPE devtype=LTO

but i can't understand that: how can i associate this device class and library?

Regards,
 
Hi everyone,

I found my one backstepquestion answer on web gui. And try my operation. I can writing on tape right now. But the system give me a warning message about "table of content"

i guess i have to create a management class and astrg pool for this issue. How can i do that,

Regards,
 
Hi everyone,

i found my answer. I didn't define "physical things" i defined only Device Class for LTO Tapes and backupset session complete successfully.

But i can't found any answer this question: "How can i select backup storage for restore operation, namely when i tried restore how can i restore tape's backup data instead of disk". By the way i'm sorry for my poor english.

Regards,
 
Back
Top