Help Help this will get me Mad

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

Help Help this will get me Mad

Mr.os

Hi all

I'm trying to configure three virtual tape libraries, I tried every thing but still a got the same error, which is the changers are unable to detect their drives.

I configured IBM, STK, and HP

running #scan -changer under windows 2K8 STK and HP are unable to detect their drives, IBM is fine

Under NBU 7.1 the drives are detected as standalone drives
why?


my device.conf:

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

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

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

Drive: 53 CHANNEL: 1 TARGET: 00 LUN: 3
 Library ID: 50 Slot: 3
 Vendor identification: IBM
 Product identification: ULT3580-TD4
 Product revision level: 252D
 Unit serial number: 70000053
 NAA: 50:11:22:33:ab:1:00:3
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400

Drive: 54 CHANNEL: 1 TARGET: 00 LUN: 4
 Library ID: 50 Slot: 4
 Vendor identification: IBM
 Product identification: ULT3580-TD4
 Product revision level: 252D
 Unit serial number: 70000054
 NAA: 50:11:22:33:ab:1:00:4
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400

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



Library: 70 CHANNEL: 1 TARGET: 01 LUN: 00
 Vendor identification: STK
 Product identification: SL500
 Product revision level: 3.15
 Unit serial number: 90000070
 NAA: 70:11:22:33:ab:2:00:00
 Home directory: /opt/mhvtl
 Backoff: 400

Drive: 71 CHANNEL: 1 TARGET: 01 LUN: 01
 Library ID: 70 Slot: 01
 Vendor identification: STK
 Product identification: T10000A
 Product revision level: 1.27
 Unit serial number: 90000071
 NAA: 70:11:22:33:ab:2:00:01
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400

Drive: 72 CHANNEL: 1 TARGET: 01 LUN: 2
 Library ID: 70 Slot: 2
 Vendor identification: STK
 Product identification: T10000A
 Product revision level: 1.27
 Unit serial number: 90000072
 NAA: 70:11:22:33:ab:2:00:2
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400

Drive: 73 CHANNEL: 1 TARGET: 01 LUN: 3
 Library ID: 70 Slot: 3
 Vendor identification: STK
 Product identification: T10000A
 Product revision level: 1.27
 Unit serial number: 90000073
 NAA: 70:11:22:33:ab:2:00:3
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400

Drive: 74 CHANNEL: 1 TARGET: 01 LUN: 4
 Library ID: 70 Slot: 4
 Vendor identification: STK
 Product identification: T10000A
 Product revision level: 1.27
 Unit serial number: 90000074
 NAA: 70:11:22:33:ab:2:00:4
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400

Drive: 75 CHANNEL: 1 TARGET: 01 LUN: 5
 Library ID: 70 Slot: 5
 Vendor identification: STK
 Product identification: T10000A
 Product revision level: 1.27
 Unit serial number: 90000075
 NAA: 70:11:22:33:ab:2:00:5
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400


Library: 90 CHANNEL: 1 TARGET: 02 LUN: 00
 Vendor identification: HP
 Product identification: MSL6000 Series
 Product revision level: 2.00
 Unit serial number: 80000090
 NAA: 90:11:22:33:ab:3:00:00
 Home directory: /opt/mhvtl
 Backoff: 400

Drive: 91 CHANNEL: 1 TARGET: 02 LUN: 01
 Library ID: 90 Slot: 01
 Vendor identification: HP
 Product identification: Ultrium 2-SCSI
 Product revision level: N11G
 Unit serial number: 80000091
 NAA: 90:11:22:33:ab:3:00:01
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400

Drive: 92 CHANNEL: 1 TARGET: 02 LUN: 2
 Library ID: 90 Slot: 2
 Vendor identification: HP
 Product identification: Ultrium 2-SCSI
 Product revision level: N11G
 Unit serial number: 80000092
 NAA: 90:11:22:33:ab:3:00:2
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400

Drive: 93 CHANNEL: 1 TARGET: 02 LUN: 3
 Library ID: 90 Slot: 3
 Vendor identification: HP
 Product identification: Ultrium 2-SCSI
 Product revision level: N11G
 Unit serial number: 80000093
 NAA: 90:11:22:33:ab:3:00:3
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400

Drive: 94 CHANNEL: 1 TARGET: 02 LUN: 4
 Library ID: 90 Slot: 4
 Vendor identification: HP
 Product identification: Ultrium 2-SCSI
 Product revision level: N11G
 Unit serial number: 80000094
 NAA: 90:11:22:33:ab:3:00:4
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400

Drive: 95 CHANNEL: 1 TARGET: 02 LUN: 5
 Library ID: 90 Slot: 5
 Vendor identification: HP
 Product identification: Ultrium 2-SCSI
 Product revision level: N11G
 Unit serial number: 80000095
 NAA: 90:11:22:33:ab:3:00:5
 Compression: factor 1 enabled 1
 Compression type: lzo
 Backoff: 400





