Veritas-bu

[Veritas-bu] Media Unique ID - from Media GUID

2003-05-29 16:14:05
Subject: [Veritas-bu] Media Unique ID - from Media GUID
From: Ebon_Nash AT compuware DOT com (Nash, Ebon)
Date: Thu, 29 May 2003 16:14:05 -0400
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3261E.DA6BAD30
Content-Type: text/plain;
        charset="iso-8859-1"

It is my understanding the mediaid created using bplabel is not important to
NetBackup.  If you are using a library with barcode labels on the media,
then that is what NetBackup uses.  If the label you gave it using bplabel,
mismatches the barcode label, NetBackup uses the barcode label.  The only
thing I am aware of bplabel doing is preparing a tape with non-netbackup
data to be used with Netbackup, or secondly, if a barcode label comes off
the media you can easily find out what barcode label should be on the tape.
Can anyone reaffirm this?
 
 
Ebon Nash

-----Original Message-----
From: Donaldson, Mark [mailto:Mark.Donaldson AT experianems DOT com]
Sent: Thursday, May 29, 2003 3:31 PM
To: 'MOYES-CLARK,SHANNON (HP-FtCollins,ex1)'; Donaldson, Mark;
'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: RE: [Veritas-bu] Media Unique ID - from Media GUID


I don't think there is a "truly unique ID".  It's all just the Volume label.
That why each media server must be managing a unique set of ID's.  In other
words, if the media servers are sharing a common master, then the volume
ID's must be unique within that set of servers.  Don't duplicate ID's.
 
The Vol DB then, on the master server, knows about all the tapes that can be
used by all the different media servers.  When a tape is assigned to a media
server, then the volume ID entry is made in that media servers media
database.  When the tape is unassigned, it'll be removed.  Don't label two
pieces of media the same name if it's got a common master server.
 
I'd go on to say that if you've got more than one master server, to still
not duplicate labels.  Operationally, you're just begging them to be mixed
up.  "And which tape 000001 do you want inserted?".
 
-M

-----Original Message-----
From: MOYES-CLARK,SHANNON (HP-FtCollins,ex1) [mailto:shannonm AT hp DOT com]
Sent: Thursday, May 29, 2003 1:25 PM
To: 'Donaldson, Mark'; MOYES-CLARK,SHANNON (HP-FtCollins,ex1);
'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: [Veritas-bu] Media Unique ID - from Media GUID


Hi all
 
You are right, my bad - the media database not the Volume Database.  The
GUID would be the unique id of the media.  Can I label two pieces of media
with the same name via "bplabel"?  How then does Net Backup tell them apart?
There must be some truly unique id on each piece of labeled media, right?
How would I get that unique name.
 
Shannon
 
 

Shannon J. Moyes Clark
Software Engineer
Storage Software Division
Hewlett Packard Company
shannon.moyes-clark AT hp DOT com < < mailto:shannon.moyes-clark AT hp DOT com
<mailto:shannon.moyes-clark AT hp DOT com> >>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
All of that legal stuff about the opinions expressed here being mine and not
those of HP.
  

-----Original Message-----
From: Donaldson, Mark [mailto:Mark.Donaldson AT experianems DOT com] 
Sent: Thursday, May 29, 2003 12:21 PM
To: 'MOYES-CLARK,SHANNON (HP-FtCollins,ex1)';
'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: RE: [Veritas-bu] Media GUID's


The volume database is on the master server so it's common to the two media
servers.  Each media server has it's own media database but that's
different.  Use labels such that no two are the same between media servers.
 
GUID?  I don't recognize the acronym.
 
Almost everything you want to know about a given piece of media is available
from the "vmquery" command which queries the Vol DB on the master server.
 
HTH - Mark

-----Original Message-----
From: MOYES-CLARK,SHANNON (HP-FtCollins,ex1) [mailto:shannonm AT hp DOT com]
Sent: Thursday, May 29, 2003 10:38 AM
To: 'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: [Veritas-bu] Media GUID's


Hi all,
 
    So if I have two media servers and one master server and they each have
their own volume database, it is possible to get media with the same label.
Is it possible / how do I get the GUID for a given piece of media from the
command line?
 
Thanks,
 
Shannon
 
 

Shannon J. Moyes Clark
Software Engineer
Storage Software Division
Hewlett Packard Company
shannon.moyes-clark AT hp DOT com < < mailto:shannon.moyes-clark AT hp DOT com
<mailto:shannon.moyes-clark AT hp DOT com> >>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
All of that legal stuff about the opinions expressed here being mine and not
those of HP.




The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it. 


