Veritas-bu

[Veritas-bu] Importing/Exporting tapes: vmchange and vmupdate

2001-02-16 16:29:06
Subject: [Veritas-bu] Importing/Exporting tapes: vmchange and vmupdate
From: David A. Chapa david AT datastaff DOT com
Date: Fri, 16 Feb 2001 15:29:06 -0600
This is a multi-part message in MIME format.

------=_NextPart_000_0016_01C0982D.331EA310
Content-Type: text/plain;
        charset="us-ascii"
Content-Transfer-Encoding: 7bit

Yes, exactly.

And in Veritas' defense, the Docs are much better now than they have ever
been!!

David

<><><><><><><><><><><><><><><><><><><><>
David A. Chapa
Consulting Manager
DataStaff, Inc.
847 413 1144
http://www.consulting.datastaff.com
---------------------------------------
NBU-LSERV AT datastaff DOT com - Adv. Scripting

  -----Original Message-----
  From: anthony.guzzi AT storability DOT com [mailto:anthony.guzzi AT 
storability DOT com]
  Sent: Friday, February 16, 2001 2:19 PM
  To: David A. Chapa
  Cc: veritas-bu AT Eng.Auburn DOT EDU
  Subject: RE: [Veritas-bu] Importing/Exporting tapes: vmchange and vmupdate



  Ahhh!   A question I had myself.   You're right, there don't appear to be
any  vm commands that tell you this so using the '*test' commands only to
query the library (and not move anything) is a sensible use  assuming you
keep in mind that while the '*test' commands are access in the robot,
NetBackup routines can't.  (Don't want to lock out the NB processes, do we.)

  As for determining when the cap becomes full,  keep in mind that you have
to issue the command for each tape that needs to be ejected. The 'vmchange'
command will return a status code of 221 when the CAP is full and it can't
move a tape to the cap.  Now don't everyone go running to your NetBackup
Troubleshooting Guide to look this status code up because this is not a NB
221, but a Media Manager 221.  And again we run into the lack of sufficient
documentation from Veritas --- Media Manager status codes are not properly
or completely documented (at least I haven't been able to find a list of
them I was able to for the NetBackup status codes).

  As for what to do when you get a 221, that's up the person writing the
script; you're talking programming logic now.

  -- Tony Guzzi
  AssuredRestore engineering team
  Storability, Inc.



       "David A. Chapa" <david AT datastaff DOT com>
        02/16/2001 02:43 PM


                To:        <anthony.guzzi AT storability DOT com>
                cc:        <veritas-bu AT Eng.Auburn DOT EDU>
                Subject:        RE: [Veritas-bu] Importing/Exporting tapes:
vmchange and vmupdate



  What happens when you issue these commands and the mail cap becomes full
during the process and your script hasn't finished moving all of the tapes ?

  Is there any way for the vm commands to determine how full the mail cap is
before you begin moving tapes to the cap?

  You can determine these things with tldtest, I've not seen a way to do it
with the vm* commands.

  I'm from the old school (v 1.6) so I could be wrong, maybe they have
changed.

  David

  <><><><><><><><><><><><><><><><><><><><>
  David A. Chapa
  Consulting Manager
  DataStaff, Inc.
  847 413 1144
  http://www.consulting.datastaff.com
  ---------------------------------------
  NBU-LSERV AT datastaff DOT com - Adv. Scripting

  -----Original Message-----
  From: anthony.guzzi AT storability DOT com [mailto:anthony.guzzi AT 
storability DOT com]
  Sent: Friday, February 16, 2001 1:21 PM
  To: David A. Chapa
  Cc: veritas-bu AT Eng.Auburn DOT EDU
  Subject: RE: [Veritas-bu] Importing/Exporting tapes: vmchange and vmupdate


  Dave,

    Why would you want to combine 'tl*test' with the 'vm*' commands to move
tapes?  I've found that I can import and export tapes using just the vm
commands (no need for 'tl*test').  And while I have yet to have a reason to
do it, it appears the vm commands can also move tapes around the library.
The only times I've found that I need to use any of the '*test' commands
(e.g. robtest, tldtest) is to debug a problem with the library, never as a
normal course of daily processing.  It appears the Veritas software provides
a fairly complete set of commands and utilities ..... ITS THE DOCUMENTATION
OF THESE COMMANDS THAT'S LACKING!  (Hear that Veritas?)

  -- Tony Guzzi
  Solutions Engineer
  Storability, Inc.

  http://www.storability.com



