Veritas-bu

Re: [Veritas-bu] Media ID / Barcode rules

2010-01-06 16:09:11
Subject: Re: [Veritas-bu] Media ID / Barcode rules
From: "smpt" <smpt1 AT peppas DOT gr>
To: "'Don Peterson'" <don_peterson AT symantec DOT com>, <veritas-bu AT mailman.eng.auburn DOT edu>
Date: Wed, 6 Jan 2010 23:09:10 +0200
Very useful,
Thank you

-----Original Message-----
From: veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of Don 
Peterson
Sent: Wednesday, January 06, 2010 10:57 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] Media ID / Barcode rules

In NBU 6.5.3 and above the following fix to help resolve this issue was
added. This allows NBU to receive two different bar codes from different
libraries, yet understand they are from the same media id.
 
From the command line you can specify -fix_barcode_suffix or if you are
using the GUI you will need to add a touch file - 
/usr/openv/volmgr/database/FIX_BARCODE_SUFFIX
 
The recognition of matching barcodes is based on two things:
1.)   the barcodes must be at least 6 characters in length and identical
except the last two characters
2.)   the media id generation settings on the library must match those on
the old library such that the media id generated based on the new barcode is
the same media id as is in the database.  So if their media ids contain the
"L1", "L2" etc suffix, this fix won't work for them."
 
That said, we have discovered a problem with this fix that causes problems
when new media are added using the new library.  An EEB to address that is
available by quoting Etrack 1486729 if you open a support case.  

Don Peterson
Principal Product Manager, NetBackup
Information Management Group
Symantec Corporation
_________________________________

Email: don_peterson AT symantec DOT com
                                        




-----Original Message-----
From: veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of
veritas-bu-request AT mailman.eng.auburn DOT edu
Sent: Wednesday, January 06, 2010 2:24 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: Veritas-bu Digest, Vol 45, Issue 3

Send Veritas-bu mailing list submissions to
        veritas-bu AT mailman.eng.auburn DOT edu

To subscribe or unsubscribe via the World Wide Web, visit
        http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
or, via email, send a message with subject or body 'help' to
        veritas-bu-request AT mailman.eng.auburn DOT edu

You can reach the person managing the list at
        veritas-bu-owner AT mailman.eng.auburn DOT edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Veritas-bu digest..."


Today's Topics:

   1. Re: Media ID / Barcode rules (BeDour, Wayne)
   2. Re: Media ID / Barcode rules (BeDour, Wayne)
   3. Re: Media ID / Barcode rules (smpt)


----------------------------------------------------------------------

Message: 1
Date: Wed, 6 Jan 2010 09:27:58 -0500
From: "BeDour, Wayne" <WBedour AT lear DOT com>
Subject: Re: [Veritas-bu] Media ID / Barcode rules
To: "smpt" <smpt1 AT peppas DOT gr>,    <veritas-bu AT mailman.eng.auburn DOT 
edu>
Message-ID:
        
<EC5487FB7167E14DA1C841F7FF47878B05E7A5D7 AT USMISFL-EXM3.corp.lear DOT com>
Content-Type: text/plain; charset="us-ascii"

That was it, thanks....

 

Wayne BeDour 
Unix System Administrator 
PH: 248-447-1739 
Internet: wbedour AT lear DOT com 

________________________________

From: smpt [mailto:smpt1 AT peppas DOT gr] 
Sent: Wednesday, January 06, 2010 8:14 AM
To: BeDour, Wayne; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Media ID / Barcode rules

 

This is because your old library was giving you only the first 6
characters of the barcode. All new libraries gives you all 8 barcode
characters . To change this, go to your library GUI and logon as
administrator.

Go to configuration -> system and change the value of "Barcode Label
Length Reported To Host  from 8 to 6.

Be sure that "Barcode Label Alignment Reported To Host" is left.

 

If you do not want to change the library, you have to configure media ID
generation and not the barcode rules. But you have to import all tapes
with hand and right click them and select update barcode.

 

 stefanos

 

From: veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of BeDour,
Wayne
Sent: Wednesday, January 06, 2010 2:48 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Media ID / Barcode rules

 

Our environment, NBU 6.5.4 running on HP-UX 11-31 with a Data Domain VTL
and newly attached MSL6060 tape library that replaced a SureStore 20/700
library.  I don't think we had any barcode rules set up for anything but
cleaning cartridges when we were using the 20/700 library.  The physical
barcodes on the tapes are for example 000001L1 and the last 2 characters
were dropped leaving 000001 as the Media ID and Barcode.  Now that the
MSL6060 library is connected when I do an inventory it gives me 0001L1
for a Media ID and 000001L1 for a Barcode.  I'm going through the manual
and getting confused on how to accomplish dropping the last 2 characters
(L1) and using only the first 6 (000001) for both Media ID and Barcode.
Can anyone let me know or at least point me in the right direction to
accomplish this?

