NBU 7.5.0.7 eject tapes from Quantum i500 robot with 18 slot MAP via CLI
NBU 7.5.0.7 eject tapes from Quantum i500 robot with 18 slot MAP via CLI
Hello,
I am looking to automate my tape ejection from our Quantum i500 robot. Once a week, I eject, on average 90 tapes, for offsite storage.
Currently I use the web GUI for the robot and eject 18 at a time.
I've googled the commands, but everything I've found is 5+ years old.
I run a vmquery that gets me the Media ID, Barcode, and tape description.
From this output, I generate a flat txt file for the media ID, which I run through a script to generate the command to run:
/usr/openv/volmgr/bin/vmchange -res -multi_eject -w -verbose -rn 0 -rt tld -rh $RobotHost -ml $Media01:$Media02...$MediaNN
Questions I have:
01. Do I have to break up the -ml list to 18 or is the system smart enough to take all media IDs as input and pause after each 18?
02. The system times out after 5 minutes and reimports the ejected tapes from the MAP if I don't get to it fast enough. How do I get it to leave tapes in MAP indefinitely? Is it a combination of the arguments -verify_eject and -continue_ie? If so, how would the command look?
Thanks in advance,
Gene