cancel
Showing results for 
Search instead for 
Did you mean: 

VTL issue

virgildb
Level 4
Partner

Hi,

I have just installed a virtual tape library on a linux machine, then installed NBU Media server on it.

NBU version 6.5 on both master/media servers and clients.

I've configured the tape library from the master server (Windows 2003) and when I'm trying to run a backup I'm continually getting "resource request failed(800)" error.

There are 4 drives installed and also a lot of tapes. Any help is much appreciated.

 

Thanks and regs,

Virgil.

27 REPLIES 27

virgildb
Level 4
Partner

Thanks a lot for your help.

In seems that I don't have the Vitural Tape Option key. I didn't know that I need a license in order to work with VTL in NBU 6.5.

 

Cheers

Virgil

markh794
Level 3
Employee Accredited Certified

The 'mhvtl' is designed not as a Virtual Tape Library, but to behave like a real library (as far as NetBackup is concerned).

i.e. It's primary design critera was to assist trouble-shooting NetBackup. Hence the mhvtl contains features like 'TapeAlert', cleaning tapes, Media Access Ports etc. which don't make sense for a commercial VTL.

Hence a VTL license is not strictly required, however you DO need a library & drive licenses.

If you would like me to confirm your license key(s) will work with the mhvtl, please forward a private email to 'mark_harvey@symantec.com' with your license key(s). (Please do NOT post your license keys to this forum).

Although I've not tested, I doubt the resource broker would grant the resources if the license key dis-allowed such functionality. As the job details clearly show the the resources granted, but the actual mount failed. This is typically as a result of an error returned from the tldcd -> robotic controller (one of the mhvtl daemons in this instance).

Cheers

Mark

markh794
Level 3
Employee Accredited Certified

For anybody reading this thread in the future, a status update.

The backups were always failing with "resource request failed(800)"

The license key in use was an expired Time Limited Demo license.

Note: You can always check the validity of a license key by using "bpminlicense -verbose" command.

virgildb
Level 4
Partner

Hi Mark,

I've updated both master (W2003) and media (Suse Linux) servers to NBU7 and I have the same identical issue.

 

Cheers,

Virgil.

markh794
Level 3
Employee Accredited Certified

Hello Virgil,

When you say you have the same identical issue, I assume you now have a new temporary NetBackup license key that is valid.

From the VTL side of things, please :
- edit the /etc/mhvtl/mhvtl.conf and enable VERBOSE = 3
- Re-start the daemons

Re-test and create the fault symptoms using NetBackup.

Can you then supply me with:
 /var/log/messages

The output of the following commands (I still have not seen them)

/usr/openv/volmgr/bin/tpconfig -d
/usr/openv/volmgr/bin/vmoprcmd -d
/usr/openv/volmgr/bin/vmquery -a -j
/usr/openv/volmgr/bin/bpstulist -U

 

Cheers

virgildb
Level 4
Partner

Hi Mark,

Sorry to come back to you so late, but I have been involved in other projects and let this apart. :)

Yes, I have a temporary license available until January 2012.

From within the NBU console, robot diagnostic is successful but the drive diagnostics fail for all the drives with "unable to allocate resources for diagnostics" and all the backups fail with status 96. Also notice that the robtest works all right.

Please find attached the messages log and the output for the requested commands.

Thanks a lot for your help. Cheers.

Brad_Brueske
Level 2
Partner Accredited

I see a couple of things that need to change.

The storage units are defined for one drive a piece when there are 2 of them:


Label:                HCART-STU1
Storage Unit Type:    Media Manager
Host Connection:      nbu-media
Number of Drives:     1
On Demand Only:       no
Max MPX/drive:        1
Density:              hcart - 1/2 Inch Cartridge
Robot Type/Number:    TLD / 0
Max Fragment Size:    1048575 MB

Label:                HCART2-STU1
Storage Unit Type:    Media Manager
Host Connection:      nbu-media
Number of Drives:     1
On Demand Only:       no
Max MPX/drive:        1
Density:              hcart2 - 1/2 Inch Cartridge 2
Robot Type/Number:    TLD / 0
Max Fragment Size:    1048575 MB

 

EX:

****************************************************************************
3   IBM.ULT3580-TD4.003  hcart  TLD(0)  DRIVE=3
      /dev/nst2                                                        UP
5   IBM.ULT3580-TD5.000  hcart2 TLD(0)  DRIVE=2
      /dev/nst1                                                        UP
6   IBM.ULT3580-TD4.005  hcart  TLD(0)  DRIVE=4
      /dev/nst3                                                        UP
7   IBM.ULT3580-TD5.001  hcart2 TLD(0)  DRIVE=1
      /dev/nst0                                                        UP

Change the # of drives to be 2 for each storage unit.

The real problem though is that your media is defined as DLT and the drives are defined as hcart and hcart2.  These do not match your media type so, you receive the status 96 errors.  See below.

