Just thought I'd share with you some steps that I had to do when we did
some serious upgrades on our IBM i5 - 570 to get our 3582-L23 tape drive
working again. During this upgrade we moved cards around, removed and
replaced the whole main CEC, etc.
Our setup was a 5704 card controlled by a 2843 card. From the 5704 card
the fiber went to a 2109-F16 SAN switch. From there to the left port on a
3582-L23. This was all on an IBM i5 - 570 on a Suse Linux lpar guested by
an i5/os lpar.
http://www-1.ibm.com/support/docview.wss?rs=663&context=SSGSG7&dc=DB520&dc=D600&dc=DB530&dc=D700&dc=DB500&dc=DB540&dc=DB510&dc=DB550&q1=1190123&uid=swg21190123&loc=en_US&cs=utf-8&lang=en
Shutdown TSM
Start Tivoli Administrative Command Line
tsm: TSMLINUX>cancel session all
tsm: TSMLINUX>q sess
Admin session should be only one. May have to repeat CAN SESS ALL
tsm: TSMLINUX>q proc
For each process that appears
tsm: TSMLINUX>can pr ##
When all sessions and processes are ended
tsm: TSMLINUX>halt
To verify TSM is ended, try to start Administrative Command Line again. It
should disappear after entering user id and before password.
Start putty client to access raw Linux
Put latest driver on
Additional documentation
ftp://ftp.software.ibm.com/storage/devdrvr/Doc/IBM_ultrium_tape_IUG.pdf
hqlinux:/ # ftp ftp.software.ibm.com
Connected to dispsd-40-www3.boulder.ibm.com.
220-*******************************************************************************
220-* *
220-* IBM's internal systems must only be used for conducting IBM's *
220-* business or for purposes authorized by IBM management. *
220-* *
220-* Use is subject to audit at any time by IBM management. *
220-* *
220-*******************************************************************************
220-
220 peak1 FTP server (Version wu-2.6.2(5) Custom Fri May 27 13:45:39 MDT
2005) ready.
Name (ftp.software.ibm.com:root): anonymous
331 Guest login ok, send any password.
Password:
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd /storage/devdrvr/Linux/SLES9/engr
250 CWD command successful.
ftp> get IBMtape-2.1.4-2.6.5-7.252.ppc64.engr.rpm.bin
local: IBMtape-2.1.4-2.6.5-7.252.ppc64.engr.rpm.bin remote:
IBMtape-2.1.4-2.6.5-7.252.ppc64.engr.rpm.bin
500 'EPSV': command not understood.
227 Entering Passive Mode (207,25,253,40,91,241)
150 Opening BINARY mode data connection for
IBMtape-2.1.4-2.6.5-7.252.ppc64.engr.rpm.bin (167571 bytes).
100% |*************************************| 163 KB 453.45 KB/s 00:00
ETA
226 Transfer complete.
167571 bytes received in 00:00 (387.48 KB/s)
ftp> quit
221-You have transferred 167571 bytes in 1 files.
221-Total traffic for this session was 169157 bytes in 1 transfers.
221-Thank you for using the FTP service on peak1.
221 Goodbye.
hqlinux:/ # rpm -e IBMtape
hqlinux:/ # rpm -i IBMtape-2.1.4-2.6.5-7.252.ppc64.engr.rpm.bin
Installing IBMtape
IBMtape loaded
hqlinux:/ # rpm -qi IBMtape
Name : IBMtape Relocations: (not relocatable)
Version : 2.1.4 Vendor: (none)
Release : 0 Build Date: Tue Feb 28
19:36:16 2006
Install date: Wed Aug 2 08:36:46 2006 Build Host:
strut.storage.tucson.ibm.com
Group : System Environment/Kernel Source RPM:
IBMtape-2.1.4-0.src.rpm
Size : 632322 License: IBM
Signature : (none)
Summary : IBM Tape Device Driver for Linux
Description :
The IBM Tape Device Driver product is a Linux device driver that
provides attachment for the IBM TotalStorage 3590, 3592, IBM Ultrium
3580, 3581, 3582, 3583 and 3584 devices to
SUSE LINUX Enterprise Server 9 (ppc) with 2.6.5-7.252-pseries64
kernels on PowerPC compatible platforms.
Distribution: (none)
hqlinux:/ # rpm -qs IBMtape
normal /etc/IBMtaped.conf
normal /lib/modules/2.6.5-7.252-pseries64/kernel/drivers/scsi/IBMtape.ko
normal /usr/bin/IBMtaped
normal /usr/bin/startIBMtape
normal /usr/include/sys/IBM_tape.h
normal /usr/share/doc/packages/IBMtape
normal /usr/share/doc/packages/IBMtape/IBMtape_359X.ReadMe
normal /usr/share/doc/packages/IBMtape/IBMtape_Ultrium.ReadMe
normal /usr/share/doc/packages/IBMtape/IBMtaped.ReadMe
normal /usr/share/doc/packages/IBMtape/License
hqlinux:/ # cd /dev
hqlinux:/dev # ls IBM*
IBMchanger0 IBMtape0 IBMtape1 IBMtape2 IBMtape3 IBMtape4
IBMtape IBMtape0n IBMtape1n IBMtape2n IBMtape3n IBMtape4n
hqlinux:/dev # IBMtapeutil -f /dev/IBMchanger0 qryversion
Issuing query driver version...
IBMtape driver version: 2.1.4
hqlinux:/dev # shutdown -h now
Broadcast message from root (pts/1) (Wed Aug 2 08:55:51 2006):
The system is going down for system halt NOW!
******************************************************
On i5/os lpar that is guesting this linux lpar you need to vary off the
tape drive(s) and/or media library that was autoconfigured for this same
card.
Use Hardware Management Console (HMC) to dedicate 5704 card and 2843 card
to the linux lpar
Activate system back up via HMC
******************************************************
Start Tivoli Administrative Command Line
IBM Tivoli Storage Manager
Command Line Administrative Interface - Version 5, Release 3, Level 2.0
(c) Copyright by IBM Corporation and other(s) 1990, 2005. All Rights
Reserved.
Enter your user id: rob
Enter your password: ******
Session established with server TSMLINUX: Linux/ppc64
Server Version 5, Release 3, Level 3.1
Server date/time: 08/02/2006 10:07:13 Last access: 08/02/2006 08:47:11
login as: root
Password:
Last login: Wed Aug 2 09:49:00 2006 from gdspc62.dekko-1
hqlinux:~ # ls /dev/IBM*
/dev/IBMchanger0 /dev/IBMtape0 /dev/IBMtape1 /dev/IBMtape2
/dev/IBMtape /dev/IBMtape0n /dev/IBMtape1n /dev/IBMtape2n
hqlinux:~ # IBMtapeutil
IBMtapeutil for Linux, Version 1.3.4, Mar. 08, 2006
=========================================
1. Tape
2. Changer
3. Quit
=========================================
Enter your choice: 1
-------------------------- General Commands: -----------------------------
1. Open a Device 9. Mode Sense Pag
2. Close a Device 10. Switch Tape/Changer Devic
3. Inquiry 11. Create Special Files
4. Test Unit Ready 12. Query Driver Version
5. Reserve Device 13. Query Device Path
6. Release Device 14. Display All Paths
7. Request Sense 15. Enable A Path
8. Log Sense Page 16. Disable A Path
Q. Quit IBMtapeutil
1. Open a Device
/dev/IBMtape1
3. Inquiry
should tell you firmware level which should match "Status, Display
F/W,Drive 1" on front of 3582.
Should also tell you serial number which should match "Status, Serial
Number, Drive 1" on front of 3582.
2. Close a Device
1. Open a Device
/dev/IBMtape2
3. Inquiry
should tell you firmware level which should match "Status, Display
F/W,Drive 2" on front of 3582.
Should also tell you serial number which should match "Status, Serial
Number, Drive 2" on front of 3582.
2. Close a Device
Q. Quit IBMtapeutil
Exit to exit raw Linux
Start Tivoli Administrative Command Line
tsm: TSMLINUX>q path
Source Name Source Type Destination Destination On-Line
Name Type
----------- ----------- ----------- ----------- -------
TSMLINUX SERVER TAPMLB01 LIBRARY Yes
TSMLINUX SERVER TAPMLB011 DRIVE Yes
TSMLINUX SERVER TAPMLB012 DRIVE Yes
tsm: TSMLINUX>q library
Library Name: TAPMLB01
Library Type: SCSI
ACS Id:
Private Category:
Scratch Category:
WORM Scratch Category:
External Manager:
Shared: No
LanFree:
ObeyMountRetention:
tsm: TSMLINUX>q drive tapmlb01 * f=d
Library Name: TAPMLB01
Drive Name: TAPMLB011
Device Type: LTO
On-Line: Yes
Read Formats:
ULTRIUM2C,ULTRIUM2,ULTRIUMC,ULTRIUM
Write Formats:
ULTRIUM2C,ULTRIUM2,ULTRIUMC,ULTRIUM
Element: 256
Drive State: EMPTY
Volume Name:
Allocated to:
WWN: 500308C13E020003
Serial Number: 1110100589
Last Update by (administrator): WATSON
Last Update Date/Time: 06/09/2006 15:09:06
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE
Library Name: TAPMLB01
Drive Name: TAPMLB012
Device Type: LTO
On-Line: Yes
Read Formats:
ULTRIUM2C,ULTRIUM2,ULTRIUMC,ULTRIUM
Write Formats:
ULTRIUM2C,ULTRIUM2,ULTRIUMC,ULTRIUM
Element: 257
Drive State: EMPTY
Volume Name:
Allocated to:
WWN: 500308C13E020006
Serial Number: 1110100629
Last Update by (administrator): WATSON
Last Update Date/Time: 06/09/2006 15:09:35
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE
tsm: TSMLINUX>q PATH * * F=D
Source Name: TSMLINUX
Source Type: SERVER
Destination Name: TAPMLB01
Destination Type: LIBRARY
Library:
Node Name:
Device: /dev/IBMchanger0
External Manager:
LUN:
Initiator: 0
Directory:
On-Line: Yes
Last Update by (administrator): WATSON
Last Update Date/Time: 06/09/2006 15:08:11
Source Name: TSMLINUX
Source Type: SERVER
Destination Name: TAPMLB011
Destination Type: DRIVE
Library: TAPMLB01
Node Name:
Device: /dev/IBMtape5
External Manager:
LUN:
Initiator: 0
Directory:
On-Line: Yes
Last Update by (administrator): WATSON
Last Update Date/Time: 06/09/2006 15:09:06
Source Name: TSMLINUX
Source Type: SERVER
Destination Name: TAPMLB012
Destination Type: DRIVE
Library: TAPMLB01
Node Name:
Device: /dev/IBMtape6
External Manager:
LUN:
Initiator: 0
Directory:
On-Line: Yes
Last Update by (administrator): WATSON
Last Update Date/Time: 06/09/2006 15:09:35
tsm: TSMLINUX>q drive tapmlb01 * f=d
Library Name: TAPMLB01
Drive Name: TAPMLB011
Device Type: LTO
On-Line: Yes
Read Formats:
ULTRIUM2C,ULTRIUM2,ULTRIUMC,ULTRIUM
Write Formats:
ULTRIUM2C,ULTRIUM2,ULTRIUMC,ULTRIUM
Element: 256
Drive State: EMPTY
Volume Name:
Allocated to:
WWN: 500308C13E020003
Serial Number: 1110100589
Last Update by (administrator): WATSON
Last Update Date/Time: 06/09/2006 15:09:06
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE
Library Name: TAPMLB01
Drive Name: TAPMLB012
Device Type: LTO
On-Line: Yes
Read Formats:
ULTRIUM2C,ULTRIUM2,ULTRIUMC,ULTRIUM
Write Formats:
ULTRIUM2C,ULTRIUM2,ULTRIUMC,ULTRIUM
Element: 257
Drive State: EMPTY
Volume Name:
Allocated to:
WWN: 500308C13E020006
Serial Number: 1110100629
Last Update by (administrator): WATSON
Last Update Date/Time: 06/09/2006 15:09:35
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE
tsm: TSMLINUX>Q LIBRARY TAPMLB01
Library Name: TAPMLB01
Library Type: SCSI
ACS Id:
Private Category:
Scratch Category:
WORM Scratch Category:
External Manager:
Shared: No
LanFree:
ObeyMountRetention:
tsm: TSMLINUX>delete path TSMLINUX TAPMLB011 srctype=server desttype=drive
library=TAPMLB01
ANR1721I A path from TSMLINUX to TAPMLB01 TAPMLB011 has been deleted.
tsm: TSMLINUX>delete path TSMLINUX TAPMLB012 srctype=server desttype=drive
library=TAPMLB01
ANR1721I A path from TSMLINUX to TAPMLB01 TAPMLB012 has been deleted.
tsm: TSMLINUX>delete path TSMLINUX TAPMLB01 srctype=server
desttype=library
ANR1721I A path from TSMLINUX to TAPMLB01 has been deleted.
tsm: TSMLINUX>delete drive TAPMLB01 TAPMLB011
ANR8412I Drive TAPMLB011 deleted from library TAPMLB01.
tsm: TSMLINUX>delete drive TAPMLB01 TAPMLB012
ANR8412I Drive TAPMLB012 deleted from library TAPMLB01.
tsm: TSMLINUX>delete library TAPMLB01
ANR8410I Library TAPMLB01 deleted.
tsm: TSMLINUX>define library TAPMLB01 libtype=SCSI
ANR8400I Library TAPMLB01 defined.
tsm: TSMLINUX>define path TSMLINUX TAPMLB01 srctype=server
desttype=library device=/dev/IBMchanger0
ANR1720I A path from TSMLINUX to TAPMLB01 has been defined.
tsm: TSMLINUX>define drive TAPMLB01 TAPMLB011
ANR8404I Drive TAPMLB011 defined in library TAPMLB01.
tsm: TSMLINUX>q drive TAPMLB01 * f=d
Library Name: TAPMLB01
Drive Name: TAPMLB011
Device Type: UNKNOWN
On-Line: Yes
Read Formats:
Write Formats:
Element:
Drive State: UNKNOWN
Volume Name:
Allocated to:
WWN:
Serial Number:
Last Update by (administrator): ROB
Last Update Date/Time: 08/02/2006 10:26:15
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE
tsm: TSMLINUX>define drive TAPMLB01 TAPMLB012
ANR8404I Drive TAPMLB012 defined in library TAPMLB01.
tsm: TSMLINUX>q drive TAPMLB01 * f=d
Library Name: TAPMLB01
Drive Name: TAPMLB011
Device Type: UNKNOWN
On-Line: Yes
Read Formats:
Write Formats:
Element:
Drive State: UNKNOWN
Volume Name:
Allocated to:
WWN:
Serial Number:
Last Update by (administrator): ROB
Last Update Date/Time: 08/02/2006 10:26:15
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE
Library Name: TAPMLB01
Drive Name: TAPMLB012
Device Type: UNKNOWN
On-Line: Yes
Read Formats:
Write Formats:
Element:
Drive State: UNKNOWN
Volume Name:
Allocated to:
WWN:
Serial Number:
Last Update by (administrator): ROB
Last Update Date/Time: 08/02/2006 10:27:07
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE
tsm: TSMLINUX>define path TSMLINUX TAPMLB011 srctype=server desttype=drive
library=TAPMLB01 device=/
dev/IBMtape1
ANR1720I A path from TSMLINUX to TAPMLB01 TAPMLB011 has been defined.
tsm: TSMLINUX>define path TSMLINUX TAPMLB012 srctype=server desttype=drive
library=TAPMLB01 device=/
dev/IBMtape2
ANR1720I A path from TSMLINUX to TAPMLB01 TAPMLB012 has been defined.
tsm: TSMLINUX>q drive TAPMLB01 * f=d
Library Name: TAPMLB01
Drive Name: TAPMLB011
Device Type: LTO
On-Line: Yes
Read Formats:
ULTRIUM2C,ULTRIUM2,ULTRIUMC,ULTRIUM
Write Formats:
ULTRIUM2C,ULTRIUM2,ULTRIUMC,ULTRIUM
Element: 257
Drive State: UNKNOWN
Volume Name:
Allocated to:
WWN: 500308C13E020006
Serial Number: 1110100629
Last Update by (administrator): ROB
Last Update Date/Time: 08/02/2006 10:32:05
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE
Library Name: TAPMLB01
Drive Name: TAPMLB012
Device Type: LTO
On-Line: Yes
Read Formats:
ULTRIUM2C,ULTRIUM2,ULTRIUMC,ULTRIUM
Write Formats:
ULTRIUM2C,ULTRIUM2,ULTRIUMC,ULTRIUM
Element: 256
Drive State: UNKNOWN
Volume Name:
Allocated to:
WWN: 500308C13E020003
Serial Number: 1110100589
Last Update by (administrator): ROB
Last Update Date/Time: 08/02/2006 10:32:20
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE
Check in tapes
Test with a database backup or some such thing.
Additional search words:
iSeries
AS/400
i5/OS
OS/400
as400
os400
LTO
Ultrium
Many thanks to the IBM team that helped me through this.
Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
|