TSM : problem when defining multiple paths to Library

waz

ADSM.ORG Member
Joined
Jun 2, 2016
Messages
11
Reaction score
0
Points
0
PREDATAR Control23

Hi everybody!
I have installed tsm server 7.1.6 on windows server 2012 . the server is connected directly to an IBM TS3310 library ( with two FC LTO7 drives) using two dual ports FC cards. I installed the drivers "IBMTape.x64_w12_6258" on ther server and I dont intall during TSM install this driver :
upload_2016-6-30_15-4-40.png

then I begin the configuration of the TS3310 with TSM so I defined the library in TSM using the command:

define library TS3310 libtype=scsi autolabel=yes


I defined then the first path to the library and it ok :
define path TSMSRV TS3310 srctype=server desttype=library autodetect=yes device=lb0.1.0.2 online=yes

The problem is that when i want to add other paths using device lb0.1.0.3, lb0.1.0.4, lb0.1.0.5 : I have an error message ANR1723E: A path is already defined using TSMSRV and TS3310.

this what I have when I run tsmdlst/all :

C:\Program Files\Tivoli\TSM\server>tsmdlst -all

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: TSMSRV
OS Version: 6.2
OS Build #: 9200
TSM Device Driver: TSMScsi - Not Running

4 HBAs were detected.

Manufacturer Model Driver Version Firmware NodeW
WN Description
--------------------------------------------------------------------------------
--------------------------------
QLogic Corporation QLE2562 ql2300.sys 9.1.9.205 5.04.01 20000
024FF753248 QLogic QLE2562 Fibre Channel Adapter
QLogic Corporation QLE2562 ql2300.sys 9.1.9.205 5.04.01 20000
024FF753249 QLogic QLE2562 Fibre Channel Adapter
QLogic Corporation QLE2562 ql2300.sys 9.1.9.205 5.04.01 20000
024FF7537CE QLogic QLE2562 Fibre Channel Adapter
QLogic Corporation QLE2562 ql2300.sys 9.1.9.205 5.04.01 20000
024FF7537CF QLogic QLE2562 Fibre Channel Adapter

Device Type: TapePeripheral
TSM Device Name: mt0.0.0.2
TSM Device Type: LTO
Driver: IBM
ID: 0
LUN: 0
Bus: 0
Port: 2
Serial Number: XXXXXXXXXX
World Wide Name: XXXXXXXXXXXXXXXXX
Device Identifier: IBM ULT3580-TD7 FA10
Symbolic Name: \\.\Tape0
Supported Generic Tape: Yes
Variable Blocks: Yes
Filemarks: Yes
Relative Blocks: Yes
Reverse Position: Yes

Device Type: MediumChangerPeripheral
TSM Device Name: lb0.1.0.2
TSM Device Type: LIBRARY
Driver: IBM
ID: 0
LUN: 1
Bus: 0
Port: 2
Serial Number: XXXXXXXXXX
World Wide Name: XXXXXXXXXX
Device Identifier: IBM 3576-MTL 670G
Symbolic Name: Changer0

Device Type: TapePeripheral
TSM Device Name: mt0.0.0.3
TSM Device Type: LTO
Driver: IBM
ID: 0
LUN: 0
Bus: 0
Port: 3
Serial Number: XXXXXXXXXX
World Wide Name: XXXXXXXXXX
Device Identifier: IBM ULT3580-TD7 FA10
Symbolic Name: \\.\Tape1
Supported Generic Tape: Yes
Variable Blocks: Yes
Filemarks: Yes
Relative Blocks: Yes
Reverse Position: Yes

Device Type: MediumChangerPeripheral
TSM Device Name: lb0.1.0.3
TSM Device Type: LIBRARY
Driver: IBM
ID: 0
LUN: 1
Bus: 0
Port: 3
Serial Number: XXXXXXXXXX
World Wide Name: XXXXXXXXXX
Device Identifier: IBM 3576-MTL 670G
Symbolic Name: Changer0

Device Type: TapePeripheral
TSM Device Name: mt0.0.0.4
TSM Device Type: LTO
Driver: IBM
ID: 0
LUN: 0
Bus: 0
Port: 4
Serial Number: XXXXXXXXXX
World Wide Name: XXXXXXXXXX
Device Identifier: IBM ULT3580-TD7 FA10
Symbolic Name: \\.\Tape0
Supported Generic Tape: Yes
Variable Blocks: Yes
Filemarks: Yes
Relative Blocks: Yes
Reverse Position: Yes

Device Type: MediumChangerPeripheral
TSM Device Name: lb0.1.0.4
TSM Device Type: LIBRARY
Driver: IBM
ID: 0
LUN: 1
Bus: 0
Port: 4
Serial Number: XXXXXXXXXX
World Wide Name: XXXXXXXXXX
Device Identifier: IBM 3576-MTL 670G
Symbolic Name: Changer0

Device Type: TapePeripheral
TSM Device Name: mt0.0.0.5
TSM Device Type: LTO
Driver: IBM
ID: 0
LUN: 0
Bus: 0
Port: 5
Serial Number: XXXXXXXXXX
World Wide Name: XXXXXXXXXX
Device Identifier: IBM ULT3580-TD7 FA10
Symbolic Name: \\.\Tape1
Supported Generic Tape: Yes
Variable Blocks: Yes
Filemarks: Yes
Relative Blocks: Yes
Reverse Position: Yes