With my thanks
Reply | Threaded
Open this post in threaded view
|

Re: Help Help this will get me Mad

Mark Harvey
Administrator
Can you provide the outout of volmgr/scan please

Also 'vtlcmd -V'
Regards from Australia
Mark Harvey
Reply | Threaded
Open this post in threaded view
|

Re: Help Help this will get me Mad

Mr.os
Honored by your visit

Thanks for your work, this is a brilliant piece of software

Here is the output:

C:\Program Files\Veritas\Volmgr\bin>scan -changer
************************************************************
*********************** SDT_CHANGER ************************
************************************************************
------------------------------------------------------------
Device Name  : ""
Passthru Name: ""
Volume Header: ""
Port: 3; Bus: 0; Target: 0; LUN: 1
Inquiry    : "IBM     03584L32        4.02"
Vendor ID  : "IBM     "
Product ID : "03584L32        "
Product Rev: "4.02"
Serial Number: "70000050"
WWN          : ""
WWN Id Type  : 0
Device Identifier: "IBM     03584L32        70000050  "
Device Type    : SDT_CHANGER
NetBackup Robot Type: 8
Removable      : Yes
Device Supports: SCSI-5
Number of Drives : 5
Number of Slots  : 100
Number of Media Access Ports: 5
Drive 1 Serial Number      : "70000051"
Drive 2 Serial Number      : "70000052"
Drive 3 Serial Number      : "70000053"
Drive 4 Serial Number      : "70000054"
Drive 5 Serial Number      : "70000055"
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name  : "Changer0"
Passthru Name: "Changer0"
Volume Header: ""
Port: 3; Bus: 0; Target: 1; LUN: 1
Inquiry    : "STK     SL500           3.15"
Vendor ID  : "STK     "
Product ID : "SL500           "
Product Rev: "3.15"
Serial Number: "90000070"
WWN          : ""
WWN Id Type  : 0
Device Identifier: "STK     SL500           90000070  "
Device Type    : SDT_CHANGER
NetBackup Robot Type: 8
Removable      : Yes
Device Supports: SCSI-5
Number of Drives : 5
Number of Slots  : 100
Number of Media Access Ports: 5
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name  : "Changer1"
Passthru Name: "Changer1"
Volume Header: ""
Port: 3; Bus: 0; Target: 2; LUN: 1
Inquiry    : "HP      MSL6000 Series  2.00"
Vendor ID  : "HP      "
Product ID : "MSL6000 Series  "
Product Rev: "2.00"
Serial Number: "80000090"
WWN          : ""
WWN Id Type  : 0
Device Identifier: "HP      MSL6000 Series  80000090  "
Device Type    : SDT_CHANGER
NetBackup Robot Type: 8
Removable      : Yes
Device Supports: SCSI-5
Number of Drives : 5
Number of Slots  : 100
Number of Media Access Ports: 5
Flags : 0x0
Reason: 0x0

C:\Program Files\Veritas\Volmgr\bin>

+++++++++++++++++++++++++++++++

[root@HVTL2 ~]# vtlcmd -V
Version: 1.4.4-git-70086bf
[root@HVTL2 ~]#

With my thanks
Mr.os
Reply | Threaded
Open this post in threaded view
|

Re: Help Help this will get me Mad

Mark Harvey
Administrator
The lack of tape drives in the output generally means you haven't installed the tape drivers..

Check the device manager

Sent from my iPad

On Mar 23, 2013, at 22:01, "Mr.os [via MHVTL - Linux Virtual Tape Library - Community Forums]" <[hidden email]> wrote:

Honored by your visit

Thanks for your work, this is a brilliant piece of software

Here is the output:

C:\Program Files\Veritas\Volmgr\bin>scan -changer
************************************************************
*********************** SDT_CHANGER ************************
************************************************************
------------------------------------------------------------
Device Name  : ""
Passthru Name: ""
Volume Header: ""
Port: 3; Bus: 0; Target: 0; LUN: 1
Inquiry    : "IBM     03584L32        4.02"
Vendor ID  : "IBM     "
Product ID : "03584L32        "
Product Rev: "4.02"
Serial Number: "70000050"
WWN          : ""
WWN Id Type  : 0
Device Identifier: "IBM     03584L32        70000050  "
Device Type    : SDT_CHANGER
NetBackup Robot Type: 8
Removable      : Yes
Device Supports: SCSI-5
Number of Drives : 5
Number of Slots  : 100
Number of Media Access Ports: 5
Drive 1 Serial Number      : "70000051"
Drive 2 Serial Number      : "70000052"
Drive 3 Serial Number      : "70000053"
Drive 4 Serial Number      : "70000054"
Drive 5 Serial Number      : "70000055"
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name  : "Changer0"
Passthru Name: "Changer0"
Volume Header: ""
Port: 3; Bus: 0; Target: 1; LUN: 1
Inquiry    : "STK     SL500           3.15"
Vendor ID  : "STK     "
Product ID : "SL500           "
Product Rev: "3.15"
Serial Number: "90000070"
WWN          : ""
WWN Id Type  : 0
Device Identifier: "STK     SL500           90000070  "
Device Type    : SDT_CHANGER
NetBackup Robot Type: 8
Removable      : Yes
Device Supports: SCSI-5
Number of Drives : 5
Number of Slots  : 100
Number of Media Access Ports: 5
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name  : "Changer1"
Passthru Name: "Changer1"
Volume Header: ""
Port: 3; Bus: 0; Target: 2; LUN: 1
Inquiry    : "HP      MSL6000 Series  2.00"
Vendor ID  : "HP      "
Product ID : "MSL6000 Series  "
Product Rev: "2.00"
Serial Number: "80000090"
WWN          : ""
WWN Id Type  : 0
Device Identifier: "HP      MSL6000 Series  80000090  "
Device Type    : SDT_CHANGER
NetBackup Robot Type: 8
Removable      : Yes
Device Supports: SCSI-5
Number of Drives : 5
Number of Slots  : 100
Number of Media Access Ports: 5
Flags : 0x0
Reason: 0x0

