02-27-2013 01:59 AM
Solved! Go to Solution.
02-27-2013 02:22 AM
When you are putting something in maintenace you already know the timings. Not a good practise to eject or stop the tape drive in the middle of backup as it might corrupt the tape.
Also it would be better to cancel the job and wait for some time till it unloads the tape from the drive and make the drive down from GUI or command.
02-27-2013 02:13 AM
you can have a try of vmoprcmd -down <driveindexid>
I am not sure, if that helps, but worth trying..
<<,EIDT>>>
i just verifed that command its not making down.. so no way..
<<EDIT END>>>
if this does not work, only why I am seeing is cancle or suspend the job, and make it down.
02-27-2013 02:17 AM
Drive currently in use by NBU cannot be DOWN'ed.
You need to wait for job to complete, or else suspend/cancel the job before DOWN'ing it (GUI or cmd).
02-27-2013 02:22 AM
When you are putting something in maintenace you already know the timings. Not a good practise to eject or stop the tape drive in the middle of backup as it might corrupt the tape.
Also it would be better to cancel the job and wait for some time till it unloads the tape from the drive and make the drive down from GUI or command.
02-27-2013 04:44 AM
It's really a pain in the ass to stop all the jobs that uses that tapedrive and restart them afterwards again. Why isn't there an option to place a tape drive out of service after his job has finished...
Thank you all for the answers!
02-27-2013 04:59 AM
may be its because of netbackup inteligence, Netbackup do identifies that tape Drives if they are out of services, and make then down automatically.
any maintace activities should comeup with the plan, as suggest by SAZZ.
if you still feel that , its worth having this feature, you can submit your idea.
https://www-secure.symantec.com/connect/backup-and-recovery/ideas
02-27-2013 05:09 AM
i just got an idea.
if you are looking for all the drives to be down, for a particular media server.
just identify the Storage units for that media server, and keep max concurent drives as 0.
only active jobs will get compleate, no other jobs will get assing to that drives.
having the Drive ideal or down would be same result for maintace.
02-27-2013 06:30 AM
Changing the settings of Max concurrent drives will only work if you restart the VM services.
If you wish to DOWN the drive use the vmoprcmd command along with shutting down BPRD service.
Process:
This is messy solution, you should really schedule a proper maintenance window and have a system outage.
02-27-2013 06:44 AM
its NBPEM which would stop the future schedule jobs.
stoping bprd would stop the manual backup, restore and client iniciated backups.
02-27-2013 07:36 AM
Nagalla, you are right...
To suspend scheduling, issue the following command:
nbpemreq -suspend_scheduling
To resume scheduling, issue the following command:
nbpemreq -resume_scheduling
The above commands should be used to in step 1 and step 4 respectively...
Other than this, the steps advised previously are correct and will allow you to perform this maintenance.
I would stress though that it is not a best practice.
02-28-2013 12:10 AM
Hi Nagalla,
That's a good tip that you gave...the best thing is first suspend the scheduling then cancel the backup job and put the drive down...
Thx!
Thank you all for your responses!
Best regards,
Tijs
02-28-2013 04:02 AM
...and you can suspend an awful lot of jobs too as mvdb hinted, though some types you cant, so I guess you stop the scheduler as per jmcoll, suspend everything you can,terminate whats left, down the drive, and so forth. Not tried it, but seems reasonable.
Jim