Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does anyone know where I might find a collection of sample scripts? 1

Status
Not open for further replies.

alanvanwyk

IS-IT--Management
Jul 26, 2005
1
GB
We are new to Networker and we are going to need to create a collection of scripts in order to manage our systems.

the first one that we are trying to create is one that I'd imagine would be fairly siple, but I am not quite sure where to start.
We'd like 1 backup a week's tape ejected, then removed from our Tape library, so effectively, I need some sort of a script to actually kick the tape out the box so that when support staff poip in on a friday morning, they simply open the door, remove the tapes and send them off to our off site backup store.

I don't really expect that anyone feels like wasting their time writing the script for me, but i was wondering if anyone knows of any really good web resources where I might find this kind of info(of course if someone has a scrpit of this kind, it would be very much appreciated if you could post it for me)

Thanks
Alan
 
Not sure if this is what you're looking for, but I created a batch file with the following:

nsrmm.exe -j
pause

I created a scheduled task to run at the same time every morning on over 35 legato servers so that the tapes would be ejected and waiting on the local IT staff to remove them and insert the next tape for that night. If this is one server, you shouldn't have that much to worry about, and if there are multiple drives, I believe this script simply unloads all available drives. I also have a script I wrote to kill any running jobs right before the tape eject script would run. Hope this helps.
 
Actually, I found one I tested successfully about a year ago for my tape library which has 4 AIT drives in it:

echo y | nsrmm.exe -j -f \\.\Tape0
echo y | nsrmm.exe -j -f \\.\Tape1
pause

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top