C:\Program Files\Veritas\Volmgr\bin>

+++++++++++++++++++++++++++++++

[root@HVTL2 ~]# vtlcmd -V
Version: 1.4.4-git-70086bf
[root@HVTL2 ~]#

With my thanks
Mr.os



To start a new topic under MHVTL - Linux Virtual Tape Library - Community Forums, email [hidden email]
To unsubscribe from MHVTL - Linux Virtual Tape Library - Community Forums, click here.
NAML
Regards from Australia
Mark Harvey
Reply | Threaded
Open this post in threaded view
|

Re: Help Help this will get me Mad

Mr.os
Device drivers are installed and fine, here is an image for my device manager

The missing device is the IBM medium changer, but it is working fine, the other medium changers are installed as you see, but
they are not working

Screen shot for my device manager


Regards
Mr.os
Reply | Threaded
Open this post in threaded view
|

Re: Help Help this will get me Mad

Mark Harvey
Administrator
While not a 'fix' to the question why 'scan' does not pick up tape drives, the SL500 & MSL6000 Series  will not detect correctly with NetBackup..

I would recommend sticking with L180 or L700 library types.

Looking at NetBackup device_mappings file:

L180 & L700 look:
[CHANGER:STK L700]
VENDOR_ID=STK
PRODUCT_ID=L700
ROBOT_TYPE=8
LIBRARY_SERIALIZATION=2
and
[CHANGER:STK L180]
VENDOR_ID=STK
PRODUCT_ID=L180
ROBOT_TYPE=8
LIBRARY_SERIALIZATION=2
While the SL500:
[CHANGER:STK SL500]
VENDOR_ID=STK
PRODUCT_ID=SL500
ROBOT_TYPE=8
LIBRARY_SERIALIZATION=9
and
[CHANGER:HP MSL6000]
VENDOR_ID=HP
PRODUCT_ID=MSL6000
ROBOT_TYPE=8
LIBRARY_SERIALIZATION=3
i.e. Please pick changer entries which contain 'LIBRARY_SERIALIZATION=2'
I've not tested all these combinations.. But do know that L180 & L700 do work.

A quick examination to the output of 'scan' shows the tape device s/n missing.

e.g. Good:
Number of Drives : 5
Number of Slots  : 100
Number of Media Access Ports: 5
Drive 1 Serial Number      : "70000051"
Drive 2 Serial Number      : "70000052"
Drive 3 Serial Number      : "70000053"
Drive 4 Serial Number      : "70000054"
Drive 5 Serial Number      : "70000055"
Flags : 0x0
Bad:
Number of Drives : 5
Number of Slots  : 100
Number of Media Access Ports: 5
Flags : 0x0
Regards from Australia
Mark Harvey
Reply | Threaded
Open this post in threaded view
|

Re: Help Help this will get me Mad

Mark Harvey
Administrator
In reply to this post by Mr.os
Can you please paste the output of 'scan' please.
The previous instance you added the '-changer' switch which limits the output to just medium changers (i.e. ignore tape drives).

I would hazard a guess that all your tape drives are being detected by NetBackup, just as stand alone tape drives (for the reason stated in the above posting).
Regards from Australia
Mark Harvey
Reply | Threaded
Open this post in threaded view
|

Re: Help Help this will get me Mad

Mr.os
Hi Mark

I reconfigured my tape library based on your advice and now every thing is ticking nicely.

Thanks for your great software and help

before displaying the results, i want to let you know that, i upgraded my tape library to your latest release (1.4.7), and
I'm using (nia) web based interface for my configurations.

here are the result of:

 - scan:




- scan -changer



Using this configurations I was able to perform a BMR backup and restore after configuring volumes for IBM library
I will continue my testing and report any thing arise.

Thank you again
Mr.os