------_=_NextPart_001_01C3261E.DA6BAD30
Content-Type: text/html;
        charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1141" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=721400920-29052003><FONT face=Arial color=#0000ff size=2>It is 
my understanding the&nbsp;mediaid created using bplabel is not important to 
NetBackup.&nbsp; If you are using a library with barcode labels on the media, 
then that is what NetBackup uses.&nbsp; If the label you gave it using bplabel, 
mismatches the barcode label, NetBackup uses the barcode label.&nbsp; The only 
thing I am aware of bplabel doing is preparing a tape with non-netbackup 
data&nbsp;to be used&nbsp;with Netbackup, or secondly, if a barcode label comes 
off the media you can easily find out what barcode label should be on the 
tape.&nbsp; Can anyone reaffirm this?</FONT></SPAN></DIV>
<DIV><SPAN class=721400920-29052003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=721400920-29052003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=721400920-29052003><FONT face=Arial color=#0000ff size=2>Ebon 
Nash</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Donaldson, Mark 
  [mailto:Mark.Donaldson AT experianems DOT com]<BR><B>Sent:</B> Thursday, May 
29, 2003 
  3:31 PM<BR><B>To:</B> 'MOYES-CLARK,SHANNON (HP-FtCollins,ex1)'; Donaldson, 
  Mark; 'veritas-bu AT mailman.eng.auburn DOT edu'<BR><B>Subject:</B> RE: 
[Veritas-bu] 
  Media Unique ID - from Media GUID<BR><BR></FONT></DIV>
  <DIV><SPAN class=733512519-29052003><FONT face=Arial color=#0000ff size=2>I 
  don't think there is a "truly unique ID".&nbsp; It's all just the Volume 
  label.&nbsp; That why each media server must be managing a unique set of 
  ID's.&nbsp; In other words, if the media servers are sharing a common master, 
  then the volume ID's must be unique within that set of servers.&nbsp; Don't 
  duplicate ID's.</FONT></SPAN></DIV>
  <DIV><SPAN class=733512519-29052003><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=733512519-29052003><FONT face=Arial color=#0000ff size=2>The 
  Vol DB then, on the master server, knows about all the tapes that can be used 
  by all the different media servers.&nbsp; When a tape is assigned to a media 
  server, then the volume ID entry is made in that media servers media 
  database.&nbsp; When the tape is unassigned, it'll be removed.&nbsp; Don't 
  label two pieces of media the same name if it's got a&nbsp;common master 
  server.</FONT></SPAN></DIV>
  <DIV><SPAN class=733512519-29052003><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=733512519-29052003><FONT face=Arial color=#0000ff size=2>I'd 
  go on to say that if you've got more than one master server, to still not 
  duplicate labels.&nbsp; Operationally, you're just begging them to be mixed 
  up.&nbsp; "And which tape 000001 do you want inserted?".</FONT></SPAN></DIV>
  <DIV><SPAN class=733512519-29052003><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=733512519-29052003><FONT face=Arial color=#0000ff 
  size=2>-M</FONT></SPAN></DIV>
  <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
    <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
    size=2>-----Original Message-----<BR><B>From:</B> MOYES-CLARK,SHANNON 
    (HP-FtCollins,ex1) [mailto:shannonm AT hp DOT com]<BR><B>Sent:</B> 
Thursday, May 
    29, 2003 1:25 PM<BR><B>To:</B> 'Donaldson, Mark'; MOYES-CLARK,SHANNON 
    (HP-FtCollins,ex1); 'veritas-bu AT mailman.eng.auburn DOT 
edu'<BR><B>Subject:</B> 
    [Veritas-bu] Media Unique ID - from Media GUID<BR><BR></FONT></DIV>
    <DIV><SPAN class=112441319-29052003><FONT face=Arial color=#0000ff 
size=2>Hi 
    all</FONT></SPAN></DIV>
    <DIV><SPAN class=112441319-29052003><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=112441319-29052003><FONT face=Arial color=#0000ff 
    size=2>You are right, my bad - the media database not the Volume 
    Database.&nbsp; The GUID would be the unique id of the media.&nbsp; Can 
    I&nbsp;label two pieces of media with the same name via "bplabel"?&nbsp; 
How 
    then does Net Backup tell them apart?&nbsp; There must be some truly unique 
    id on each piece of labeled media, right?&nbsp; How would I get that unique 
    name.</FONT></SPAN></DIV>
    <DIV><SPAN class=112441319-29052003><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=112441319-29052003><FONT face=Arial color=#0000ff 
    size=2>Shannon</FONT></SPAN></DIV>
    <DIV>&nbsp;</DIV>
    <DIV>&nbsp;</DIV><!-- Converted from text/plain format -->
    <P><FONT size=2>Shannon J. Moyes Clark<BR>Software Engineer<BR>Storage 
    Software Division<BR>Hewlett Packard Company<BR>shannon.moyes-clark AT hp 
