Veritas-bu

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

2006-02-08 09:58:16
Subject: [Veritas-bu] Help finding the status of tapes!
From: manuel.j.desousa AT jpmchase DOT com (manuel.j.desousa AT jpmchase DOT com)
Date: Wed, 8 Feb 2006 14:58:16 +0000
This is a multipart message in MIME format.
--=_alternative 00523D568025710F_=
Content-Type: text/plain; charset="us-ascii"

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> 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 all 
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 
-----Original Message-----
From: Justin Piszcz [mailto: jpiszcz.backup AT gmail DOT com] 
Sent: 08 February 2006 13:46
To: veritas-bu AT mailman.eng.auburn DOT edu 
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



--=_alternative 00523D568025710F_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="sans-serif">Justin,</font>
<br>
<br>
<br><font size=2 face="sans-serif">for tape in ID1 ID2 ID3 ID4...</font>
<br><font size=2 face="sans-serif">do</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; for i in 
`bpstulist | awk '{print $3 | sort -u `</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; do</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; vmquery -m $tape -h $i</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; done</font>
<br><font size=2 face="sans-serif">done</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br>
<br>
<br><font size=2 face="sans-serif">where &quot;ID1 ID2 ID3 ID4&quot; etc are 
your media id's...</font>
<br>
<br>
<br><font size=2 face="sans-serif">should do it...</font>
<br>
<br><font size=2 face="sans-serif">JdS</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Justin Piszcz &lt;jpiszcz.backup AT gmail 
DOT com&gt;</b></font>
<br><font size=1 face="sans-serif">Sent by: veritas-bu-admin AT 
mailman.eng.auburn DOT edu</font>
<p><font size=1 face="sans-serif">08/02/2006 14:19</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; 
&nbsp; &nbsp; &nbsp;&quot;WEAVER, Simon&quot; &lt;simon.weaver AT astrium.eads 
DOT net&gt;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; 
&nbsp; &nbsp; &nbsp;veritas-bu AT mailman.eng.auburn DOT edu</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; 
&nbsp; &nbsp; &nbsp;Re: [Veritas-bu] Help finding the status of 
tapes!</font></table>
<br>
<br>
<br><font size=3 face="Times New Roman">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 &amp; media servers.</font>
<br><font size=3 face="Times New Roman">&nbsp;</font>
<br><font size=3 face="Times New Roman">Justin.<br>
<br>
 </font>
<br><font size=3 face="Times New Roman">On 2/8/06, <b>WEAVER, Simon</b> 
&lt;</font><a href=mailto:simon.weaver AT astrium.eads DOT net><font size=3 
color=blue face="Times New Roman"><u>simon.weaver AT astrium.eads DOT 
net</u></font></a><font size=3 face="Times New Roman">&gt; wrote: </font>
<br><font size=2 color=blue face="Arial">Justin</font>
<br><font size=2 color=blue face="Arial">Here to be proved wrong, but if 
Netbackup knows about the tapes, then surely they should be listed in the 
Reports Module &quot;Media Lists&quot;.</font>
<br><font size=3 face="Times New Roman">&nbsp;</font>
<br><font size=2 color=blue face="Arial">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 size=3 face="Times New Roman">&nbsp;</font>
<br><font size=2 color=blue face="Arial">Is this of any help?</font>
<p><font size=2 color=blue face="Arial"><b>Simon Weaver<br>
Technical Support<br>
Windows Domain Administrator</b></font><font size=3 face="Arial"> </font>
<p><font size=2 face="Arial"><b><i>EADS Astrium<br>
Tel: 02392-708598</i></b></font><font size=3 face="Times New Roman"><b><i> 
</i></b></font>
<p><font size=2 color=red face="Arial"><b>Email: </b></font><a 
href=mailto:Simon.Weaver AT Astrium.eads DOT net target=_blank><font size=2 
color=blue face="Arial"><b><u>Simon.Weaver AT Astrium.eads DOT net 
</u></b></font></a>
<p><font size=2 face="Tahoma">-----Original Message-----<b><br>
From:</b> Justin Piszcz [mailto:</font><a href=mailto:jpiszcz.backup AT gmail 
DOT com target=_blank><font size=2 color=blue face="Tahoma"><u> jpiszcz.backup 
AT gmail DOT com</u></font></a><font size=2 face="Tahoma">] <b><br>
Sent:</b> 08 February 2006 13:46<b><br>
To:</b> </font><a href="mailto:veritas-bu AT mailman.eng.auburn DOT edu" 
target=_blank><font size=2 color=blue face="Tahoma"><u>veritas-bu AT 
mailman.eng.auburn DOT edu </u></font></a><font size=2 face="Tahoma"><b><br>
Subject:</b> [Veritas-bu] Help finding the status of tapes!<br>
</font>
<br><font size=3 face="Times New Roman">Problem:</font>
<br><font size=3 face="Times New Roman">&nbsp;</font>
<br><font size=3 face="Times New Roman">I have a few tapes:</font>
<br><font size=3 face="Times New Roman">&nbsp;</font>
<br><font size=3 face="Times New Roman">L00123</font>
<br><font size=3 face="Times New Roman">L00124</font>
<br><font size=3 face="Times New Roman">L00125</font>
<br><font size=3 face="Times New Roman">&nbsp;</font>
<br><font size=3 face="Times New Roman">I need to find the status of these 
tapes across multiple master servers.</font>
<br><font size=3 face="Times New Roman">&nbsp;</font>
<br><font size=3 face="Times New Roman">Is there a text equivalent to list all 
of the tapes in the:</font>
<br><font size=3 face="Times New Roman">&nbsp;</font>
<br><font size=3 face="Times New Roman">* Media and Device Management</font>
<br><font size=3 face="Times New Roman">-&gt; Media</font>
<br><font size=3 face="Times New Roman">&nbsp;</font>
<br><font size=3 face="Times New Roman">In the Media Manager's Media 
List?</font>
<br><font size=3 face="Times New Roman">&nbsp;</font>
<br><font size=3 face="Times New Roman">I have several tapes I need to find the 
status of, whether they are frozen, expired or scratch, etc...</font>
<br><font size=3 face="Times New Roman">&nbsp;</font>
<br><font size=3 face="Times New Roman">bpmedialist does not show the complete 
listing of all of the media that has ever been in the robot.</font>
<br><font size=3 face="Times New Roman">&nbsp;</font>
<br><font size=3 face="Times New Roman">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 size=3 face="Times New Roman">&nbsp;</font>
<br><font size=3 face="Times New Roman">Thanks,</font>
<br><font size=3 face="Times New Roman">&nbsp;</font>
<br><font size=3 face="Times New Roman">Justin.</font>
<table>
<tr>
<td bgcolor=white><font size=3 face="Times New Roman">This email is for the 
intended addressee only.<br>
If you have received it in error then you must not use, retain, disseminate or 
otherwise deal with it.<br>
Please notify the sender by return email. <br>
The views of the author may not necessarily constitute the views of EADS 
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 <br>
Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, 
England</font></table>
<br>
<br>
<br>
--=_alternative 00523D568025710F_=--

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