Veritas-bu

[Veritas-bu] Help finding the status of tapes!

2006-02-08 16:41:38
Subject: [Veritas-bu] Help finding the status of tapes!
From: jpiszcz.backup AT gmail DOT com (Justin Piszcz)
Date: Wed, 8 Feb 2006 16:41:38 -0500
------=_Part_4107_31005465.1139434898236
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Thanks for all the help!

On 2/8/06, manuel.j.desousa AT jpmchase DOT com <manuel.j.desousa AT jpmchase 
DOT com>
wrote:
>
>
> Justin,
>
>
> for tape in ID1 ID2 ID3 ID4...
> do
>         for i in `bpstulist | awk '{print $3 | sort -u `
>         do
>                 vmquery -m $tape -h $i
>         done
> done
>
>
>
> where "ID1 ID2 ID3 ID4" etc are your media id's...
>
>
> should do it...
>
> JdS
>
>
>
>   *Justin Piszcz <jpiszcz.backup AT gmail DOT com>*
> Sent by: veritas-bu-admin AT mailman.eng.auburn DOT edu
>
> 08/02/2006 14:19
>
>         To:        "WEAVER, Simon" <simon.weaver AT astrium.eads DOT net>
>         cc:        veritas-bu AT mailman.eng.auburn DOT edu
>         Subject:        Re: [Veritas-bu] Help finding the status of tapes=
!
>
>
>
>
> Yes, this'll work but I am trying to figure out the best way to do it via
> the command line as I am looking for tapes amongst a vast array of master=
 &
> media servers.
>
> Justin.
>
>
> On 2/8/06, *WEAVER, Simon* <*simon.weaver AT astrium.eads DOT 
> net*<simon.weaver@=
astrium.eads.net>>
> wrote:
> Justin
> Here to be proved wrong, but if Netbackup knows about the tapes, then
> surely they should be listed in the Reports Module "Media Lists".
>
> Also, to prove if Netbackup does know about them and they are in the
> Robot, doing a "Media Contents" report will load the tape and give you al=
l
> the backup ID's it knows about!
>
> Is this of any help?
>
> *Simon Weaver
> Technical Support
> Windows Domain Administrator*
>
> *EADS Astrium
> Tel: 02392-708598** *
>
> *Email: **Simon.Weaver AT Astrium.eads DOT net * <Simon.Weaver AT 
> Astrium.eads DOT net>
>
> -----Original Message-----*
> From:* Justin Piszcz [mailto:* jpiszcz.backup AT gmail DOT 
> com*<jpiszcz.backup@g=
mail.com>]
> *
> Sent:* 08 February 2006 13:46*
> To:* *veritas-bu AT mailman.eng.auburn DOT edu *<veritas-bu AT mailman DOT 
> eng.auburn.e=
du>
> *
> Subject:* [Veritas-bu] Help finding the status of tapes!
>
> Problem:
>
> I have a few tapes:
>
> L00123
> L00124
> L00125
>
> I need to find the status of these tapes across multiple master servers.
>
> Is there a text equivalent to list all of the tapes in the:
>
> * Media and Device Management
> -> Media
>
> In the Media Manager's Media List?
>
> I have several tapes I need to find the status of, whether they are
> frozen, expired or scratch, etc...
>
> bpmedialist does not show the complete listing of all of the media that
> has ever been in the robot.
>
> I am looking at the documentation now but thought I'd send this out if
> anyone knew it off the top of their head?
>
> Thanks,
>
> Justin.  This email is for the intended addressee only.
> If you have received it in error then you must not use, retain,
> disseminate or otherwise deal with it.
> Please notify the sender by return email.
> The views of the author may not necessarily constitute the views of EADS
> Astrium Limited.
> Nothing in this email shall bind EADS Astrium Limited in any contract or
> obligation.
>
> EADS Astrium Limited, Registered in England and Wales No. 2449259
> Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS,
> England
>
>
>

------=_Part_4107_31005465.1139434898236
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Thanks for all the help!<br><br>
<div><span class=3D"gmail_quote">On 2/8/06, <b class=3D"gmail_sendername"><=
a href=3D"mailto:manuel.j.desousa AT jpmchase DOT 
com">[email protected]=
om</a></b> &lt;<a href=3D"mailto:manuel.j.desousa AT jpmchase DOT 
com">manuel.j.de=
sousa AT jpmchase DOT com
</a>&gt; wrote:</span>
<blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0=
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br><font face=3D"sans-serif" si=
ze=3D"2">Justin,</font> <br><br><br><font face=3D"sans-serif" size=3D"2">fo=
r tape in ID1 ID2 ID3 ID4...
</font> <br><font face=3D"sans-serif" size=3D"2">do</font> <br><font face=
=3D"sans-serif" size=3D"2">&nbsp; &nbsp; &nbsp; &nbsp; for i in `bpstulist =
| awk '{print $3 | sort -u `</font> <br><font face=3D"sans-serif" size=3D"2=
">&nbsp; &nbsp; &nbsp; &nbsp; do</font> <br><font face=3D"sans-serif" size=
=3D"2">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; vmquery -m $tape -h=
 $i</font> <br><font face=3D"sans-serif" size=3D"2">&nbsp; &nbsp; &nbsp; &n=
