Re: 3494 on a Unix server
2003-08-08 11:16:28
Here's a script fragment that does basically what you're looking for. Feel
free to use it.
MTLIB="/dev/lmcp0"
MAILBAG="you AT here DOT com"
# Eject any database backups tapes that have been generated
since the last ejection of tapes.
if [ -f "/adsm_logs/backup_volume_name_for_checkout" ]; then
while read BKVOL; do
# Check if all robot output stations are full
while [ 1 -eq 1 ]; do
MTFULL=`mtlib -l $MTLIB -qL|grep full`
if [ -z "$MTFULL" ]; then break; fi
echo `date +"%D %T"`" <Eject_tape - All output stations
full>"
mailx -s "ADSM Output Stations are full at the
server Server" $MAILBAG
echo `date +"%D %T"`" <Eject_tape - All output stations
full>" >> /adsm_logs/tapeeject.log
sleep 120
done
I pulled out a bunch of stuff specific to my setup. I think I got it all,
but I can't guarantee I fixed it all here. But the jest of what you need it
there.
Thanks,
David N. Reiss
TSM Support Engineer
david.reiss AT siemens DOT com
407-736-3912
------------
When then going gets weird, the weird turn pro. - Hunter S. Thompson
-----Original Message-----
From: David E Ehresman [mailto:deehre01 AT LOUISVILLE DOT EDU]
Sent: Friday, August 08, 2003 10:58 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: 3494 on a Unix server
For those of you using a 3494 library on a Unix tsm server, does your
3494 have a "Convenience I/O Station"? If so, do you run a script that
notifies operations when the station is full? If so, could you share
the script?
David Ehresman
deehre01 AT louisville DOT edu
|
|
|