HBAAPI vendor library failed to load or is missing

Jpro409

ADSM.ORG Member
Joined
Oct 24, 2007
Messages
43
Reaction score
0
Points
0
Hi All,

We are seeing the following errors below, when we check in new tapes as scratch.

The tapes were never used by TSM, as in, just out the box.

Running W2K3 SP1
TSM Server 5.3.0.0
Library: 3584
Number of drives: 12

ANR1792W HBAAPI vendor library failed to load or is missing.
ANR8963E Unable to find path to match the serial number defined for drive DRIVE03 in library 3584LIB.
ANR8779E Unable to open drive \\.\Tape2, error number=5.



Note: After I saw these errors I did a Q path & Q drive and all drives are online.

Thank You
 
Hi,

TSM has a funcionality of "SANDISCOVERY" - it tries to match drive SN from the device to the SN in the device definition - so it can change the device path in TSM in case its device name on the SAN changes.
This requires vendor specific HBAAPI library.
If you have Qlogic HBA, install latest SANSurfer (HBAAPI library comes with it), if you have Emulex, check compatibility page
http://www-1.ibm.com/support/docview.wss?uid=swg21193154
and download the HBAAPI from Emulex

Harry

P.S. seems your path is not right now ... what tsmdlst.exe says? Or TSM management console? Is there \\.\Tape2 device? Maybe you should use mtX.Y.Z.U naming.
 
Last edited:
Quick question:

Are you talking about the HBA's on the TSM Server? If so, we have four (4) Qlogic FC Adapters (QLA2340) on our TSM Server.

We currently have 12 fiber connected tape drives (IBM ULT3580-TD2 SCSI Sequential Device) connected to a SAN switch, which is then zoned.
 
Last edited:
Yes, each tape drive unit has it's own, "tape Symbolic Name". Tape drive one (1) is called \\.\Tape1, Tape drive two (2) is called \\.\Tape2, and all the way down the list to Tape drive 12.

I am kind of new to TSM, what does tsmdlst.exe do?
 
Hi,

tsmdlst.exe lists all devices with names and serial numbers - so you can match real device to device in TSM.
\\.\TapeX is a windows like naming convention - in TSM you can mostly see the mt (lb for changers) convention - but both conventions work.
Question is whether \\.\Tape2 is the same \\.\Tape2 as it was before - during reboot or device enumeration it can change - so that is why you want SANDISCOVERY operational.

One more thing - on Windows - be sure Removable Storage service is stopped

Harry
 
Thanks for the information.....

The Removable Storage service is started on the TSM Server, why should the service be stopped?


Thank You

P.S Every time I run tsmdlst.exe I get the following below:

Computer Name: TSM SERVER NAME
TSM Device Driver: Not Running (TSM information may not be accurate)
 
Last edited:
But what should I do if I have HP SC44Ge HBA and get
"ANR1792W HBAAPI vendor library failed to load or is missing."
?

Thanks.
 
Yes, it is SAS. Ok... but i have some problem...

I have 1x8 G2 Autoloader Lib with LTO Ultrum4 drive. I can see them in my Managament Console. Also I have 5 tapes, one of them is loaded to drive. All tapes are in Media Pools - Free - LTO Ultrium.


Also in Media Pools I have CHANGER0 media pool, where is marked that it can draw/return media to free media pool.

I am running TSM device driver, but tsmdlst.exe show that "TSMscsi - Not Running

No HBA were detected. Reason: Unable to load HBA vendor library".

When i try to make backup directly to tape, in GUI BackupTool, it asks me "Add LTO Ultrum media to the Free Media Pool or to the media pool Tivoli Storage Manager\Server1\CHANGER0" - buttons Complete and Refuse. After Complete button pressing, BAckupTools tryes to perfrom backup - "Waiting for media...". And so it tryes to do this, untill I closed the window.

I am not sure but I suppose that the following error lines are connected with my problem:

