ADSM-L

Re: TSM 5.2x & IBM 3584 Library

2006-08-02 16:35:12
Subject: Re: TSM 5.2x & IBM 3584 Library
From: "Barnes, Kenny" <Kenny.Barnes AT GMACINSURANCE DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Wed, 2 Aug 2006 16:30:56 -0400
This was learning curve for us as well.  


TODAY=`date +%Y/%j`
TIME=`date +%H%M`
TDATE=`date +%b%d%y`
INPUTFILE=/tmp/tsm_today_mtable_tapes.txt
#
for i in `cat $INPUTFILE`
 do
#       command $i
        dsmadmc -id=xxxxx -pa=t1voli2 "MOVE DRMEDIA $i
wherestate=mountable tostate=vault dbb=yes remove=bulk"
#       print $i "processed"

x=10

while [[ $x > 1 ]]
do 
  echo "$x \c"
  (( x=$x-1 ))
  sleep 1
done

reply='dsmadmc -id=xxxxx -pa=xxxxxx "q request" |grep fill |cut -f2 -d "
" |cut -f1 -d ":"'
echo $reply
dsmadmc -id=xxxxx -pa=xxxxxx "reply $reply"
 done

-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
Doug Fox
Sent: Wednesday, August 02, 2006 4:15 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: TSM 5.2x & IBM 3584 Library

Hey guys, quick question.

We recently upgraded to an IBM3584 library from an older 3494. We now
have to manually interact with the library for tape check in or outs.
When our DR media is created we have to 'q request' and then 'rep #' of
the request for each tape. This obviously is a pain since we have to
reply for every tape that is moved in or out. I was curious if you guys
had a script that could automatically reply to all open requests
perhaps? We were told upgrading to
5.3 would fix it but I'm curious if there's a way to do it without the
upgrade. If you guys can think of anything let me know :)
--------------------------------------------------------------------------------------------------------------------------------------------------
Note:  The information contained in this message may be privileged and 
confidential
and protected from disclosure.  If the reader of this message is not the 
intended recipient,
or an employee or agent responsible for delivering this message to the intended 
recipient,
you are hereby notified that any dissemination, distribution or copying of this 
communication
is strictly prohibited.  If you have received this communication in error, 
please notify us 
immediately by replying to the message and deleting it from your computer.  
Thank you.
--------------------------------------------------------------------------------------------------------------------------------------------------