Re: TSM 5.2x & IBM 3584 Library
2006-08-02 16:34:14
Here's a little AIX shell script we used to use pre-5.3 days.
# set the admin username and password and the email contact
dsmuser="admin"
dsmpass=`cat /usr/tivoli/tsm/server/bin/local/admin.pass`
dsmadmc -id=$dsmuser -pa=$dsmpass "run checkin"
sleep 15
REQNO=$(dsmadmc -id=$dsmuser -pa=$dsmpass "q req"|grep ANR8373I| awk '{print
$2}'|tr -d ':')
dsmadmc -id=$dsmuser -pa=$dsmpass "reply $REQNO"
# finished
exit 0
Created a server script that had the checkin libv command called...."CHECKIN".
-----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 :)
|
|
|