Thanks in advance...

Wayne BeDour

Unix System Administrator

PH: 248-447-1739

Internet: wbedour AT lear DOT com <mailto:wbedour AT lear DOT com> 

**********************
** LEGAL DISCLAIMER **
**********************
 
This E-mail message and any attachments may contain 
legally privileged, confidential or proprietary 
information. If you are not the intended recipient(s),
or the employee or agent responsible for delivery of 
this message to the intended recipient(s), you are 
hereby notified that any dissemination, distribution 
or copying of this E-mail message is strictly 
prohibited. If you have received this message in 
error, please immediately notify the sender and 
delete this E-mail message from your computer.

 


**********************
** LEGAL DISCLAIMER **
**********************

This E-mail message and any attachments may contain 
legally privileged, confidential or proprietary 
information. If you are not the intended recipient(s),
or the employee or agent responsible for delivery of 
this message to the intended recipient(s), you are 
hereby notified that any dissemination, distribution 
or copying of this E-mail message is strictly 
prohibited. If you have received this message in 
error, please immediately notify the sender and 
delete this E-mail message from your computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.eng.auburn.edu/pipermail/veritas-bu/attachments/20100106/8034
199c/attachment-0001.htm 

------------------------------

Message: 2
Date: Wed, 6 Jan 2010 14:02:05 -0500
From: "BeDour, Wayne" <WBedour AT lear DOT com>
Subject: Re: [Veritas-bu] Media ID / Barcode rules
To: "smpt" <smpt1 AT peppas DOT gr>,    <veritas-bu AT mailman.eng.auburn DOT 
edu>
Message-ID:
        
<EC5487FB7167E14DA1C841F7FF47878B05EBBA4F AT USMISFL-EXM3.corp.lear DOT com>
Content-Type: text/plain; charset="us-ascii"

Well I thought that took care of the issue but there is still a problem.
I ran an inventory on my tapes after changing the Barcode Label Length
to 6 and everything looked good.  I tried to run a duplication using the
new library and tapes with the 6 character bar codes and it couldn't
find any media and gave me a 96 error.  Note, the tapes I'm trying to
use are scratch tapes that from the old library that are cataloged in
NetBackup.  Basically all that's been done is the tape library has been
changed along with the addition of a Data Domain VTL.   In trying to
debug this, I changed the Barcode Label Length back to 8, reran the
inventory, kicked off my dupe job and got the output below.  The D11230
is the source of the duplication and it says it is mounting 0717L1 which
is the Media ID for barcode  000717L1  then saying it found 000717 in
the drive.  The Media ID and barcode are getting shifted both ways, how
do I get this to use only the leftmost 6 characters and recognize them
when I kick off a job?  Anyone have any idea what's going on and what I
can do to take care of this????

 

01/06/2010 13:48:57 - begin Duplicate

01/06/2010 13:48:57 - requesting resource yos_sam1-hcart2-robot-tld-0

01/06/2010 13:48:57 - requesting resource D11230

01/06/2010 13:48:57 - reserving resource D11230

01/06/2010 13:48:58 - resource D11230 reserved

01/06/2010 13:48:58 - granted resource  0717L1

01/06/2010 13:48:58 - granted resource  HP.ULTRIUM2-SCSI.003

01/06/2010 13:48:58 - granted resource  yos_sam1-hcart2-robot-tld-0

01/06/2010 13:48:58 - granted resource  D11230

01/06/2010 13:48:58 - granted resource  IBM.ULTRIUM-TD1.006

01/06/2010 13:49:05 - started process bptm (pid=25248)

01/06/2010 13:49:15 - started process bptm (pid=25394)

01/06/2010 13:49:17 - started process bptm (pid=25248)

01/06/2010 13:49:17 - mounting 0717L1

01/06/2010 13:49:18 - started process bptm (pid=25394)

01/06/2010 13:49:18 - mounting D11230

01/06/2010 13:49:29 - mounted D11230; mount time: 0:00:11

01/06/2010 13:49:29 - positioning D11230 to file 1

01/06/2010 13:49:29 - positioned D11230; position time: 0:00:00

01/06/2010 13:49:30 - begin reading

01/06/2010 13:50:11 - Error bptm (pid=25248) incorrect media found in
drive index 14, expected 0717L1, found 000717, FREEZING 0717L1

01/06/2010 13:50:11 - current media 0717L1 complete, requesting next
media Any

 

 

Thanks 

Wayne BeDour 
Unix System Administrator 
PH: 248-447-1739 
Internet: wbedour AT lear DOT com 

________________________________

