Veritas-bu

[Veritas-bu] NBCC script

2004-03-16 13:31:39
Subject: [Veritas-bu] NBCC script
From: tlewick AT hrblock DOT com (Lewick, Taylor)
Date: Tue, 16 Mar 2004 12:31:39 -0600
This is a multi-part message in MIME format.

------_=_NextPart_001_01C40B84.EC041C54
Content-Type: text/plain;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I have had several request to share my script, I call it NBCC for
netbackup consistency checker...

Although no one has submitted requests in the form of an Andrew Jackson
(just kidding)

So Let me write up a little documentation, and then I will share it. =20

=20

-----Original Message-----
From: Danny Baldonado [mailto:Danny.Baldonado AT lucasfilm DOT com]=20
Sent: Tuesday, March 16, 2004 11:55 AM
To: Lewick, Taylor
Subject: RE: [Veritas-bu] Media fails to deassign

=20

Hi Taylor,

I've had similar issues in the past with inconsistencies in the various
databases and went the same route through Veritas support.  I would love
to have a script to check this myself- and is on my long list of
"to-do"s.  Would it be possible to get a copy of your script to check
out?  I'd really appreciate it.

=20

peace,

dannyB
------
Daniel Baldonado
UNIX Administrator
Lucasfilm Ltd.
danny.baldonado AT lucasfilm DOT com

=20

=20

 -----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 Lewick,
Taylor
Sent: Tuesday, March 16, 2004 8:57 AM
To: Ed Wilts; Paul Esson
Cc: veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Media fails to deassign

        I had some similar issues, and I wanted to know what was going
on with all of our tapes, so...

        =20

        Something interesting to do is run the consistency check.  This
will generate a report of consistency between your media db
(bpmedialist), the volume db (vmquery), and the images db (bpimmedia).
You can do this with the bpdbm -consistency 2 I believe, but the
Netbackup support people actually have a better program they can run if
you send them the output of a vmquery -a, a bpimmedia, and a bpmedialist
-l. =20

        =20

        They will then send you back a report showing the following 6
scenarios.

        (Some are worse than others).

        =20

        1.)

        Media ID's that show up in the Images Database but not in the
Media Database:

        =20

        2.)=20

        Media ID's that show up in the Media Database but not in the
Image Database:

        3.)

        Media ID's that show up in the Images Database but are not
assigned in the Volume Database:

        =20

        4.)

        Media ID's that show up in the Volume Database as assigned but
not in the Image Database:

        =20

        5.)

        Media ID's that show up in the Media Database but are not
assigned in the Volume Database:

        =20

        6.)

        Media ID's that show up in the Volume Database as assigned but
not in the Media Database:

        =20

        So of course, I want to be able to do this whenever I want, so I
ask for the program/script and they say its not available for public
release, so I wrote my own in perl, and it works.  It's a good tool to
discover dbase problems..

        =20

        Taylor


------_=_NextPart_001_01C40B84.EC041C54
Content-Type: text/html;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">
<title>Message</title>

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle18
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 77.95pt 1.0in 77.95pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>I have had several request to share =
my
script, I call it NBCC for netbackup consistency =
checker&#8230;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Although no one has submitted =
requests in
the form of an Andrew Jackson (just kidding)</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>So Let me write up a little =
documentation,
and then I will share it.&nbsp; </span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> Danny Baldonado
[mailto:Danny.Baldonado AT lucasfilm DOT com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, March 16, =
2004
11:55 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> Lewick, Taylor<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: [Veritas-bu] =
Media
fails to deassign</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>&nbsp;</span></font></p>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>Hi =
Taylor,</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>I've had similar =
issues
in the past with inconsistencies in the various databases and went the =
same
route through Veritas support.&nbsp; I would love to have a script to =
check
this myself- and is on my long list of &quot;to-do&quot;s.&nbsp; Would =
it be
possible to get a copy of your script to check out?&nbsp; I'd really =
appreciate
it.</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>peace,</span></fo=
nt></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>dannyB<br>
------<br>
Daniel Baldonado<br>
UNIX Administrator<br>
Lucasfilm Ltd.<br>
<a =
href=3D"mailto:danny.baldonado AT lucasfilm DOT 
com">[email protected]=
om</a></span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal =
style=3D'margin-right:0in;margin-bottom:12.0pt;margin-left:
.5in'><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>&nbsp;-----Original
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b>
veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] <b><span =
style=3D'font-weight:
bold'>On Behalf Of </span></b>Lewick, Taylor<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, March 16, =
2004 8:57
AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> Ed Wilts; Paul =
Esson<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b>
veritas-bu AT mailman.eng.auburn DOT edu<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: [Veritas-bu] =
Media
fails to deassign</span></font></p>

</div>

<blockquote =
style=3D'margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt'>I had some similar issues, and I wanted to =
know what
was going on with all of our tapes, so&#8230;</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt'>&nbsp;</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt'>Something interesting to do is run the =
consistency
check.&nbsp; This will generate a report of consistency between your =
media db
(bpmedialist), the volume db (vmquery), and the images db =
(bpimmedia).&nbsp;
You can do this with the bpdbm -consistency 2 I believe, but the =
Netbackup
support people actually have a better program they can run if you send =
them the
output of a vmquery -a, a bpimmedia, and a bpmedialist -l.&nbsp; =
</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt'>&nbsp;</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt'>They will then send you back a report showing =
the
following 6 scenarios.</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt'>(Some are worse than =
others).</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt'>&nbsp;</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt'>1.)</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt'>Media ID's that show up in the Images =
Database but not
in the Media Database:</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt'>&nbsp;</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt'>2.) </span></font></p>

<p class=3DMsoPlainText =
style=3D'margin-right:0in;margin-bottom:12.0pt;margin-left:
.5in'><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>Media ID's
that show up in the Media Database but not in the Image =
Database:</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt'>3.)</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt'>Media ID's that show up in the Images =
Database but are
not assigned in the Volume Database:</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt'>&nbsp;</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;color:black'>4.)</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span style=3D'font-size:10.0pt;color:black'>Media =
ID's that
show up in the Volume Database as assigned but not in the Image =
Database:</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt'>&nbsp;</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;color:black'>5.)</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span style=3D'font-size:10.0pt;color:black'>Media =
ID's that
show up in the Media Database but are not assigned in the Volume =
Database:</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt'>&nbsp;</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;color:black'>6.)</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt'>Media ID's that show up in the Volume =
Database as
assigned but not in the Media Database:</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt'>&nbsp;</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt'>So of course, I want to be able to do this =
whenever I
want, so I ask for the program/script and they say its not available for =
public
release, so I wrote my own in perl, and it works.&nbsp; It&#8217;s a =
good tool
to discover dbase problems..</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt'>&nbsp;</span></font></p>

<p class=3DMsoPlainText style=3D'margin-left:.5in'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt'>Taylor</span></font></p>

</blockquote>

</div>

</body>

</html>
=00
------_=_NextPart_001_01C40B84.EC041C54--

<Prev in Thread] Current Thread [Next in Thread>
  • [Veritas-bu] NBCC script, Lewick, Taylor <=