Video Screencast Help

How can i schedule auto inventory ? please tell me step by step?

Created: 30 Jun 2013 • Updated: 08 Sep 2013 | 9 comments
inn_kam's picture
This issue has been solved. See solution.

hi

i want to schedule autoinventory for Tape Library daily at 4:30 pm

Netbackup 7.5.0.5

win serv 2003 32 bit

1.i need step by step help

2.is there any way to schedule it through NETBACKUP GUI?

 

Operating Systems:

Comments 9 CommentsJump to latest comment

Symctec's picture

Hello,

 

There is no way to schedule an autoinventory, but you may put the below command in a script trigerred using cron to run at a specific time.

vmupdate -rt tld -rn 0 -h mymaster.mycompany.com -rh mymaster.mycompany.com -use_barcode_rules -empty_map

Please refer "http://www.symantec.com/docs/TECH53665"

If its a Windows server, you may use task scheduler.

Thanks..

SOLUTION
inn_kam's picture

1.a script trigerred using cron to run at a specific time. ?       

 

what its mean ? time is not mentioned in this command.

 

2.how we can use a task scheduler?please guide also

Symctec's picture

What is the Operating system of NBU server where you would be running this command?

mph999's picture

You should never have to schedule an auto-inventory.

If the robot is getting out-of-sync with NBU something is wrong and that should be fixed.

M

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
inn_kam's picture

win server 2003  32 bit

as in first post i mentioned

inn_kam's picture

robot is fine, 

only daily i have to run inventory manually 

so i want to schedule it auto , so that no need to run inventory daily after changing the tapes

Marianne's picture

Daily changing of tapes is a manual task and cannot be automated. Why should inventory be automated? What if operator starts a bit late with tape change? Or is not yet finished by the time inventory is done by a script/scheduler?

Inventory should be the final step in an operator's task list.

Another way is to ONLY use NBU to eject tapes (robot and NBU will be updated) and only use MAP/CAP to enter tapes.

AUTO_UPDATE_ROBOT in vm.conf on robot control host and on Windows Admin Console (if you are not using Master server console for day-to-day management) will automatically empty MAP and update NBU config shortly after MAP door is closed.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Symctec's picture

 

Put the command in a text file and rename the file as file_inventory.bat

Then schedule a task using a task scheduler "http://windows.microsoft.com/en-sg/windows7/schedule-a-task"

Symctec's picture

I have never done this on my own as the other members on this forum have pointed out. As this practice is not normally followed. Thanks Marianne, the AUTO_UPDATE_ROBOT is a useful info for me:)