VOLUME5.0 1001L4 - DLT E01001L4 nbu-media TLD 0 1 - 000_00000_TLD Scratch 0 0 - 1302247003 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1002L4 - DLT E01002L4 nbu-media TLD 0 2 - 000_00000_TLD Scratch 0 0 - 1302247003 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1003L4 - DLT E01003L4 nbu-media TLD 0 3 - 000_00000_TLD Scratch 0 0 - 1302247003 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1004L4 - DLT E01004L4 nbu-media TLD 0 4 - 000_00000_TLD Scratch 0 0 - 1302247003 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1005L4 - DLT E01005L4 nbu-media TLD 0 5 - 000_00000_TLD Scratch 0 0 - 1302247003 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1006L4 - DLT E01006L4 nbu-media TLD 0 6 - 000_00000_TLD Scratch 0 0 - 1302247003 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1007L4 - DLT E01007L4 nbu-media TLD 0 7 - 000_00000_TLD Scratch 0 0 - 1302247003 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1008L4 - DLT E01008L4 nbu-media TLD 0 8 - 000_00000_TLD Scratch 0 0 - 1302247003 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1009L4 - DLT E01009L4 nbu-media TLD 0 9 - 000_00000_TLD Scratch 0 0 - 1302247003 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1010L4 - DLT E01010L4 nbu-media TLD 0 10 - 000_00000_TLD Scratch 0 0 - 1302247003 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1011L4 - DLT E01011L4 nbu-media TLD 0 11 - 000_00000_TLD Scratch 0 0 - 1302247003 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1012L4 - DLT E01012L4 nbu-media TLD 0 12 - 000_00000_TLD NetBackup 0 0 - 1302247004 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1013L4 - DLT E01013L4 nbu-media TLD 0 13 - 000_00000_TLD NetBackup 0 0 - 1302247004 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1014L4 - DLT E01014L4 nbu-media TLD 0 14 - 000_00000_TLD NetBackup 0 0 - 1302247004 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1015L4 - DLT E01015L4 nbu-media TLD 0 15 - 000_00000_TLD NetBackup 0 0 - 1302247004 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1016L4 - DLT E01016L4 nbu-media TLD 0 16 - 000_00000_TLD NetBackup 0 0 - 1302247004 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1017L4 - DLT E01017L4 nbu-media TLD 0 17 - 000_00000_TLD NetBackup 0 0 - 1302247004 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1018L4 - DLT E01018L4 nbu-media TLD 0 18 - 000_00000_TLD NetBackup 0 0 - 1302247004 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1019L4 - DLT E01019L4 nbu-media TLD 0 19 - 000_00000_TLD NetBackup 0 0 - 1302247004 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1020L4 - DLT E01020L4 nbu-media TLD 0 20 - 000_00000_TLD NetBackup 0 0 - 1302247004 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1030L5 - DLT F01030L5 nbu-media TLD 0 30 - 000_00000_TLD NetBackup 0 0 - 1302247004 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1031L5 - DLT F01031L5 nbu-media TLD 0 31 - 000_00000_TLD NetBackup 0 0 - 1302247004 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1032L5 - DLT F01032L5 nbu-media TLD 0 32 - 000_00000_TLD NetBackup 0 0 - 1302247004 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1033L5 - DLT F01033L5 nbu-media TLD 0 33 - 000_00000_TLD NetBackup 0 0 - 1302247004 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1034L5 - DLT F01034L5 nbu-media TLD 0 34 - 000_00000_TLD NetBackup 0 0 - 1302247004 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1035L5 - DLT F01035L5 nbu-media TLD 0 35 - 000_00000_TLD NetBackup 0 0 - 1302247004 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1036L5 - DLT F01036L5 nbu-media TLD 0 36 - 000_00000_TLD NetBackup 0 0 - 1302247004 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1037L5 - DLT F01037L5 nbu-media TLD 0 37 - 000_00000_TLD NetBackup 0 0 - 1302247004 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1038L5 - DLT F01038L5 nbu-media TLD 0 38 - 000_00000_TLD NetBackup 0 0 - 1302247004 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 1039L5 - DLT F01039L5 nbu-media TLD 0 39 - 000_00000_TLD NetBackup 0 0 - 1302247004 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 N101L4 - DLT CLN101L4 nbu-media TLD 0 22 - 000_00000_TLD None 0 0 - 1302247004 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager
VOLUME5.0 N102L5 - DLT CLN102L5 nbu-media TLD 0 23 - 000_00000_TLD None 0 0 - 1302247004 0 0 0 0 0 - 0 0 - - 50 - Added by Media Manager

There are a couple of ways this can be fixed.  Re-inventory the L4 media as hcart media and the L5 media as hcart2.

CLN101L4 -- also needs to be added a hcart cleaning tape versus a regular data tape, tape CLN102L5 needs to be added as a hcart 2 cleaning tape.

The other way would be to update the drive types to DLT instead of hcart and hcart2, if you go this route the storage units would need to be changed as well.

Hope this helps, questions let me know...

virgildb
Level 4
Partner