------=_NextPart_000_0016_01C0982D.331EA310
Content-Type: text/html;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dus-ascii" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3103.1000" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D882112721-16022001>Yes,=20
exactly.</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D882112721-16022001>And in=20
Veritas' defense, the Docs are much better now than they have ever =
been!!&nbsp;=20
</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D882112721-16022001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D882112721-16022001>David</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<P><FONT=20
size=3D2>&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;=
&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&=
lt;&gt;&lt;&gt;&lt;&gt;<BR>David=20
A. Chapa<BR>Consulting Manager<BR>DataStaff, Inc.<BR>847 413 1144<BR><A=20
href=3D"http://www.consulting.datastaff.com/"=20
target=3D_blank>http://www.consulting.datastaff.com</A><BR>--------------=
-------------------------<BR>NBU-LSERV AT datastaff DOT com=20
- Adv. Scripting</FONT> </P>
<BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px">
  <DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B>=20
  anthony.guzzi AT storability DOT com=20
  [mailto:anthony.guzzi AT storability DOT com]<BR><B>Sent:</B> Friday, =
February 16,=20
  2001 2:19 PM<BR><B>To:</B> David A. Chapa<BR><B>Cc:</B>=20
  veritas-bu AT Eng.Auburn DOT EDU<BR><B>Subject:</B> RE: [Veritas-bu]=20
  Importing/Exporting tapes: vmchange and =
vmupdate<BR><BR></DIV></FONT><BR><FONT=20
  face=3Dsans-serif size=3D2>Ahhh! &nbsp; A question I had myself. =
&nbsp; You're=20
  right, there don't appear to be any &nbsp;vm commands that tell you =
this so=20
  using the '*test' commands only to query the library (and not move =
anything)=20
  is a sensible use &nbsp;assuming you keep in mind that while the =
'*test'=20
  commands are access in the robot, NetBackup routines can't. =
&nbsp;(Don't want=20
  to lock out the NB processes, do we.)</FONT> <BR><BR><FONT =
face=3Dsans-serif=20
  size=3D2>As for determining when the cap becomes full, &nbsp;keep in =
mind that=20
  you have to issue the command for each tape that needs to be ejected. =
The=20
  'vmchange' command will return a status code of 221 when the CAP is =
full and=20
  it can't move a tape to the cap. &nbsp;Now don't everyone go running =
to your=20
  NetBackup Troubleshooting Guide to look this status code up because =
this is=20
  not a NB 221, but a Media Manager 221. &nbsp;And again we run into the =
lack of=20
  sufficient documentation from Veritas --- Media Manager status codes =
are not=20
  properly or completely documented (at least I haven't been able to =
find a list=20
  of them I was able to for the NetBackup status codes).</FONT> =
<BR><BR><FONT=20
  face=3Dsans-serif size=3D2>As for what to do when you get a 221, =
that's up the=20
  person writing the script; you're talking programming logic =
now.</FONT>=20
  <BR><FONT face=3Dsans-serif size=3D2><BR>-- Tony =
Guzzi<BR>AssuredRestore=20
  engineering team</FONT> <BR><FONT face=3Dsans-serif =
size=3D2>Storability,=20
  Inc.<BR></FONT><BR><BR><BR>
  <TABLE width=3D"100%">
    <TBODY>
    <TR vAlign=3Dtop>
      <TD>
      <TD><FONT face=3Dsans-serif size=3D1><B>"David A. Chapa"=20
        &lt;david AT datastaff DOT com&gt;</B></FONT>=20
        <P><FONT face=3Dsans-serif size=3D1>02/16/2001 02:43 PM</FONT> =
<BR></P>
      <TD><FONT face=3DArial size=3D1>&nbsp; &nbsp; &nbsp; &nbsp; =
</FONT><BR><FONT=20
        face=3Dsans-serif size=3D1>&nbsp; &nbsp; &nbsp; &nbsp; To: =
&nbsp; &nbsp;=20
        &nbsp; &nbsp;&lt;anthony.guzzi AT storability DOT com&gt;</FONT> =
<BR><FONT=20
        face=3Dsans-serif size=3D1>&nbsp; &nbsp; &nbsp; &nbsp; cc: =
&nbsp; &nbsp;=20
        &nbsp; &nbsp;&lt;veritas-bu AT Eng.Auburn DOT EDU&gt;</FONT> 
<BR><FONT=20
        face=3Dsans-serif size=3D1>&nbsp; &nbsp; &nbsp; &nbsp; Subject: =
&nbsp;=20
        &nbsp; &nbsp; &nbsp;RE: [Veritas-bu] Importing/Exporting tapes: =
vmchange=20
        and vmupdate</FONT></TR></TBODY></TABLE><BR><BR><BR><FONT =
