Problem setting up new library

davidb

ADSM.ORG Member
Joined
Mar 13, 2013
Messages
13
Reaction score
0
Points
0
Hi all,
I am new to tsm and of course i have some problems.
I installed a tsm and a tivoli server and managed to configure till the step where it should see the tapes and add them to volume, and i think it should create volume also.
Do you have any ideea what i do wrong here?

thanks in advance

Code:
TSM:SERVER1>
q library
ANR2017I Administrator SERVER_CONSOLE issued command: QUERY LIBRARY

Library Name     Library        ACS     Private      Scratch      WORM         External           Shared     LanFree     ObeyMountRetention
                 Type           Id      Category     Category     Scratch      Manager
                                                                  Category
------------     ----------     ---     --------     --------     --------     --------------     ------     -------     ------------------
LIBIBM3500       SCSI                                                                             No

TSM:SERVER1>
q volume
ANR2017I Administrator SERVER_CONSOLE issued command: QUERY VOLUME
ANR2034E QUERY VOLUME: No match found using this criteria.
TSM:SERVER1>
q drive
ANR2017I Administrator SERVER_CONSOLE issued command: QUERY DRIVE

Library Name     Drive Name       Device Type     On-Line
------------     ------------     -----------     -------------------
LIBIBM3500       DRIVE00          LTO             Yes
LIBIBM3500       DRIVE01          LTO             Yes
LIBIBM3500       DRIVE02          LTO             Yes
LIBIBM3500       DRIVE03          LTO             Yes
LIBIBM3500       DRIVE04          LTO             Yes
LIBIBM3500       DRIVE05          LTO             Yes
LIBIBM3500       DRIVE06          LTO             Yes
LIBIBM3500       DRIVE07          LTO             Yes
LIBIBM3500       DRIVE08          LTO             Yes
LIBIBM3500       DRIVE09          LTO             Yes

TSM:SERVER1>
q path
ANR2017I Administrator SERVER_CONSOLE issued command: QUERY PATH

Source Name     Source Type     Destination     Destination     On-Line
                                Name            Type
-----------     -----------     -----------     -----------     -------
SERVER1         SERVER          LIBIBM3500      LIBRARY         Yes
SERVER1         SERVER          DRIVE00         DRIVE           Yes
SERVER1         SERVER          DRIVE01         DRIVE           Yes
SERVER1         SERVER          DRIVE02         DRIVE           Yes
SERVER1         SERVER          DRIVE03         DRIVE           Yes
SERVER1         SERVER          DRIVE04         DRIVE           Yes
SERVER1         SERVER          DRIVE05         DRIVE           Yes
SERVER1         SERVER          DRIVE06         DRIVE           Yes
SERVER1         SERVER          DRIVE07         DRIVE           Yes
SERVER1         SERVER          DRIVE08         DRIVE           Yes
SERVER1         SERVER          DRIVE09         DRIVE           Yes

TSM:SERVER1>
label libvol libibm3500 search=yes labelso=barcode checkin=scratch overwrite=yes
ANR2017I Administrator SERVER_CONSOLE issued command: LABEL LIBVOLUME libibm3500 search=yes labelso=barcode checkin=scratch overwrite=yes
ANR0984I Process 14 for LABEL LIBVOLUME started in the BACKGROUND at 05:32:26 PM.
ANR8799I LABEL LIBVOLUME: Operation for library LIBIBM3500 started as process 14.
TSM:SERVER1>
ANR8801I LABEL LIBVOLUME process 14 for library LIBIBM3500 completed; 0 volume(s) labeled, 0 volume(s) checked-in.
ANR0985I Process 14 for LABEL LIBVOLUME running in the BACKGROUND completed with completion state SUCCESS at 05:32:30 PM.
 
I take out 2 tapes from the library (after i paused of course) and put them into insert drive and run command with bulk
I was prompted for
Code:
 Fill the bulk entry/exit port of library LIBIBM3500 with all LTO volumes to be processed within 56 minute(s); issue 'REPLY' along with the request ID when ready.
and after i replayed it found the 2 tapes and make 2 volumes

Code:
Library Name     Volume Name     Status               Owner          Last Use      Home        Device
                                                                                   Element     Type
------------     -----------     ----------------     ----------     ---------     -------     ------
LIBIBM3500       RDS915L5        Scratch                                           1,026       LTO
LIBIBM3500       RDT605L5        Scratch                                           1,025       LTO