bsp; done</font> <br><font face=3D"sans-serif" size=3D"2">done</font> <br><=
font face=3D"sans-serif" size=3D"2">&nbsp; &nbsp; &nbsp; &nbsp; </font><br>=
<br><br><font face=3D"sans-serif" size=3D"2">
where &quot;ID1 ID2 ID3 ID4&quot; etc are your media id's...</font> <br><br=
><br><font face=3D"sans-serif" size=3D"2">should do it...</font> <br><br><f=
ont face=3D"sans-serif" size=3D"2">JdS</font> <br><br><br><br>
<table width=3D"100%">
<tbody>
<tr valign=3D"top">
<td>
<td><font face=3D"sans-serif" size=3D"1"><b>Justin Piszcz &lt;<a onclick=3D=
"return top.js.OpenExtLink(window,event,this)" href=3D"mailto:jpiszcz.backu=
p AT gmail DOT com" target=3D"_blank">jpiszcz.backup AT gmail DOT 
com</a>&gt;</b></font> =
<br><font face=3D"sans-serif" size=3D"1">
Sent by: <a onclick=3D"return top.js.OpenExtLink(window,event,this)" href=
=3D"mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu" 
target=3D"_blank">verit=
as-bu-admin AT mailman.eng.auburn DOT edu</a></font>=20
<p><font face=3D"sans-serif" size=3D"1">08/02/2006 14:19</font> <br></p>
<td><font face=3D"Arial" size=3D"1">&nbsp; &nbsp; &nbsp; &nbsp; </font><br>=
<font face=3D"sans-serif" size=3D"1">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp;=
 &nbsp; &nbsp; &nbsp;&quot;WEAVER, Simon&quot; &lt;<a onclick=3D"return top=
.js.OpenExtLink(window,event,this)" href=3D"mailto:simon.weaver AT astrium DOT 
ead=
s.net" target=3D"_blank">
simon.weaver AT astrium.eads DOT net</a>&gt;</font> <br><font 
face=3D"sans-serif" =
size=3D"1">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; &nbsp; &nbsp; &nbsp;<a on=
click=3D"return top.js.OpenExtLink(window,event,this)" href=3D"mailto:verit=
as-bu AT mailman.eng.auburn DOT edu" target=3D"_blank">
veritas-bu AT mailman.eng.auburn DOT edu</a></font> <br><font 
face=3D"sans-serif" =
size=3D"1">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; &nbsp; &nbsp; &nbsp;=
Re: [Veritas-bu] Help finding the status of tapes!</font></td>
<td><p></p></td></td></td></tr></tbody></table>
<div><span class=3D"e" id=3D"q_1094a41a4c8e8db3_1"><br><br><br><font face=
=3D"Times New Roman" size=3D"3">Yes, this'll work but I am trying to figure=
 out the best way to do it via the command line as I am looking for tapes a=
mongst a vast array of master &amp; media servers.
</font> <br><font face=3D"Times New Roman" size=3D"3">&nbsp;</font> <br><fo=
nt face=3D"Times New Roman" size=3D"3">Justin.<br><br></font><br><font face=
=3D"Times New Roman" size=3D"3">On 2/8/06, <b>WEAVER, Simon</b> &lt;</font>=
<a onclick=3D"return top.js.OpenExtLink(window,event,this)" href=3D"mailto:=
simon.weaver AT astrium.eads DOT net" target=3D"_blank">
<font face=3D"Times New Roman" color=3D"blue" size=3D"3"><u>simon.weaver@as=
trium.eads.net</u></font></a><font face=3D"Times New Roman" size=3D"3">&gt;=
 wrote: </font><br><font face=3D"Arial" color=3D"blue" size=3D"2">Justin</f=
ont> <br><font face=3D"Arial" color=3D"blue" size=3D"2">
Here to be proved wrong, but if Netbackup knows about the tapes, then surel=
y they should be listed in the Reports Module &quot;Media Lists&quot;.</fon=
t> <br><font face=3D"Times New Roman" size=3D"3">&nbsp;</font> <br><font fa=
ce=3D"Arial" color=3D"blue" size=3D"2">
Also, to prove if Netbackup does know about them and they are in the Robot,=
 doing a &quot;Media Contents&quot; report will load the tape and give you =
all the backup ID's it knows about! </font><br><font face=3D"Times New Roma=
n" size=3D"3">
&nbsp;</font> <br><font face=3D"Arial" color=3D"blue" size=3D"2">Is this of=
 any help?</font>=20
