Veritas-bu

[Veritas-bu] Robot Slots

2003-07-31 11:54:44
Subject: [Veritas-bu] Robot Slots
From: Mark.Donaldson AT experianems DOT com (Donaldson, Mark)
Date: Thu, 31 Jul 2003 09:54:44 -0600
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_01C3577C.0F5A8E60
Content-Type: text/plain

Tapes in slots:

vmquery -w -a | awk 'NR>3 && $9!="-" {print $1}'

 
 
Tapes in slots with robot & slot info:

echo "Rob\tSlot\tTape"
vmquery -w -a | awk 'NR>3 && $9!="-" {print $8 "\t" $9 "\t" $1}' | sort -n

(this output could be prettied up a bit more)
 
 
Robot slot count:

vmchange -res -robot_info -rn <robnum> -rt <robtype> -rh <robhost> | awk
'{print $5}'

 
Does this cover it?
 
HTH - Mark

-----Original Message-----
From: J Glacius [mailto:backup_acct_101 AT yahoo DOT com]
Sent: Wednesday, July 30, 2003 5:52 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Robot Slots


Does anyone know how I can get the robot slot information of my media server
from my master's CLI?
 
We were using vmcheckxxx but Veritas has changed the output in FP4...so now
I can't make my script work.
 
Any suggestions would be greatly beneficial.
 
Thanks 
J



  _____  

Do you Yahoo!?
Yahoo!  <http://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com>
SiteBuilder - Free, easy-to-use web site design software


------_=_NextPart_001_01C3577C.0F5A8E60
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">


<META content="MSHTML 5.50.4926.2500" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=303384615-31072003><FONT face=Arial color=#0000ff size=2>Tapes 
in slots:</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV><SPAN class=303384615-31072003><FONT face=Arial color=#0000ff 
  size=2>vmquery -w -a | awk 'NR&gt;3 &amp;&amp; $9!="-" {print 
  $1}'</FONT></SPAN></DIV></BLOCKQUOTE>
<DIV><SPAN class=303384615-31072003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=303384615-31072003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=303384615-31072003><FONT face=Arial color=#0000ff size=2>Tapes 
in slots with robot &amp; slot info:</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV><SPAN class=303384615-31072003><FONT face=Arial color=#0000ff 
size=2>echo 
  "Rob\tSlot\tTape"</FONT></SPAN></DIV>
  <DIV><SPAN class=303384615-31072003><FONT face=Arial color=#0000ff 
  size=2><SPAN class=303384615-31072003><FONT face=Arial color=#0000ff 
  size=2>vmquery -w -a | awk 'NR&gt;3 &amp;&amp; $9!="-" {print $8 "\t" $9 "\t" 
  $1}' | sort -n</FONT></SPAN></FONT></SPAN></DIV></BLOCKQUOTE>
<DIV><SPAN class=303384615-31072003><FONT face=Arial color=#0000ff size=2><SPAN 
class=303384615-31072003>(this output could be prettied up a bit 
more)</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=303384615-31072003><FONT face=Arial color=#0000ff size=2><SPAN 
class=303384615-31072003></SPAN></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=303384615-31072003><FONT face=Arial color=#0000ff size=2><SPAN 
class=303384615-31072003></SPAN></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=303384615-31072003><FONT face=Arial color=#0000ff size=2><SPAN 
class=303384615-31072003>Robot slot count:</SPAN></FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV><SPAN class=303384615-31072003><FONT face=Arial color=#0000ff 
  size=2><SPAN class=303384615-31072003>vmchange -res -robot_info 
  -rn&nbsp;&lt;robnum&gt; -rt &lt;robtype&gt; -rh &lt;robhost&gt; |&nbsp;awk 
  '{print $5}'</SPAN></FONT></SPAN></DIV></BLOCKQUOTE>
<DIV><SPAN class=303384615-31072003><FONT face=Arial color=#0000ff size=2><SPAN 
class=303384615-31072003></SPAN></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=303384615-31072003><FONT face=Arial color=#0000ff size=2><SPAN 
class=303384615-31072003>Does this cover it?</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=303384615-31072003><FONT face=Arial color=#0000ff size=2><SPAN 
class=303384615-31072003></SPAN></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=303384615-31072003><FONT face=Arial color=#0000ff size=2><SPAN 
class=303384615-31072003>HTH - Mark</SPAN></FONT></SPAN></DIV>
<BLOCKQUOTE>
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> J Glacius 
  [mailto:backup_acct_101 AT yahoo DOT com]<BR><B>Sent:</B> Wednesday, July 30, 
2003 
  5:52 PM<BR><B>To:</B> veritas-bu AT mailman.eng.auburn DOT 
edu<BR><B>Subject:</B> 
  [Veritas-bu] Robot Slots<BR><BR></FONT></DIV>
  <DIV>Does anyone know how I can get the robot slot information of my media 
  server from my master's CLI?</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>We were using vmcheckxxx but Veritas has changed the output in FP4...so 
  now I can't make my script work.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Any suggestions would be greatly beneficial.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Thanks </DIV>
  <DIV>J</DIV>
  <P>
  <HR SIZE=1>
  Do you Yahoo!?<BR><A 
  href="http://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com";>Yahoo! 
  SiteBuilder</A> - Free, easy-to-use web site design 
software</BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C3577C.0F5A8E60--

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