What i am doing wrong ? I am sure that is another way to make it see the tapes other that pull out all 2500 tapes...

thanks again
 
You did not check in the tapes into the new library.

If the tapes are all in the library, use: checkin libvol <library_name> search=yes checkl=barcode status=private waitt=0 - this is assuming that all tapes are assigned to storage pools and these are not scratch tapes.
 
Hi
I did the command you wrote but with status scratch and without private parameter.
How can i see the status of the tapes and how can i assign them to pool?
Thanks
 
'q libv' will show you volume status within the library. If you are using scratch tapes you don't have to explicitly assign them to storage pools, they will be automatically assigned when needed providing the MAXSCRATCH value of the storage pool has not been exceeded.
 
Hi
As I understand you are use TS3500 library. Check that all tapes assigned to correct logical library.
You can check all tapes using TSM command "show slots". So you can checkin tapes only if output from previous command shows tapes.
I think that when you put tapes to the library it moved from I/O slot to the Virtual I/O slot (default).
So try this command: label libvol libibm3500 search=Bulk labelso=barcode checkin=scratch overwrite=yes
Efim
 
Hi
those are outputs from commands

Code:
TSM:ARDTSM1>
q libv
ANR2017I Administrator SERVER_CONSOLE issued command: QUERY LIBVOLUME

Library Name     Volume Name     Status               Owner          Last Use      Home        Device
                                                                                   Element     Type
------------     -----------     ----------------     ----------     ---------     -------     ------
LIBIBM3500       RDS915L5        Scratch                                           1,026       LTO
LIBIBM3500       RDT605L5        Scratch                                           1,025       LTO

TSM:ARDTSM1>


Code:
TSM:ARDTSM1>
show slots libibm3500
ANR2017I Administrator SERVER_CONSOLE issued command: show slots libibm3500
PVR slot information for library LIBIBM3500.
Library          : LIBIBM3500
Product Id       : 03584L32
Support module   : 4

Mount count      : 0

Drives           : 10
Slots            : 2241
Changers         : 2
Import/Exports   : 16

Device           : /dev/IBMchanger0

Drive   0, element 257
Drive   1, element 258
Drive   2, element 259
Drive   3, element 260
Drive   4, element 261
Drive   5, element 262
Drive   6, element 263
Drive   7, element 264
Drive   8, element 265
Drive   9, element 266

Changer 0, element 1
Changer 1, element 2

ImpExp 0, element number 769
ImpExp 1, element number 770
ImpExp 2, element number 771
ImpExp 3, element number 772
ImpExp 4, element number 773
ImpExp 5, element number 774
ImpExp 6, element number 775
ImpExp 7, element number 776
ImpExp 8, element number 777
ImpExp 9, element number 778
ImpExp 10, element number 779
ImpExp 11, element number 780
ImpExp 12, element number 781
ImpExp 13, element number 782
ImpExp 14, element number 783
ImpExp 15, element number 784
Slot 0, status Allocated, element number 1025, barcode not present, barcode value <>, devT=LTO, mediaT=430, elemT=ANY
Slot 1, status Allocated, element number 1026, barcode not present, barcode value <>, devT=LTO, mediaT=430, elemT=ANY

slot element range 1025 - 3265
TSM:ARDTSM1>


Code:
TSM:ARDTSM1>
label libvol libibm3500 search=Bulk labelso=barcode checkin=scratch overwrite=yes
ANR2017I Administrator SERVER_CONSOLE issued command: LABEL LIBVOLUME libibm3500 search=Bulk labelso=barcode checkin=scratch overwrite=yes
ANR0984I Process 2 for LABEL LIBVOLUME started in the BACKGROUND at 03:37:14 PM.
ANR8799I LABEL LIBVOLUME: Operation for library LIBIBM3500 started as process 2.
TSM:ARDTSM1>
ANR8373I 001: Fill the bulk entry/exit port of library LIBIBM3500 with all LTO volumes to be processed within 60 minute(s); issue 'REPLY' along with the request ID when ready.

The last one i tryed and put there 2 tapes. These are the ones that are shown on previous command. My worry is that in library i have about 2500 tapes...I am sure that pulling them out and insert them manually is not a solution....