color=3Dblue=20
  face=3DArial size=3D2>What happens when you issue these commands and =
the mail cap=20
  becomes full during the process and your script hasn't finished moving =
all of=20
  the tapes ?</FONT> <BR><FONT face=3D"Times New Roman" =
size=3D3>&nbsp;</FONT>=20
  <BR><FONT color=3Dblue face=3DArial size=3D2>Is there any way for the =
vm commands to=20
  determine how full the mail cap is before you begin moving tapes to =
the=20
  cap?</FONT> <BR><FONT face=3D"Times New Roman" size=3D3>&nbsp;</FONT> =
<BR><FONT=20
  color=3Dblue face=3DArial size=3D2>You can determine these things with =
tldtest, I've=20
  not seen a way to do it with the vm* commands.</FONT> <BR><FONT=20
  face=3D"Times New Roman" size=3D3>&nbsp;</FONT> <BR><FONT color=3Dblue =
face=3DArial=20
  size=3D2>I'm from the old school (v 1.6) so I could be wrong, maybe =
they have=20
  changed.</FONT> <BR><FONT face=3D"Times New Roman" =
size=3D3>&nbsp;</FONT>=20
  <BR><FONT color=3Dblue face=3DArial size=3D2>David</FONT> <BR><FONT=20
  face=3D"Times New Roman" size=3D3>&nbsp;</FONT>=20
  <P><FONT face=3D"Times New Roman"=20
  =
size=3D2>&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;=
&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&=
lt;&gt;&lt;&gt;&lt;&gt;<BR>David=20
  A. Chapa<BR>Consulting Manager<BR>DataStaff, Inc.<BR>847 413 =
1144</FONT><FONT=20
  color=3Dblue face=3D"Times New Roman" size=3D2><U><BR></U></FONT><A=20
  href=3D"http://www.consulting.datastaff.com/"; target=3D_blank><FONT =
color=3Dblue=20
  face=3D"Times New Roman"=20
  size=3D2><U>http://www.consulting.datastaff.com</U></FONT></A><FONT=20
  face=3D"Times New Roman"=20
  =
size=3D2><BR>---------------------------------------<BR>NBU-LSERV@datasta=
ff.com=20
  - Adv. Scripting</FONT><FONT face=3D"Times New Roman" size=3D3> =
</FONT>
  <P><FONT face=3DTahoma size=3D2>-----Original =
Message-----<B><BR>From:</B>=20
  anthony.guzzi AT storability DOT com=20
  [mailto:anthony.guzzi AT storability DOT com]<B><BR>Sent:</B> Friday, =
February 16,=20
  2001 1:21 PM<B><BR>To:</B> David A. Chapa<B><BR>Cc:</B>=20
  veritas-bu AT Eng.Auburn DOT EDU<B><BR>Subject:</B> RE: [Veritas-bu]=20
  Importing/Exporting tapes: vmchange and vmupdate<BR></FONT><BR><FONT=20
  face=3Dsans-serif size=3D2><BR>Dave,</FONT><FONT face=3D"Times New =
Roman" size=3D3>=20
  <BR></FONT><FONT face=3Dsans-serif size=3D2><BR>&nbsp; Why would you =
want to=20
  combine 'tl*test' with the 'vm*' commands to move tapes? &nbsp;I've =
found that=20
  I can import and export tapes using just the vm commands (no need for=20
  'tl*test'). &nbsp;And while I have yet to have a reason to do it, it =
appears=20
  the vm commands can also move tapes around the library. &nbsp;The only =
times=20
  I've found that I need to use any of the '*test' commands (e.g. =
robtest,=20
  tldtest) is to debug a problem with the library, never as a normal =
course of=20
  daily processing. &nbsp;It appears the Veritas software provides a =
fairly=20
  complete set of commands and utilities ..... ITS THE DOCUMENTATION OF =
THESE=20
  COMMANDS THAT'S LACKING! &nbsp;(Hear that Veritas?)</FONT><FONT=20
  face=3D"Times New Roman" size=3D3> </FONT><FONT face=3Dsans-serif =
size=3D2><BR><BR>--=20
  Tony Guzzi<BR>Solutions Engineer</FONT><FONT face=3D"Times New Roman" =
size=3D3>=20
  </FONT><FONT face=3Dsans-serif size=3D2><BR>Storability, =
Inc.</FONT><FONT=20
  face=3D"Times New Roman" size=3D3> <BR></FONT><FONT face=3Dsans-serif=20
  size=3D2><BR>http://www.storability.com</FONT> =
<BR></P></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0016_01C0982D.331EA310--




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