<p><font face=3D"Arial" color=3D"blue" size=3D"2"><b>Simon Weaver<br>Techni=
cal Support<br>Windows Domain Administrator</b></font><font face=3D"Arial" =
size=3D"3"> </font>
<p><font face=3D"Arial" size=3D"2"><b><i>EADS Astrium<br>Tel: 02392-708598<=
/i></b></font><font face=3D"Times New Roman" size=3D"3"><b><i> </i></b></fo=
nt>
<p><font face=3D"Arial" color=3D"red" size=3D"2"><b>Email: </b></font><a on=
click=3D"return top.js.OpenExtLink(window,event,this)" href=3D"mailto:Simon=
.Weaver AT Astrium.eads DOT net" target=3D"_blank"><font face=3D"Arial" 
color=3D"b=
lue" size=3D"2">
<b><u>Simon.Weaver AT Astrium.eads DOT net </u></b></font></a>
<p><font face=3D"Tahoma" size=3D"2">-----Original Message-----<b><br>From:<=
/b> Justin Piszcz [mailto:</font><a onclick=3D"return top.js.OpenExtLink(wi=
ndow,event,this)" href=3D"mailto:jpiszcz.backup AT gmail DOT com" 
target=3D"_blank=
"><font face=3D"Tahoma" color=3D"blue" size=3D"2">
<u> jpiszcz.backup AT gmail DOT com</u></font></a><font face=3D"Tahoma" 
size=3D"2"=
>] <b><br>Sent:</b> 08 February 2006 13:46<b><br>To:</b> </font><a onclick=
=3D"return top.js.OpenExtLink(window,event,this)" href=3D"mailto:veritas-bu=
@mailman.eng.auburn.edu" target=3D"_blank">
<font face=3D"Tahoma" color=3D"blue" size=3D"2"><u>veritas-bu AT mailman DOT 
eng.a=
uburn.edu </u></font></a><font face=3D"Tahoma" size=3D"2"><b><br>Subject:</=
b> [Veritas-bu] Help finding the status of tapes!<br></font><br><font face=
=3D"Times New Roman" size=3D"3">
Problem:</font> <br><font face=3D"Times New Roman" size=3D"3">&nbsp;</font>=
 <br><font face=3D"Times New Roman" size=3D"3">I have a few tapes:</font> <=
br><font face=3D"Times New Roman" size=3D"3">&nbsp;</font> <br><font face=
=3D"Times New Roman" size=3D"3">
L00123</font> <br><font face=3D"Times New Roman" size=3D"3">L00124</font> <=
br><font face=3D"Times New Roman" size=3D"3">L00125</font> <br><font face=
=3D"Times New Roman" size=3D"3">&nbsp;</font> <br><font face=3D"Times New R=
oman" size=3D"3">I need to find the status of these tapes across multiple m=
aster servers.
</font> <br><font face=3D"Times New Roman" size=3D"3">&nbsp;</font> <br><fo=
nt face=3D"Times New Roman" size=3D"3">Is there a text equivalent to list a=
ll of the tapes in the:</font> <br><font face=3D"Times New Roman" size=3D"3=
">&nbsp;</font> <br>
<font face=3D"Times New Roman" size=3D"3">* Media and Device Management</fo=
nt> <br><font face=3D"Times New Roman" size=3D"3">-&gt; Media</font> <br><f=
ont face=3D"Times New Roman" size=3D"3">&nbsp;</font> <br><font face=3D"Tim=
es New Roman" size=3D"3">
In the Media Manager's Media List?</font> <br><font face=3D"Times New Roman=
" size=3D"3">&nbsp;</font> <br><font face=3D"Times New Roman" size=3D"3">I =
have several tapes I need to find the status of, whether they are frozen, e=
xpired or scratch, etc...
</font> <br><font face=3D"Times New Roman" size=3D"3">&nbsp;</font> <br><fo=
nt face=3D"Times New Roman" size=3D"3">bpmedialist does not show the comple=
te listing of all of the media that has ever been in the robot.</font> <br>=
<font face=3D"Times New Roman" size=3D"3">
&nbsp;</font> <br><font face=3D"Times New Roman" size=3D"3">I am looking at=
 the documentation now but thought I'd send this out if anyone knew it off =
the top of their head?</font> <br><font face=3D"Times New Roman" size=3D"3"=
>&nbsp;</font>
 <br><font face=3D"Times New Roman" size=3D"3">Thanks,</font> <br><font fac=
e=3D"Times New Roman" size=3D"3">&nbsp;</font> <br><font face=3D"Times New =
Roman" size=3D"3">Justin.</font>=20
<table>
<tbody>
<tr>
<td bgcolor=3D"white"><font face=3D"Times New Roman" size=3D"3">This email =
is for the intended addressee only.<br>If you have received it in error the=
n you must not use, retain, disseminate or otherwise deal with it.<br>Pleas=
e notify the sender by return email.=20
<br>The views of the author may not necessarily constitute the views of EAD=
S Astrium Limited.<br>Nothing in this email shall bind EADS Astrium Limited=
 in any contract or obligation.<br><br>EADS Astrium Limited, Registered in =
England and Wales No. 2449259=20
<br>Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS=
, England</font></td></tr></tbody></table><br><br><br></p>
<p></p>
<p></p>
<p></p></p></p></p></span></div></blockquote></div><br>

------=_Part_4107_31005465.1139434898236--

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