Device Type: MediumChangerPeripheral
TSM Device Name: lb0.1.0.5
TSM Device Type: LIBRARY
Driver: IBM
ID: 0
LUN: 1
Bus: 0
Port: 5
Serial Number: XXXXXXXXXX
World Wide Name: XXXXXXXXXX
Device Identifier: IBM 3576-MTL 670G
Symbolic Name: Changer0



Thanks in advance for your help.
 
PREDATAR Control23

hi, the problem that i have only one TS3310 library with 2 tape drive but this what I have when I run tsmdlst/all :


mt0.0.0.2 0 0 0 2 10WT004639 500308C3A3300002 LTO IBM ULT3580-TD7 FA10 \\.\Tape0
lb0.1.0.2 0 1 0 2 000001324796_LLA 500308C3A3300002 LIBRARY IBM 3576-MTL 670G Changer0
mt0.0.0.3 0 0 0 3 10WT004649 500308C3A3300006 LTO IBM ULT3580-TD7 FA10 \\.\Tape1
lb0.1.0.3 0 1 0 3 000001324796_LLA 500308C3A3300006 LIBRARY IBM 3576-MTL 670G Changer0
mt0.0.0.4 0 0 0 4 10WT004639 500308C3A3300001 LTO IBM ULT3580-TD7 FA10 \\.\Tape0
lb0.1.0.4 0 1 0 4 000001324796_LLA 500308C3A3300001 LIBRARY IBM 3576-MTL 670G Changer0
mt0.0.0.5 0 0 0 5 10WT004649 500308C3A3300005 LTO IBM ULT3580-TD7 FA10 \\.\Tape1
lb0.1.0.5 0 1 0 5 000001324796_LLA 500308C3A3300005 LIBRARY IBM 3576-MTL 670G Changer0

please i need help
 
PREDATAR Control23

There are a number of possibilities here. First you probably have both tape drives defined with control paths. You only need on drive to act as the control path. Next you may have either zoned this incorrectly or you have control path failover enabled. Your tape library may or may not support this. Change the library so that only one control path is turned on. Reboot the library. Check your zoning.
 
PREDATAR Control23

Hello rallingham,

I want to inform you that the tape library is attached directly to the server without a SAN switch. So there is no zoning. As you recommed, I disactivated the second control path on the tape library and I have now this :
I have now two library and four drives ( in realty I have only one library and two drives):
capture2.png
and I have control path failover enabled.

I Library side: I have this

Capture.PNG

Capture 3.PNG

what should i do in this case and what are right library and drivers to define side tsm ?
 

Attachments

  • capture2.png
    capture2.png
    20.7 KB · Views: 3
  • Capture.PNG
    Capture.PNG
    12.7 KB · Views: 4
PREDATAR Control23

Hello,
I am not used to windows TSM Servers so I can't help with exact commands. I guess you want multipathing the library within TSM. One part is already installed: IBMtape. This software is capable of multipathing already but it also has to be licensed with the library itself. As in "my" environment (Linux Server with TSM 7.1.3, IBM TS3500 library and IBMtape (called lin_tape in Linux) I had to license multipathing within the library and add this code string also to IBMtape.conf. With cat /proc/scsi/IBMtape or cat /proc/scsi/IBMchanger (linux style, don't know about windows) I can see "Primary" and "Alternate" device paths. For the TSM Server it is absolutely fine to specify one Primary Path to the library. By the way you can just define only one path to a library (as you have seen already). Failover is done by the IBMtape driver.
Another possibility would be to "setopt SANdiscovery on", "Query san" and "perform libaction" (have a look at admin reference manual). If multipathing cannot be configured for any reason you would lose library in case of a malfunctioning drive. You still have another one, just perform libaction again. Or delete old path, add a new one. It normally is not too bad losing the libary for a short period of time.
Have a nice day,
Friedrich
 
PREDATAR Control23

hi, i try to search about primary and alternate path to the library using IBM TAPE DIAGNOSTIG TOOL but i get this error messege "no device opened"Sans titre3.png
 
PREDATAR Control23

Hi,
ok, open a device first and then try this command again. When I work with the diag utility I at least switch the drive offline in TSM. Open the path read-only in the diag utility. The path is the symbolic name, so \\.\Tape0 or \\.\Tape1 in your case. (Weird: the numbers in this text are so small... - looks as Tapeo but should be Tape'zero' ;-))
Friedrich
 
PREDATAR Control23

Few things to notice:
1. At the beginning of your post, it's really likely that you saw your drives and changer few times and not only once for each device as expected.
2. The tsmdlst utility does NOT(!) update itself after every hardware change and you have to reboot your server for it to get updated.

So now, restart your server and make sure you see each device only once using tsmdlst and define paths for each one like you did at the beginning.
 
PREDATAR Control23

If you only have 1 library, you only configure 1 path. If you want to use both path, then you must configure that with the driver. You configure one path in TSM and configure the driver for path failover.
Check page 155 and 156
https://www-01.ibm.com/support/docview.wss?uid=ssg1S7002972&aid=1

Same thing for tape drives, 1 path per device, and configure the driver according to the driver manual.
 
Top