ANR8836E Function AllocateNtmsMedia failed in Mount Volume processing, return 1460, call 1. (SESSION: 4)
ANR8313E Volume SCRTCH is not present in library CHANGER0. (SESSION: 4)
ANR1400W Mount request denied for volume SCRTCH - mount canceled. (SESSION: 4)


What can be done?

Thanks.

Added: Interesting that in ISConsole, under Storage Devices I see CHANGER0, but without any Library and Drive Paths.
tsmdlst.exe show me on tape driver, but no the lib.
 
Last edited:
Hi,

I see you are using Windows RSM - although it may work, it can bring a lot of problems too.

I recommend you to disable Windows RSM, install TSM device drivers, assign them to your changer and drive in Windows Device Manager (Update driver and select TSM device driver) and then redefine the library - delete the original one, define it again (libtype=SCSI), define path to the changer (should be visible undet TSM MMC or using tsmdlst), then define drive in the library and finalize it with the path to drive definition.

Will work :)

Harry
 
Harry, the point is that in tsmdlst.exe i can't see my lib. There is only tape drive.
 
Wow! it helped me!

But my lib is in Uknown state. What can I do?
Health Monitor is working fine.
 
Hi,

sorry, I cannot help you with that - never was brave enough to explore the world of ISC.
Steps now should be:
checking actlog, if the definitions went OK (and you have all serial numbers and elements updated) - q act
checking the library, drives and paths
q library f=d
q drive f=d
q path f=d

running audit library - audit library XYZ checklabel=barcode

checking the tapes in (or labeling them, if they are new) using
checkin libvol (or label libvol) command - see help for their syntax

Harry
 
I got my lib to Good state, the backup pool in my management class was not defined.

But when i try to backup directly to tape, activity log shows "ANR1400rW Scratch volume mount request denied - mount failed".
 
Hi,

need the actlog part from the beginnig of the backup to the failure.
Then output of:
q libr f=d
q dri f=d
q path f=d
q libvol
q devc f=d

Without it all is just a guess ...

Harry
 
Session established with server TSM-SERVER: Windows
Server Version 5, Release 5, Level 0.0
Server date/time: 02/19/2009 16:16:15 Last access: 02/19/2009 16:06:12

ANS8000I Server command: 'q libr f=d'

Library Name: LB5.1.0.3
Library Type: SCSI
ACS Id:
Private Category:
Scratch Category:
WORM Scratch Category:
External Manager:
RSM Media Type:
Shared: No
LanFree:
ObeyMountRetention:
Primary Library Manager:
WWN:
Serial Number: MXA8421041
AutoLabel: Yes
Reset Drives: No
Last Update by (administrator): ADMIN
Last Update Date/Time: 02/19/2009 15:16:47
[FONT=&quot] ANS8002I Highest return code was 0[/FONT]




Session established with server TSM-SERVER: Windows
Server Version 5, Release 5, Level 0.0
Server date/time: 02/19/2009 16:16:39 Last access: 02/19/2009 16:16:15

ANS8000I Server command: 'q dri f=d'

Library Name: LB5.1.0.3
Drive Name: MT5.0.0.3
Device Type: LTO
On-Line: Yes
Read Formats: ULTRIUM4C,ULTRIUM4,ULTRIUM3C,ULTRIUM3,ULTRIUM2C,ULTRIUM2
Write Formats: ULTRIUM4C,ULTRIUM4,ULTRIUM3C,ULTRIUM3
Element: 1
Drive State: EMPTY
Volume Name:
Allocated to:
WWN:
Serial Number: HU1836360W
Last Update by (administrator): ADMIN
Last Update Date/Time: 02/19/2009 15:17:47
Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE


[FONT=&quot] ANS8002I Highest return code was 0[/FONT]




Session established with server TSM-SERVER: Windows
Server Version 5, Release 5, Level 0.0
Server date/time: 02/19/2009 16:17:35 Last access: 02/19/2009 16:16:15

ANS8000I Server command: 'q path f=d'

