Veritas-bu

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

2003-05-29 16:47:38
Subject: [Veritas-bu] Media Unique ID - from Media GUID
From: shannonm AT hp DOT com (MOYES-CLARK,SHANNON (HP-FtCollins,ex1))
Date: Thu, 29 May 2003 16:47:38 -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_01C32623.8A4144F0
Content-Type: text/plain

Ok, so what happens when I label a tape on a standalone drive("testlab" with
a label that does not match the barcode(GZ1001), then I put the media in a
barcode library?  Do I now have two pieces of media in the media database,
GZ1001 and testlab?  How does Net Backup keep track of retention and such
for the 1 media that is now two?  
 
Trying to understand-
 
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 2:18 PM
To: 'Nash, Ebon'; Donaldson, Mark; 'MOYES-CLARK,SHANNON (HP-FtCollins,ex1)';
'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: RE: [Veritas-bu] Media Unique ID - from Media GUID


The on-tape label is used, too, for standalone, AVR, type drives.
-M

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


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_01C32623.8A4144F0
Content-Type: text/html

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

<META content="MSHTML 6.00.2800.1141" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=963014520-29052003><FONT face=Arial color=#0000ff size=2>Ok, 
so 
what happens when I label a tape on a standalone drive("testlab" with a label 
that does not match the barcode(GZ1001), then I put the media in a barcode 
library?&nbsp; Do I now have two pieces of media in the media database, GZ1001 
and testlab?&nbsp; How does Net Backup keep track of retention and such for the 
1 media that is now two?&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=963014520-29052003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=963014520-29052003><FONT face=Arial color=#0000ff 
size=2>Trying 
to understand-</FONT></SPAN></DIV>
<DIV><SPAN class=963014520-29052003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=963014520-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 2:18 PM<BR><B>To:</B> 'Nash, Ebon'; Donaldson, Mark; 
'MOYES-CLARK,SHANNON 
  (HP-FtCollins,ex1)'; '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=271111720-29052003><FONT face=Arial color=#0000ff size=2>The 
  on-tape label is used, too, for standalone, AVR, type 
  drives.</FONT></SPAN></DIV>
  <DIV><SPAN class=271111720-29052003><FONT face=Arial color=#0000ff 
  size=2>-M</FONT></SPAN></DIV>
  <BLOCKQUOTE>
    <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
    size=2>-----Original Message-----<BR><B>From:</B> Nash, Ebon 
    [mailto:Ebon_Nash AT compuware DOT com]<BR><B>Sent:</B> Thursday, May 29, 
2003 2:14 
    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> 
    RE: [Veritas-bu] Media Unique ID - from Media GUID<BR><BR></FONT></DIV>
    <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><BR><BR><BR>
    <P><B><FONT face=Arial size=2>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></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C32623.8A4144F0--

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