:(
 
Are all the slots currently containing the tapes properly configured/licensed for the library partition you have defined in TSM? If you have placed the tapes in non-licensed slots then TSM will not be able to see them and check them in. The fact that you can label and check in tapes from the I/O slots suggests that TSM can't see the slots that you have the other pre-loaded tapes in.
 
All the tapes are ultrium 5 and has 1.5 TB
tapes has each one barcodes stick on them
I just fill them to the tape and after that started it
i haven t done anything else
 
All the tapes are ultrium 5 and has 1.5 TB
tapes has each one barcodes stick on them
I just fill them to the tape and after that started it
i haven t done anything else

I believe we have a bit of confusion here.

This is a new install, right? And that NO data exist on any tape, right?

If this is the case, you need really to checkin all the tapes using the label command UNLESS the tapes have been pre-labeled. This may mean feeding the tapes one-by-one into the I/O bin as the case may be.
 
I think what i explained was not really clear, sorry.
Yes we are talking about one new install. They just filled the cabinet with tapes and after that started it. The tapes were not introduced through i/o door.
The library have 3 frames.
No data on tapes, tapes are new also and each of then have a barcode on it.
I tried that label command but without success, see my below posts.
 
I think what i explained was not really clear, sorry.
Yes we are talking about one new install. They just filled the cabinet with tapes and after that started it. The tapes were not introduced through i/o door.
The library have 3 frames.
No data on tapes, tapes are new also and each of then have a barcode on it.
I tried that label command but without success, see my below posts.

Now try labeling the tapes through the I/O bin.
 
As I know if you manually filled cabinet you must perform inventory with audit using Tape Library Specialist Web interface and assign tapes to logical library.
Efim
 
so you mean to pull out all tapes and put them back trough i/o ?
 
so you mean to pull out all tapes and put them back trough i/o ?

Or, try this first:

label libvol <library_name> search=yes labelsource=barcode checkin=scratch waitt=0

If it runs, then:

audit library <library_name> checkl=barcode

This assumes that the library has been setup properly and that all slots are licensed and the license had been applied properly.
 
my 5 cents:
If you can't see tapes using show command it can't be schecked in using label libvol or scheckin TSM commands.
If you open front door TS3500 inventory mus be automatically initiated during 15 sec after it closed.
Also if you change library configuration TSM must read it but it can do it only during:
- start TSM server
- run audit library with parameter REFRESHstate=YES

So I suggest action plan:
1. Run TS3500 inventory or if you are using HD frames- inventory+audit (see Operator Guide how to do it)
2. Check TS3500 configuration. All tapes must be assigned to logical library.
3. Restart TSM or run TSM command "audit library <library_name> checkl=barcode REFRESHstate=YES"
4. Run show command and check that tapes are in slots (in regular or virtual I/O).
5. Run label command with:
label libvol <library_name> search=yes labelsource=barcode checkin=scratch waitt=0 - if tapes in regular slots
label libvol <library_name> search=Bulk labelsource=barcode checkin=scratch waitt=0 - if tapes in I/O slots
Efim
 
Hi again

I managed to configure web admin access which btw has to be set on port B not A and with this i saw all the tapes which were in unsigned status
I assigned them all (from all 3 frames) to the library, there are about 2000 tapes

after that from tivoli server i did

Code:
label libvolume libibm3500 search=yes labelsource=barcode checkin=scr waitt=0

and now is doing this

Code:
TSM:ARDTSM1>
ANR8810I Volume RDS064L5 has been labeled in library LIBIBM3500.
ANR8810I Volume RDS349L5 has been labeled in library LIBIBM3500.
ANR8810I Volume RDS359L5 has been labeled in library LIBIBM3500.
ANR8810I Volume RDS660L5 has been labeled in library LIBIBM3500.
ANR8779E Unable to open drive /dev/IBMtape9, error number= 5.
ANR8779E Unable to open drive /dev/IBMtape9, error number= 4.
ANR8810I Volume RDS662L5 has been labeled in library LIBIBM3500.
ANR8810I Volume RDS663L5 has been labeled in library LIBIBM3500.
ANR8810I Volume RDS664L5 has been labeled in library LIBIBM3500.

I see that i have 2 drives in error i don t know why but i will debug this later

what i want to ask is that in few hours it just labeled about 100 tapes....isn t this to slow ?
was my command ok?

after it will finish i guess i have to do checkin?

thanks again for all guys
 
The command I gave above has the checkin option - the tape should check in after TSM labels it.

Run an audit after all is done.
 
I know i have to checkin tapes after label them

the ideea is that i was expected to do more quickly labeling...

thanks again for all :)
i will keep you updated with the evolution


l.e. my command also had checkin in it...so it means that it label and checkin tapes now....
"checkin=scr"
 
Back
Top