Source Name: TSM-SERVER
Source Type: SERVER
Destination Name: LB5.1.0.3
Destination Type: LIBRARY
Library:
Node Name:
Device: lb5.1.0.3
External Manager:
LUN:
Initiator: 0
Directory:
On-Line: Yes
Last Update by (administrator): ADMIN
Last Update Date/Time: 02/19/2009 15:16:47

Source Name: TSM-SERVER
Source Type: SERVER
Destination Name: MT5.0.0.3
Destination Type: DRIVE
Library: LB5.1.0.3
Node Name:
Device: mt5.0.0.3
External Manager:
LUN:
Initiator: 0
Directory:
On-Line: Yes
Last Update by (administrator): ADMIN
Last Update Date/Time: 02/19/2009 15:17:47

[FONT=&quot] ANS8002I Highest return code was 0.[/FONT]




Session established with server TSM-SERVER: Windows
Server Version 5, Release 5, Level 0.0
Server date/time: 02/19/2009 16:17:47 Last access: 02/19/2009 16:16:15
 
ANS8000I Server command: 'q libvol'
ANR2034E QUERY LIBVOLUME: No match found using this criteria.
ANS8001I Return code 11.

[FONT=&quot] ANS8002I Highest return code was 11[/FONT]




Session established with server TSM-SERVER: Windows
Server Version 5, Release 5, Level 0.0
Server date/time: 02/19/2009 16:18:03 Last access: 02/19/2009 16:16:15

ANS8000I Server command: 'q devc f=d'

Device Class Name: DISK
Device Access Strategy: Random
Storage Pool Count: 4
Device Type:
Format:
Est/Max Capacity (MB):
Mount Limit:
Mount Wait (min):
Mount Retention (min):
Label Prefix:
Drive Letter:
Library:
Directory:
Server Name:
Retry Period:
Retry Interval:
Twosided:
Shared:
High-level Address:
Minimum Capacity:
WORM: No
Drive Encryption:
Scaled Capacity:
Last Update by (administrator):
Last Update Date/Time: 01/26/2009 15:14:25

Device Class Name: FILEDEV5
Device Access Strategy: Sequential
Storage Pool Count: 0
Device Type: FILE
Format: DRIVE
Est/Max Capacity (MB): 25.0
Mount Limit: 4
Mount Wait (min):
Mount Retention (min):
Label Prefix:
Drive Letter:
Library: FILEDEV5
Directory: C:\TSMDATA\SERVER1
Server Name:
Retry Period:
Retry Interval:
Twosided:
Shared: Yes
High-level Address:
Minimum Capacity:
WORM: No
Drive Encryption:
Scaled Capacity:
Last Update by (administrator): ADMIN
Last Update Date/Time: 01/26/2009 15:18:54

Device Class Name: FILE_CLASS_2
Device Access Strategy: Sequential
Storage Pool Count: 1
Device Type: FILE
Format: DRIVE
Est/Max Capacity (MB): 2,048.0
Mount Limit: 20
Mount Wait (min):
Mount Retention (min):
Label Prefix:
Drive Letter:
Library:
Directory: \\10.153.15.244\TESTING
Server Name:
Retry Period:
Retry Interval:
Twosided:
Shared:
High-level Address:
Minimum Capacity:
WORM: No
Drive Encryption:
Scaled Capacity:
Last Update by (administrator): ADMIN
Last Update Date/Time: 02/02/2009 09:50:54

Device Class Name: LTOCLASS2
Device Access Strategy: Sequential
Storage Pool Count: 1
Device Type: LTO
Format: DRIVE
Est/Max Capacity (MB):
Mount Limit: 1
Mount Wait (min): 10
Mount Retention (min): 5
Label Prefix: ADSM
Drive Letter:
Library: CHANGER0
Directory:
Server Name:
Retry Period:
Retry Interval:
Twosided:
Shared:
High-level Address:
Minimum Capacity:
WORM: No
Drive Encryption: Allow
Scaled Capacity:
Last Update by (administrator): ADMIN
Last Update Date/Time: 02/19/2009 15:01:49


ANS8002I Highest return code was 0.
 
Back
Top