Veritas-bu

[Veritas-bu] Report on available tapes

2000-10-18 04:49:00
Subject: [Veritas-bu] Report on available tapes
From: Lawrence, Bob bob.lawrence AT primark DOT com
Date: Wed, 18 Oct 2000 09:49:00 +0100
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C038DF.B6E82FCA
Content-Type: text/plain;
        charset="iso-8859-1"

I do this in Perl:

$DAILY_POOL_IN_ROBOT           = (`D:\\veritas\\volmgr\\bin\\vmquery -bx -pn
Daily |  find /C "TLD"  ` )+0 ;
$DAILY_POOL_EMPTY_IN_ROBOT     = (`D:\\veritas\\volmgr\\bin\\vmquery -bx -pn
Daily |  find    "TLD"         |  find /C "---    ---" ` )+0 ;
$DAILY_POOL_FULL_IN_ROBOT      = (`D:\\veritas\\volmgr\\bin\\vmquery -bx -pn
Daily |  find /V "---    ---"  |  find /C "TLD"        ` )+0 ;
$DAILY_POOL_EMPTY_NOT_IN_ROBOT = (`D:\\veritas\\volmgr\\bin\\vmquery -bx -pn
Daily |  find /V "TLD"         |  find /C "---    ---" ` )+0 ;


Just change the pool name.

Bob


-----Original Message-----
From: Dale_Kramer AT steris DOT com [ mailto:Dale_Kramer AT steris DOT com
<mailto:Dale_Kramer AT steris DOT com> ]
Sent: 17 October 2000 19:14
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Report on available tapes


     Is there a way to generate a report that will tell me how many tapes
     are available for use in backup for a volume pool.  Basically I want
     an easy way to determine if there are enough tapes in the pool for
     backups other than bringing up media manager and counting.
    
     thanx,
     Dale Kramer
     STERIS corp.
     dale_kramer AT steris DOT com
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
<http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu> 



------_=_NextPart_001_01C038DF.B6E82FCA
Content-Type: text/html;
        charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">



<META content='"MSHTML 4.72.3612.1706"' name=GENERATOR>
</HEAD>
<BODY>
<P><FONT size=2></FONT><FONT color=#0000ff face=Arial size=2>I do this in 
Perl:</FONT></P>
<P><FONT 
size=2>$DAILY_POOL_IN_ROBOT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
= (`D:\\veritas\\volmgr\\bin\\vmquery -bx -pn Daily |&nbsp; find /C 
&quot;TLD&quot;&nbsp; ` )+0 
;<BR>$DAILY_POOL_EMPTY_IN_ROBOT&nbsp;&nbsp;&nbsp;&nbsp; = 
(`D:\\veritas\\volmgr\\bin\\vmquery -bx -pn Daily |&nbsp; 
find&nbsp;&nbsp;&nbsp; 
&quot;TLD&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; find /C 
&quot;---&nbsp;&nbsp;&nbsp; ---&quot; ` )+0 
;<BR>$DAILY_POOL_FULL_IN_ROBOT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
(`D:\\veritas\\volmgr\\bin\\vmquery -bx -pn Daily |&nbsp; find /V 
&quot;---&nbsp;&nbsp;&nbsp; ---&quot;&nbsp; |&nbsp; find /C 
&quot;TLD&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ` )+0 
;<BR>$DAILY_POOL_EMPTY_NOT_IN_ROBOT = (`D:\\veritas\\volmgr\\bin\\vmquery -bx 
-pn Daily |&nbsp; find /V 
&quot;TLD&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; find /C 
&quot;---&nbsp;&nbsp;&nbsp; ---&quot; ` )+0 ;<BR></FONT></P>
<P><FONT size=2></FONT><FONT color=#0000ff face=Arial size=2>Just change the 
pool name.</FONT></P>
<P><FONT color=#0000ff face=Arial size=2>Bob</FONT></P>
<P><FONT size=2><BR>-----Original Message-----<BR>From: Dale_Kramer AT steris 
DOT com 
[<A 
href="mailto:Dale_Kramer AT steris DOT com">mailto:Dale_Kramer AT steris DOT 
com</A>]<BR>Sent: 
17 October 2000 19:14<BR>To: veritas-bu AT mailman.eng.auburn DOT 
edu<BR>Subject: 
[Veritas-bu] Report on available tapes<BR><BR><BR>&nbsp;&nbsp;&nbsp;&nbsp; Is 
there a way to generate a report that will tell me how many 
tapes<BR>&nbsp;&nbsp;&nbsp;&nbsp; are available for use in backup for a volume 
pool.&nbsp; Basically I want<BR>&nbsp;&nbsp;&nbsp;&nbsp; an easy way to 
determine if there are enough tapes in the pool for<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
backups other than bringing up media manager and 
counting.<BR>&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
thanx,<BR>&nbsp;&nbsp;&nbsp;&nbsp; Dale Kramer<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
STERIS corp.<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
dale_kramer AT steris DOT 
com<BR>_______________________________________________<BR>Veritas-bu 
maillist&nbsp; -&nbsp; Veritas-bu AT mailman.eng.auburn DOT edu<BR><A 
href="http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu"; 
target=_blank>http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu</A><BR></FONT></P></BODY></HTML>

------_=_NextPart_001_01C038DF.B6E82FCA--



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