Communicating with Tape Library/Tape Drive

bedde

Active Newcomer
Joined
Sep 4, 2013
Messages
9
Reaction score
0
Points
0
PREDATAR Control23

Hi,

I am a new to TSM and was wondering if some of you could guide me with the following.

TSM is mostly command-line based.

Are there any commands to verify communcation between the TSM Server and the tape backup device like e.g. a Tape Library or a Tape Drive (from the Tape Library)??

Are there also commands to format and eject tapes??

Thanks in advance for your help.
 
PREDATAR Control23

Are there any commands to verify communcation between the TSM Server and the tape backup device like e.g. a Tape Library or a Tape Drive (from the Tape Library)??.
You can issue these commands:

Code:
query drive
query path
query library

If they all show "ONLINE: YES", then they should function properly.

Are there also commands to format and eject tapes??.
Yes, the process is actually known as LABEL LIBVOLUME and CHECKIN LIBVOLUME respectively. You can find more info here: http://www-01.ibm.com/support/knowl...om.ibm.itsm.srv.doc/t_volume_seq_prepare.html
 
PREDATAR Control23

q drive
Library Name Drive Name Device Type On-Line
------------ ------------ ----------- -------------------
LB4.1.0.2 MT4.0.0.2 LTO Yes

=========================================
q path
Source Type Destination Destination On-Line
----------- ----------- ----------- -----------
SERVER LB4.1.0.2 LIBRARY Yes
SERVER MT4.0.0.2 DRIVE No
=========================================


So, what does this mean?

"q drive" shows the tape drive :confused: on-line, and
"q path" shows the tape drive is off-line (o_O)??

Am I reading it right??
 
PREDATAR Control23

Hi,

using "q drive", "q library" and "q path" is a query to the TSM DB - it does not contact the library. Yes, in your case the path to the MT4.0.0.2 is wrong (offline) - should be online.
Issue "update path <server_name_here> mt4.0.0.2 srct=server destt=drive libr=lb4.1.0.2 onl=yes" - this should set the path online - but still does not talk to the library.
Then run "audit libr lb4.1.0.2 checklabel=barcode" - this will get the library inventory (communication with the library).
To make sure even the drive is working, you have multiple options
a) run the audit library without "checklabel=barcode" - so the tapes are loaded into drive to check the label
b) delete and re-create the path
c) use the drive - run "audit vol XYZ" or backup the DB to the tape ...


Hope it helps

Harry
 
PREDATAR Control23

Hi,

using "q drive", "q library" and "q path" is a query to the TSM DB - it does not contact the library. Yes, in your case the path to the MT4.0.0.2 is wrong (offline) - should be online.
Issue "update path <server_name_here> mt4.0.0.2 srct=server destt=drive libr=lb4.1.0.2 onl=yes" - this should set the path online - but still does not talk to the library.
Then run "audit libr lb4.1.0.2 checklabel=barcode" - this will get the library inventory (communication with the library).
To make sure even the drive is working, you have multiple options
a) run the audit library without "checklabel=barcode" - so the tapes are loaded into drive to check the label
b) delete and re-create the path
c) use the drive - run "audit vol XYZ" or backup the DB to the tape ...


Hope it helps

Harry

Harry, thanks!

I will give it a try.
 
PREDATAR Control23

You can also use ping server NameOfServer
to verify that the server is online.
 
Top