DOT com 
    &lt; &lt;<A 
    href="mailto:shannon.moyes-clark AT hp DOT com">mailto:shannon.moyes-clark 
AT hp DOT com</A>&gt;&gt;<BR>- 
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<BR>All of 
    that legal stuff about the opinions expressed here being mine and not those 
    of HP.<BR>&nbsp;</FONT> </P>
    <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
      <DIV></DIV>
      <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
      face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Donaldson, 
      Mark [mailto:Mark.Donaldson AT experianems DOT com] <BR><B>Sent:</B> 
Thursday, 
      May 29, 2003 12:21 PM<BR><B>To:</B> 'MOYES-CLARK,SHANNON 
      (HP-FtCollins,ex1)'; 
      'veritas-bu AT mailman.eng.auburn DOT edu'<BR><B>Subject:</B> RE: 
[Veritas-bu] 
      Media GUID's<BR><BR></FONT></DIV>
      <DIV><SPAN class=665461818-29052003><FONT face=Arial color=#0000ff 
      size=2>The volume database is on the master server so it's common to the 
      two media servers.&nbsp; Each media server has it's own media database 
but 
      that's different.&nbsp; Use labels such that no two are the same between 
      media servers.</FONT></SPAN></DIV>
      <DIV><SPAN class=665461818-29052003><FONT face=Arial color=#0000ff 
      size=2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN class=665461818-29052003><FONT face=Arial color=#0000ff 
      size=2>GUID?&nbsp; I don't recognize the acronym.</FONT></SPAN></DIV>
      <DIV><SPAN class=665461818-29052003><FONT face=Arial color=#0000ff 
      size=2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN class=665461818-29052003><FONT face=Arial color=#0000ff 
      size=2>Almost everything you want to know about a given piece of media is 
      available from the "vmquery" command which queries the Vol DB on the 
      master server.</FONT></SPAN></DIV>
      <DIV><SPAN class=665461818-29052003><FONT face=Arial color=#0000ff 
      size=2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN class=665461818-29052003><FONT face=Arial color=#0000ff 
      size=2>HTH - Mark</FONT></SPAN></DIV>
      <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
        <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
        size=2>-----Original Message-----<BR><B>From:</B> MOYES-CLARK,SHANNON 
        (HP-FtCollins,ex1) [mailto:shannonm AT hp DOT com]<BR><B>Sent:</B> 
Thursday, 
        May 29, 2003 10:38 AM<BR><B>To:</B> 
        'veritas-bu AT mailman.eng.auburn DOT edu'<BR><B>Subject:</B> 
[Veritas-bu] 
        Media GUID's<BR><BR></FONT></DIV>
        <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
        class=811043616-29052003>Hi all,</SPAN></FONT></DIV>
        <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
        class=811043616-29052003></SPAN></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
        class=811043616-29052003>&nbsp;&nbsp;&nbsp; So if I have two media 
        servers and one master server and they each have their own volume 
        database, it is possible to get media with the same label.&nbsp; Is it 
        possible / how do I get the GUID for a given piece of media from the 
        command line?</SPAN></FONT></DIV>
        <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
        class=811043616-29052003></SPAN></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
        class=811043616-29052003>Thanks,</SPAN></FONT></DIV>
        <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
        class=811043616-29052003></SPAN></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
        class=811043616-29052003>Shannon</SPAN></FONT></DIV>
        <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV><!-- 
Converted from text/plain format -->
        <P><FONT size=2>Shannon J. Moyes Clark<BR>Software Engineer<BR>Storage 
        Software Division<BR>Hewlett Packard 
        Company<BR>shannon.moyes-clark AT hp DOT com &lt; &lt;<A 
        href="mailto:shannon.moyes-clark AT hp DOT 
com">mailto:shannon.moyes-clark AT hp DOT com</A>&gt;&gt;<BR>- 
        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
-<BR>All 
        of that legal stuff about the opinions expressed here being mine and 
not 
        those of 
HP.</FONT></P></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
<BR>
<BR>
<BR>

<P><B><FONT SIZE=2 FACE="Arial">The contents of this e-mail are intended for 
the named addressee only. It contains information that may be confidential. 
Unless you are the named addressee or an authorized designee, you may not copy 
or use it, or disclose it to anyone else. If you received it in error please 
notify us immediately and then destroy it.</FONT></B> </P>
<BR>

------_=_NextPart_001_01C3261E.DA6BAD30--

<Prev in Thread] Current Thread [Next in Thread>