From: smpt [mailto:smpt1 AT peppas DOT gr] 
Sent: Wednesday, January 06, 2010 8:14 AM
To: BeDour, Wayne; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Media ID / Barcode rules

 

This is because your old library was giving you only the first 6
characters of the barcode. All new libraries gives you all 8 barcode
characters . To change this, go to your library GUI and logon as
administrator.

Go to configuration -> system and change the value of "Barcode Label
Length Reported To Host  from 8 to 6.

Be sure that "Barcode Label Alignment Reported To Host" is left.

 

If you do not want to change the library, you have to configure media ID
generation and not the barcode rules. But you have to import all tapes
with hand and right click them and select update barcode.

 

 stefanos

 

From: veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of BeDour,
Wayne
Sent: Wednesday, January 06, 2010 2:48 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Media ID / Barcode rules

 

Our environment, NBU 6.5.4 running on HP-UX 11-31 with a Data Domain VTL
and newly attached MSL6060 tape library that replaced a SureStore 20/700
library.  I don't think we had any barcode rules set up for anything but
cleaning cartridges when we were using the 20/700 library.  The physical
barcodes on the tapes are for example 000001L1 and the last 2 characters
were dropped leaving 000001 as the Media ID and Barcode.  Now that the
MSL6060 library is connected when I do an inventory it gives me 0001L1
for a Media ID and 000001L1 for a Barcode.  I'm going through the manual
and getting confused on how to accomplish dropping the last 2 characters
(L1) and using only the first 6 (000001) for both Media ID and Barcode.
Can anyone let me know or at least point me in the right direction to
accomplish this?

Thanks in advance...

Wayne BeDour

Unix System Administrator

PH: 248-447-1739

Internet: wbedour AT lear DOT com <mailto:wbedour AT lear DOT com> 

**********************
** LEGAL DISCLAIMER **
**********************
 
This E-mail message and any attachments may contain 
legally privileged, confidential or proprietary 
information. If you are not the intended recipient(s),
or the employee or agent responsible for delivery of 
this message to the intended recipient(s), you are 
hereby notified that any dissemination, distribution 
or copying of this E-mail message is strictly 
prohibited. If you have received this message in 
error, please immediately notify the sender and 
delete this E-mail message from your computer.

 


**********************
** LEGAL DISCLAIMER **
**********************

This E-mail message and any attachments may contain 
legally privileged, confidential or proprietary 
information. If you are not the intended recipient(s),
or the employee or agent responsible for delivery of 
this message to the intended recipient(s), you are 
hereby notified that any dissemination, distribution 
or copying of this E-mail message is strictly 
prohibited. If you have received this message in 
error, please immediately notify the sender and 
delete this E-mail message from your computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.eng.auburn.edu/pipermail/veritas-bu/attachments/20100106/2736
7d6a/attachment-0001.htm 

------------------------------

Message: 3
Date: Wed, 6 Jan 2010 22:24:19 +0200
From: "smpt" <smpt1 AT peppas DOT gr>
Subject: Re: [Veritas-bu] Media ID / Barcode rules
To: "'BeDour, Wayne'" <WBedour AT lear DOT com>,
        <veritas-bu AT mailman.eng.auburn DOT edu>
Message-ID: <000901ca8f0e$3a3ab300$aeb01900$@gr>
Content-Type: text/plain; charset="us-ascii"

Ok, move back the characters of the library to 6 and delete from netbackup
all tapes that are at  the scratch pool and all tapes that you try to use
during this period (like 000717L1). Be sour that no backups are written to
the tapes you will delete. If you are not sour about the frozen tapes just
remove them from the library.

 After you delete the tapes  rerun the inventory and be sour that you have
tape ID 000717 and barcode 000717 (NOT with L1).

 

 

From: BeDour, Wayne [mailto:WBedour AT lear DOT com] 
Sent: Wednesday, January 06, 2010 9:02 PM
To: smpt; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Media ID / Barcode rules

 

Well I thought that took care of the issue but there is still a problem.  I
ran an inventory on my tapes after changing the Barcode Label Length to 6
and everything looked good.  I tried to run a duplication using the new
library and tapes with the 6 character bar codes and it couldn't find any
media and gave me a 96 error.  Note, the tapes I'm trying to use are scratch
tapes that from the old library that are cataloged in NetBackup.  Basically
all that's been done is the tape library has been changed along with the
addition of a Data Domain VTL.   In trying to debug this, I changed the
Barcode Label Length back to 8, reran the inventory, kicked off my dupe job
and got the output below.  The D11230 is the source of the duplication and
it says it is mounting 0717L1 which is the Media ID for barcode  000717L1
then saying it found 000717 in the drive.  The Media ID and barcode are
getting shifted both ways, how do I get this to use only the leftmost 6
characters and recognize them when I kick off a job?  Anyone have any idea
what's going on and what I can do to take care of this????

 

