Re: [Veritas-bu] robtest documentation?

2006-03-09 Thread Dave Markham
Barber, Layne (Contractor) wrote:

 * Starting robtest
   o robtest
   o 1  -- to select TLD 0
 * Getting help
   o ?
 * Looking at contents of the tape drives
   o s d
 * Looking at the contents of the library
   o s s
 * Moving a tape from a drive to a library slot
   o s d  -- to identify drive number that has tape (Contains
 Cartridge = yes, Barcode=XX)
   o s s  -- to identify an empty slot in the tape library
 (Netbackup will need to be re-inventoried)
   o m d# s#  -- from from drive # to slot #
   o s d  -- verify the tape drive is empty
   o s s -- verify the library slot has the tape


 
 *From:* [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] *On Behalf Of *Justin
 Piszcz
 *Sent:* Wednesday, March 08, 2006 08:13
 *To:* veritas-bu@mailman.eng.auburn.edu
 *Subject:* [Veritas-bu] robtest documentation?

 I need to move a tape in drive 3 to a slot in the robot, is there a
 document in how to use robtest?

 Thanks,

 Justin.
You can also do this within scripts if you like ( something i found out
a while ago ), so you can automatically move stuff.

echo m s3 d3 | tldtest -r /dev/sg/c0t0l0  - whatever robot path is.

In a script i just get the robot path like this :-

if [ -s /tmp/robot ];then
robot=`cat /tmp/robot`
else
robot=`/opt/openv/volmgr/bin/sgscan |awk -F: '/P1000/ {print $1}'`
echo $robot  /tmp/robot
fi

echo s s | /opt/openv/volmgr/bin/tldtest -r $robot   /tmp/tapes-in-robot

..blah blah

hope it helps

Dave
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] robtest documentation?

2006-03-08 Thread Justin Piszcz
Ah, thanks!On 3/8/06, Paul Keating [EMAIL PROTECTED] wrote:





type 
robtest at the command line.

select 
the robot from the list

type ? 
for instructions.

I 
don't believe there's a doc on itat least not that I've seen..but then 
Ihaven't beenlooking for one.

Paul

  
  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]] On Behalf Of Justin 
  PiszczSent: March 8, 2006 9:13 AMTo: 
  veritas-bu@mailman.eng.auburn.eduSubject: [Veritas-bu] robtest 
  documentation?I need to move a tape in drive 3 to a slot 
  in the robot, is there a document in how to use 
  robtest?Thanks,Justin.



Re: [Veritas-bu] robtest documentation?

2006-03-08 Thread Justin Piszcz
Thanks.On 3/8/06, Justin Piszcz [EMAIL PROTECTED] wrote:
Ah, thanks!On 3/8/06, Paul Keating 
[EMAIL PROTECTED] wrote:





type 
robtest at the command line.

select 
the robot from the list

type ? 
for instructions.

I 
don't believe there's a doc on itat least not that I've seen..but then 
Ihaven't beenlooking for one.

Paul

  
  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]] On Behalf Of Justin 
  PiszczSent: March 8, 2006 9:13 AMTo: 
  veritas-bu@mailman.eng.auburn.eduSubject: [Veritas-bu] robtest 
  documentation?I need to move a tape in drive 3 to a slot 
  in the robot, is there a document in how to use 
  robtest?Thanks,Justin.





RE: [Veritas-bu] robtest documentation?

2006-03-08 Thread Barber, Layne \(Contractor\)





  Starting robtest
  
robtest
1 -- to select TLD 0
  Getting help
  
?
  Looking at contents of the tape drives
  
s d
  Looking at the contents of the library
  
s s
  Moving a tape from a drive to a library slot
  
s d -- to identify drive number that has tape (Contains 
Cartridge = yes, Barcode=XX)
  
s s -- to identify an empty slot in the tape library 
(Netbackup will need to be re-inventoried)
  
m d# s# -- from from drive # to slot #
  
s d -- verify the tape drive is empty
  
s s -- verify the library slot has the 
tape


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Justin 
PiszczSent: Wednesday, March 08, 2006 08:13To: 
veritas-bu@mailman.eng.auburn.eduSubject: [Veritas-bu] robtest 
documentation?
I need to move a tape in drive 3 to a slot in the robot, is there a 
document in how to use robtest?Thanks,Justin.