Automate Media Unfreeze
Hi All,
I am thinking of automating Media Unfreeze in our environment. There are couple of questions regarding this.
1. "/usr/openv/netbackup/bin/goodies/available_media | grep -i FROZEN" will give the forzen tapes. But this command is taking long time to complete. In our environment its taking around 20 minutes. Is it normally works this way? If yes, is there any other command which gives me the frozen medias?
2. What is the best way to find the media host of a particular media? "bpmedialist -m <media_id>" is not helping. Because in our environment some media are allocated to Server Group. Hence for some media, instead of "Server Host" output, I get "Server Group" output in bpmedialist command?
Will "bpmedia -unfreeze -m <media_id> -h <Server Group> works? or only "Server Host" will work? If the second is the answer, what is the other command to find the media host?
My Master Server : HP-UX 11.31
Netbackup Version: 7.1
I know instead of these, GUI or from Opscenter, it is easy to unfreeze media. But I would like to know if an automation with out any manual interaction is possible. Thanks in advance for your inputs. :)
..RAJ
Not a good idea to automate this.
There are many reasons why media gets frozen.
Rather spend energy finding the reason and eliminate it.Unfreezing faulty media 'automatically' serves no purpose.