01/06/2010 13:48:57 - begin Duplicate

01/06/2010 13:48:57 - requesting resource yos_sam1-hcart2-robot-tld-0

01/06/2010 13:48:57 - requesting resource D11230

01/06/2010 13:48:57 - reserving resource D11230

01/06/2010 13:48:58 - resource D11230 reserved

01/06/2010 13:48:58 - granted resource  0717L1

01/06/2010 13:48:58 - granted resource  HP.ULTRIUM2-SCSI.003

01/06/2010 13:48:58 - granted resource  yos_sam1-hcart2-robot-tld-0

01/06/2010 13:48:58 - granted resource  D11230

01/06/2010 13:48:58 - granted resource  IBM.ULTRIUM-TD1.006

01/06/2010 13:49:05 - started process bptm (pid=25248)

01/06/2010 13:49:15 - started process bptm (pid=25394)

01/06/2010 13:49:17 - started process bptm (pid=25248)

01/06/2010 13:49:17 - mounting 0717L1

01/06/2010 13:49:18 - started process bptm (pid=25394)

01/06/2010 13:49:18 - mounting D11230

01/06/2010 13:49:29 - mounted D11230; mount time: 0:00:11

01/06/2010 13:49:29 - positioning D11230 to file 1

01/06/2010 13:49:29 - positioned D11230; position time: 0:00:00

01/06/2010 13:49:30 - begin reading

01/06/2010 13:50:11 - Error bptm (pid=25248) incorrect media found in drive
index 14, expected 0717L1, found 000717, FREEZING 0717L1

01/06/2010 13:50:11 - current media 0717L1 complete, requesting next media
Any

 

 

Thanks 

Wayne BeDour 
Unix System Administrator 
PH: 248-447-1739 
Internet: wbedour AT lear DOT com 

  _____  

From: smpt [mailto:smpt1 AT peppas DOT gr] 
Sent: Wednesday, January 06, 2010 8:14 AM
To: BeDour, Wayne; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Media ID / Barcode rules

 

This is because your old library was giving you only the first 6 characters
of the barcode. All new libraries gives you all 8 barcode characters . To
change this, go to your library GUI and logon as administrator.

Go to configuration -> system and change the value of "Barcode Label Length
Reported To Host  from 8 to 6.

Be sure that "Barcode Label Alignment Reported To Host" is left.

 

If you do not want to change the library, you have to configure media ID
generation and not the barcode rules. But you have to import all tapes with
hand and right click them and select update barcode.

 

 stefanos

 

From: veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of BeDour,
Wayne
Sent: Wednesday, January 06, 2010 2:48 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Media ID / Barcode rules

 

Our environment, NBU 6.5.4 running on HP-UX 11-31 with a Data Domain VTL and
newly attached MSL6060 tape library that replaced a SureStore 20/700
library.  I don't think we had any barcode rules set up for anything but
cleaning cartridges when we were using the 20/700 library.  The physical
barcodes on the tapes are for example 000001L1 and the last 2 characters
were dropped leaving 000001 as the Media ID and Barcode.  Now that the
MSL6060 library is connected when I do an inventory it gives me 0001L1 for a
Media ID and 000001L1 for a Barcode.  I'm going through the manual and
getting confused on how to accomplish dropping the last 2 characters (L1)
and using only the first 6 (000001) for both Media ID and Barcode.  Can
anyone let me know or at least point me in the right direction to accomplish
this?

Thanks in advance.

Wayne BeDour

Unix System Administrator

PH: 248-447-1739

Internet:  <mailto:wbedour AT lear DOT com> wbedour AT lear DOT com


**********************
** LEGAL DISCLAIMER **
**********************
 
This E-mail message and any attachments may contain 
legally privileged, confidential or proprietary 
information. If you are not the intended recipient(s),
or the employee or agent responsible for delivery of 
this message to the intended recipient(s), you are 
hereby notified that any dissemination, distribution 
or copying of this E-mail message is strictly 
prohibited. If you have received this message in 
error, please immediately notify the sender and 
delete this E-mail message from your computer.

 


**********************
** LEGAL DISCLAIMER **
**********************
 
This E-mail message and any attachments may contain 
legally privileged, confidential or proprietary 
information. If you are not the intended recipient(s),
or the employee or agent responsible for delivery of 
this message to the intended recipient(s), you are 
hereby notified that any dissemination, distribution 
or copying of this E-mail message is strictly 
prohibited. If you have received this message in 
error, please immediately notify the sender and 
delete this E-mail message from your computer.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.eng.auburn.edu/pipermail/veritas-bu/attachments/20100106/4cf2
814d/attachment.htm 

------------------------------

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


End of Veritas-bu Digest, Vol 45, Issue 3
*****************************************
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu