Veritas-bu

[Veritas-bu] NBDB_Duplicate

2002-02-28 16:15:51
Subject: [Veritas-bu] NBDB_Duplicate
From: david AT xbpadm-commands DOT com (David A. Chapa)
Date: Thu, 28 Feb 2002 15:15:51 -0600
This is a multi-part message in MIME format.

------=_NextPart_000_00A8_01C1C06A.CEF6ED40
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

NBDB_Duplicateif you are sure that these are 'scratch-able'

then use bpexpdate -ev $MEDIAID -d 0

It will ask you if you are sure

if you don't want the saftey net then add -force to the end of that
statement.

after you are done check to see that they have been removed from the mediadb
of the media servers they belonged to using

bpmedialist -ev $MEDIAID -h $MEDIASERVER (I think its an -h..)

then I would make sure that they are deassigned in your volume database

vmquery -m $MEDIAID -bx | awk '{ if ( $12 == "---" ) print $1 }'

if they didn't deassign, you'll have to do that manually using
vmquery -deassignbymedia, but that's a last resort...let me know if you have
to do that.

David

<><><><><><><><><><><><><><><><><><><><>
David A. Chapa
NetBackup Consultant
DataStaff, Inc.
http://www.consulting.datastaff.com
847 413 1144
---------------------------------------
NBU-LSERV AT datastaff DOT com - Adv. Scripting
http://www.xbpadm-commands.com

  -----Original Message-----
  From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of Arterburn,
Michael
  Sent: Thursday, February 28, 2002 2:32 PM
  To: 'veritas-bu AT mailman.eng.auburn DOT edu'
  Subject: [Veritas-bu] NBDB_Duplicate


  I have many tapes in my NetBackup Database pool that I would like to
scratch, but I am unable to figure out how.  I have attempted to use bplabel
but I get the error: "Request terminated because of volume pool mismatch"

  I have also tried to just change the pool to Scratch, but it will also not
let me.

  These tapes are no longer needed and I would like to put them into use
again.

  Thanks for any help you are able to give,

    Michael Arterburn
    Arvin Meritor <<http://www.arvinmeritor.com>>
    Michael.Arterburn AT ArvinMeritor DOT com
    Phone: 812.379.3315
    Cell: 812.390.6508
    Pager: 812.370.1343

    From my PC... through the LAN...  over the data cables... to the ISP...
out of the proxies... nothing but net!

  :wq!


------=_NextPart_000_00A8_01C1C06A.CEF6ED40
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>NBDB_Duplicate</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3DISO-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D358510321-28022002><FONT face=3DArial color=3D#0000ff =
size=3D2>if you=20
are sure that these are 'scratch-able'</FONT></SPAN></DIV>
<DIV><SPAN class=3D358510321-28022002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D358510321-28022002><FONT face=3DArial color=3D#0000ff =
size=3D2>then=20
use bpexpdate -ev $MEDIAID -d 0 </FONT></SPAN></DIV>
<DIV><SPAN class=3D358510321-28022002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D358510321-28022002><FONT face=3DArial color=3D#0000ff =
size=3D2>It=20
will ask you if you are sure</FONT></SPAN></DIV>
<DIV><SPAN class=3D358510321-28022002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D358510321-28022002><FONT face=3DArial color=3D#0000ff =
size=3D2>if you=20
don't want the saftey net then add -force to the end of that=20
statement.</FONT></SPAN></DIV>
<DIV><SPAN class=3D358510321-28022002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D358510321-28022002><FONT face=3DArial color=3D#0000ff =
size=3D2>after=20
you are done check to see that they have been removed from the mediadb =
of the=20
media servers they belonged to using</FONT></SPAN></DIV>
<DIV><SPAN class=3D358510321-28022002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D358510321-28022002><FONT face=3DArial color=3D#0000ff =

size=3D2>bpmedialist -ev $MEDIAID -h $MEDIASERVER (I think its an=20
-h..)</FONT></SPAN></DIV>
<DIV><SPAN class=3D358510321-28022002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D358510321-28022002><FONT face=3DArial color=3D#0000ff =
size=3D2>then I=20
would make sure that they are deassigned in your volume=20
database</FONT></SPAN></DIV>
<DIV><SPAN class=3D358510321-28022002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D358510321-28022002><FONT face=3DArial color=3D#0000ff =

size=3D2>vmquery -m $MEDIAID -bx | awk '{ if ( $12 =3D=3D "---" ) print =
$1=20
}'</FONT></SPAN></DIV>
<DIV><SPAN class=3D358510321-28022002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D358510321-28022002><FONT face=3DArial color=3D#0000ff =
size=3D2>if=20
they didn't deassign, you'll have to do that manually using vmquery=20
-deassignbymedia, but that's a last resort...let me know if you have to =
do=20
that.</FONT></SPAN></DIV>
<DIV><SPAN class=3D358510321-28022002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D358510321-28022002><FONT face=3DArial color=3D#0000ff =

size=3D2>David</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<P><FONT=20
size=3D2>&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;=
&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&=
lt;&gt;&lt;&gt;&lt;&gt;<BR>David=20
A. Chapa<BR>NetBackup Consultant<BR>DataStaff, Inc.<BR><A=20
href=3D"http://www.consulting.datastaff.com/"=20
target=3D_blank>http://www.consulting.datastaff.com</A><BR>847 413=20
1144<BR>---------------------------------------<BR>NBU-LSERV AT datastaff DOT 
co=
m -=20
Adv. Scripting<BR><A href=3D"http://www.xbpadm-commands.com/"=20
target=3D_blank>http://www.xbpadm-commands.com</A></FONT> </P>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B>=20
  veritas-bu-admin AT mailman.eng.auburn DOT edu=20
  [mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]<B>On Behalf Of =
</B>Arterburn,=20
  Michael<BR><B>Sent:</B> Thursday, February 28, 2002 2:32 =
PM<BR><B>To:</B>=20
  'veritas-bu AT mailman.eng.auburn DOT edu'<BR><B>Subject:</B> [Veritas-bu]=20
  NBDB_Duplicate<BR><BR></FONT></DIV>
  <P><FONT face=3DArial size=3D2>I have many tapes in my NetBackup =
Database pool=20
  that I would like to scratch, but I am unable to figure out how.&nbsp; =
I have=20
  attempted to use bplabel but I get the error: "Request terminated =
because of=20
  volume pool mismatch"</FONT></P>
  <P><FONT face=3DArial size=3D2>I have also tried to just change the =
pool to=20
  Scratch, but it will also not let me.</FONT> </P>
  <P><FONT face=3DArial size=3D2>These tapes are no longer needed and I =
would like=20
  to put them into use again.</FONT> </P>
  <P><FONT face=3DArial size=3D2>Thanks for any help you are able to =
give,</FONT>=20
  </P>
  <UL>
    <P><FONT face=3DZapfChancery color=3D#0000ff size=3D7>Michael =
Arterburn</FONT>=20
    <BR><FONT face=3DArial size=3D2>Arvin Meritor =
&lt;<U></U></FONT><U><FONT=20
    face=3DArial color=3D#0000ff size=3D2>&lt;<A =
href=3D"http://www.arvinmeritor.com"=20
    target=3D_blank>http://www.arvinmeritor.com</A>&gt;</FONT></U><FONT =
face=3DArial=20
    size=3D2>&gt;</FONT> <BR><FONT face=3DArial=20
    size=3D2>Michael.Arterburn AT ArvinMeritor DOT com</FONT> <BR><FONT =
face=3DArial=20
    size=3D2>Phone: 812.379.3315</FONT> <BR><FONT face=3DArial =
size=3D2>Cell:=20
    812.390.6508</FONT> <BR><FONT face=3DArial size=3D2>Pager: =
812.370.1343</FONT>=20
    </P>
    <P><I><FONT face=3DArial size=3D2>From my PC... through the =
LAN...&nbsp; over=20
    the data cables... to the ISP... out of the proxies... nothing but=20
    net!</FONT></I> </P></UL>
  <P><FONT face=3DArial size=3D2>:wq!</FONT> =
</P></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_00A8_01C1C06A.CEF6ED40--


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