Walkthrough for IBM TSM with IBM 03584L32 and LTO5 drives

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Walkthrough for IBM TSM with IBM 03584L32 and LTO5 drives

stsc
Hi everyone!

I have just managed to add a mhVTL 1.5.4 library to TSM. Works fine. Already tested: checkin libvol, archive, retrieve, move data.

Below are my notes that I want to share as there are some pitfalls that others may also stumble upon.

Best wishes
Stefan


===== TSM Version ==============

Storage Management Server for Windows - Version 7, Release 1, Stufe 7.0


===== Library and Drives =======

1 x IBM 03584L32
2 x LTO 5 drive ULT3580-TD5

The library was defined to have 60 LTO5 volumes with compression enabled.

IMPORTANT: Please use the 03584L!!32!! model of the library as the 03584L!!22!! model does not support LTO drives.
TSM knows this and will tell you that it does not have supported drives when you try to checkin volumes if you combine the !!22!! model with LTO drives.

===== device.conf ==============

VERSION: 5


Library: 130 CHANNEL: 5 TARGET: 00 LUN: 00
 Vendor identification: IBM
 Product identification: 03584L32
 Product revision level: 4.02
 Unit serial number: 70000130
 NAA: 130:11:22:33:ab:5:00:00
 Home directory: /opt/mhvtl
 Backoff: 400

Drive: 131 CHANNEL: 5 TARGET: 00 LUN: 01
 Library ID: 130 Slot: 01
 Vendor identification: IBM
 Product identification: ULT3580-TD5
 Product revision level: 252D
 Unit serial number: 70000131
 NAA: 130:11:22:33:ab:5:00:01
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400

Drive: 132 CHANNEL: 5 TARGET: 00 LUN: 2
 Library ID: 130 Slot: 2
 Vendor identification: IBM
 Product identification: ULT3580-TD5
 Product revision level: 252D
 Unit serial number: 70000132
 NAA: 130:11:22:33:ab:5:00:2
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400

===== Windows Setup ============

OS:
Windows 2012 Standard

iSCSI:
mhvtl IP added as target in iSCSI initiator

Drivers:
As TSM requires IBM drivers to be installed for IBM libraries and drives I installed the driver from "IBMTape.x64_w12_6265.zip".
This is tape driver version 6.2.6.5. I used "install_exclusive.exe" from the ZIP.

After the driver was installed the library and the drives showed up in Device Manager with yellow exclamation marks.
After a reboot the exclemation marks were gone and libraries and drives showed up as expected without exclamation marks.

!!!Make sure all drives and the library are using the IBM driver not the Windows driver!!!


Note 1: I tried the WHQL version of the driver first which failed with the message that it could not install the "Change Bus Enumerator".
The non WHQL version worked fine.

Note 2: Before conneting mhVTL with iSCSI show all hidden devices in the Device Manager and uninstall all unused IBM drives and libraries.
Of course only if you already had some failed tries to add the library.
 
 
===== call tsmdlst.exe ======

As we require a device name like "lb0.1.0.3" to define the library and drive paths in TSM we query them with tsmdlst.exe.

C:\Program Files\Tivoli\TSM\server>tsmdlst.exe

Tivoli Storage Manager -- Device List Utility

Licensed Materials - Property of IBM

5697-TSM (C) Copyright IBM Corporation 2000, 2005. All rights reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corporation.

Computer Name:      RZC-VM-W12-TS53
OS Version:         6.2
OS Build #:         9200
TSM Device Driver:  TSMScsi - Not Running

One HBA was detected.

Manufacturer        Model          Driver      Version            Firmware NodeWWN           Description
----------------------------------------------------------------------------------------------------------------
                                                                           0000000000000000

TSM Name     ID   LUN  Bus  Port SSN                     WWN               TSM Type     Driver   Device Identifier             Symbolic Name

--------------------------------------------------------------------------------------------------------------------------------------------
-----
lb0.1.0.3    0    1    0    3    70000110                -                 LIBRARY      IBM      IBM     03584L22        4.02  Changer0

mt0.2.0.3    0    2    0    3    70000111                -                 LTO          IBM      IBM     ULT3580-TD2     252D  \\.\Tape0

mt0.3.0.3    0    3    0    3    70000112                -                 LTO          IBM      IBM     ULT3580-TD2     252D  \\.\Tape1


Completed in: 0 days, 0 hours, 0 minutes, 1 seconds.
 
 

===== Define SCSI Library  =====

tsm: RZC-VM-W12-TS53>def libr ibm3584 libt=scsi
ANR8400I Kassettenarchiv IBM3584 definiert.

tsm: RZC-VM-W12-TS53>upd libr ibm3584 autolabel=yes relabelscratch=yes
ANR8465I Kassettenarchiv IBM3584 aktualisiert.

tsm: RZC-VM-W12-TS53>


===== Define Library Path ======

tsm: RZC-VM-W12-TS53>def path RZC-VM-W12-TS53 ibm3584 srct=server autod=yes destt=libr devi=lb0.1.0.3
ANR1720I Ein Pfad von RZC-VM-W12-TS53 nach IBM3584 wurde definiert.


===== Define Device Class ======

tsm: RZC-VM-W12-TS53>def devc ibm3584-lto5 ibm3584 devt=lto estcap=500m
ANR2203I Einheitenklasse IBM3584-LTO2 definiert.


===== Define Drive =============

