[Veritas-bu] Report on available tapes
2000-10-18 04:49:00
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
= (`D:\\veritas\\volmgr\\bin\\vmquery -bx -pn Daily | find /C
"TLD" ` )+0
;<BR>$DAILY_POOL_EMPTY_IN_ROBOT =
(`D:\\veritas\\volmgr\\bin\\vmquery -bx -pn Daily |
find
"TLD" | find /C
"--- ---" ` )+0
;<BR>$DAILY_POOL_FULL_IN_ROBOT =
(`D:\\veritas\\volmgr\\bin\\vmquery -bx -pn Daily | find /V
"--- ---" | find /C
"TLD" ` )+0
;<BR>$DAILY_POOL_EMPTY_NOT_IN_ROBOT = (`D:\\veritas\\volmgr\\bin\\vmquery -bx
-pn Daily | find /V
"TLD" | find /C
"--- ---" ` )+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> Is
there a way to generate a report that will tell me how many
tapes<BR> are available for use in backup for a volume
pool. Basically I want<BR> an easy way to
determine if there are enough tapes in the pool for<BR>
backups other than bringing up media manager and
counting.<BR> <BR>
thanx,<BR> Dale Kramer<BR>
STERIS corp.<BR>
dale_kramer AT steris DOT
com<BR>_______________________________________________<BR>Veritas-bu
maillist - 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--
|
|
|