02-14-2017 04:27 AM
Is this possible to tape inventory automatically with out mauall. if yes what is the precedure for this..
02-14-2017 04:50 AM
02-14-2017 04:51 AM - edited 02-14-2017 04:52 AM
Hello
let me check if I did understood you correctly: you are asking if you can perform robot inventory automatically?
If yes the I believe it is doable and depending on what OS your NBU is running on you would need to write a script to be executed either from crontab (unix type os) or task scheduler (windows based). In the script you shuold call out this command with proper number, robot type in your enviromnent, ie:
vmupdate -rt tld -rn 0 -rh robot_control_host -use_barcode_rules -empty_map
assumptions made: robot type is tld, robot number is 0, robot_control_host hast to be changed with your server which is managing this robot, use_barcode_rules and empty_map is up to you.... Now it is only a matter of scheduling this every xx minutes, hours....
02-14-2017 05:56 AM
If you robot supports unit attention, you can use the AUTO_UPDATE_ROBOT vm.conf entry
02-14-2017 07:05 AM - edited 02-14-2017 07:08 AM
My master is solaris, and I set up a script that can be called by our operations staff, so when they load tapes in the library, they can run the inventory script. I also run this at set times during the day.
If you have multiple robots, you will need a section for each one. update the BOLD values to match your environment
ROBOT0=`/usr/openv/volmgr/bin/vmupdate -rt acs -rn 0 -use_barcode_rules -h MASTER 2>&1`
ROBOT1=`/usr/openv/volmgr/bin/vmupdate -rt acs -rn 1 -use_barcode_rules -h MASTER -rh ROBOTHOST 2>&1`
ROBOT2=`/usr/openv/volmgr/bin/vmupdate -rt tld -rn 2 -use_barcode_rules -h MASTER -rh ROBOTHOST 2>&1`
Then just echo the values in an email to yourself and OPS
I included commands in the script to count scratch tapes as well, so I set up an alias "ask.scratch" that calls it to echo to my screen, so I can inventory and list our the scratch tapes at will - I always wonder why other admins have troubles knowing how many scratch tapes they have...
02-15-2017 07:37 AM
Hello Guys
Thanks for your replay. with valuble suggestions.
actually hear is the thing. we recently given this job(do inventory on perticuler day) to another team but they do not perform corectly. and again we are doing this is mauall task for us. so i need to run this inventory job via script or schedule task. kindly help me.
we are have windows environment
02-15-2017 11:43 AM