tsm: RZC-VM-W12-TS53>def dr ibm3584 ibm3584-drive01
ANR8404I Laufwerk IBM3584-DRIVE01 in Kassettenarchiv IBM3584 definiert.

tsm: RZC-VM-W12-TS53>def dr ibm3584 ibm3584-drive02
ANR8404I Laufwerk IBM3584-DRIVE02 in Kassettenarchiv IBM3584 definiert.


===== Define Path to Drive =====

tsm: RZC-VM-W12-TS53>def path RZC-VM-W12-TS53 ibm3584-drive01 srct=server destt=drive libr=ibm3584 devi=mt0.2.0.3
ANR1720I Ein Pfad von RZC-VM-W12-TS53 nach IBM3584 IBM3584-DRIVE01 wurde definiert.

tsm: RZC-VM-W12-TS53>

tsm: RZC-VM-W12-TS53>def path RZC-VM-W12-TS53 ibm3584-drive02 srct=server destt=drive libr=ibm3584 devi=mt0.3.0.3
ANR1720I Ein Pfad von RZC-VM-W12-TS53 nach IBM3584 IBM3584-DRIVE02 wurde definiert.


===== Checkin Volumes ==========

checkin libv ibm3584 checklabel=barcode search=yes status=scratch devt=lto

tsm: RZC-VM-W12-TS53>q libv

Kassettenarchivname Datenträgername Status           Eigner     Letzte     Ausgangselement Einheitentyp
                                                                Verwendung
------------------- --------------- ---------------- ---------- ---------- --------------- ------------
IBM3584             CLN095L5        Privat                                 1.118           LTO
IBM3584             M00002L5        Privat                      Daten      1.025           LTO
IBM3584             M00003L5        Privat                      Daten      1.026           LTO
IBM3584             M00004L5        Privat                      Daten      1.027           LTO
IBM3584             M00005L5        Privat                      Daten      1.028           LTO
IBM3584             M00006L5        Scratch                                1.029           LTO
IBM3584             M00007L5        Scratch                                1.030           LTO
IBM3584             M00008L5        Scratch                                1.031           LTO
IBM3584             M00009L5        Scratch                                1.032           LTO
IBM3584             M00010L5        Scratch                                1.033           LTO


===== Define Tape Pool =========

def stg tape-lto5 stgt=ibm3584-lto5 maxscr=30


===== Define Management Class for Tape Pool =====

We use a domain called "srzc_test" here. Replace with a appropriate domain name from your environment.
Make sure the node you are using for backups/archives later is in this domain.

def mgmt srzc_test srzc_test tape-lto5
def co srzc_test srzc_test tape-lto5 t=a dest=tape-lto5 retv=7
def co srzc_test srzc_test tape-lto5 t=b dest=tape-lto5 vere=1 verd=1 rete=1 reto=7

act pol srzc_test srzc_test
act pol srzc_test srzc_test


===== Running an archive =====

dsmc archive "C:\some folder to archive\\" -archmc=tape-lto5 -subdir=yes

Note: Be aware that the command looks different for Windows/Unix+Linux. Make sure to use the right management class "tape-lto5".


After this a query volume should show some used volumes:

M00002L5                 TAPE-LTO5        IBM3584-LTO5           911,1 M        99,1      full
M00003L5                 TAPE-LTO5        IBM3584-LTO5              1,1 G       98,9      full
M00004L5                 TAPE-LTO5        IBM3584-LTO5              1,1 G      100,0      full
M00005L5                 TAPE-LTO5        IBM3584-LTO5           831,1 M       100,0   filling



+++++ Delete Library, Paths and Drives +++++++

Just in case you want to cleanup and start again :)


tsm: RZC-VM-W12-TS53>del devc ibm3584-lto2
ANR2204I Einheitenklasse IBM3584-LTO2 gelöscht.

tsm: RZC-VM-W12-TS53>del path rzc-vm-w12-ts53 ibm3584-drive01 srct=server destt=drive libr=ibm3584
ANR1721I Ein Pfad von RZC-VM-W12-TS53 nach IBM3584 IBM3584-DRIVE01 wurde gelöscht.

tsm: RZC-VM-W12-TS53>del path rzc-vm-w12-ts53 ibm3584-drive02 srct=server destt=drive libr=ibm3584
ANR1721I Ein Pfad von RZC-VM-W12-TS53 nach IBM3584 IBM3584-DRIVE02 wurde gelöscht.

tsm: RZC-VM-W12-TS53>del path rzc-vm-w12-ts53 ibm3584 srct=server destt=libr
ANR1721I Ein Pfad von RZC-VM-W12-TS53 nach IBM3584 wurde gelöscht.

tsm: RZC-VM-W12-TS53>del dri ibm3584 ibm3584-drive01
ANR8412I Laufwerk IBM3584-DRIVE01 aus Kassettenarchiv IBM3584 gelöscht.

tsm: RZC-VM-W12-TS53>del dri ibm3584 ibm3584-drive02
ANR8412I Laufwerk IBM3584-DRIVE02 aus Kassettenarchiv IBM3584 gelöscht.

tsm: RZC-VM-W12-TS53>del libr ibm3584
ANR8410I Kassettenarchiv IBM3584 gelöscht.

tsm: RZC-VM-W12-TS53>
Reply | Threaded
Open this post in threaded view
|

Re: Walkthrough for IBM TSM with IBM 03584L32 and LTO5 drives

Mark Harvey
Administrator
Nice, Many thanks for the write up.
Regards from Australia
Mark Harvey