This is a multi-part message in MIME format.
------_=_NextPart_001_01C40B77.A3561F58
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
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_01C40B77.A3561F58
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">
<style>
<!--
/* 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";}
@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=3DMsoPlainText><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…</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'> </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>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. </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'> </span></font></p>
<p class=3DMsoPlainText><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><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><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'> </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>1.)</span></font></p>
<p class=3DMsoPlainText><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><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'> </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>2.) </span></font></p>
<p class=3DMsoPlainText><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:<br>
<br>
</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>3.)</span></font></p>
<p class=3DMsoPlainText><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><font size=3D2 color=3Dblack face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;color:black'> </span></font></p>
<p class=3DMsoPlainText><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><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><font size=3D2 color=3Dblack face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;color:black'> </span></font></p>
<p class=3DMsoPlainText><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><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><font size=3D2 color=3Dblack face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;color:black'> </span></font></p>
<p class=3DMsoPlainText><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><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><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'> </span></font></p>
<p class=3DMsoPlainText><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. It’s a good tool to =
discover
dbase problems..</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'> </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Taylor</span></font></p>
</div>
</body>
</html>
=00
------_=_NextPart_001_01C40B77.A3561F58--
|