12-08-2011 08:23 AM
Does anyone know how to kill a duplication job? I had to cancel some jobs because of where they were attempting to duplicat from and now i cant get them to stop retrying.
The jobs keep failing with status 191 but i want them removed completly. I tried stopping all services and delete the bpjobd.act.db file but that didnt help.
My console is just a sea of red where the duplications keep trying over and over. How do I kill these for good?
12-08-2011 08:43 AM
If the are from Disk Staging then remove the schedule window from the Storage Unit.
If they are from a Storage Lifecycle Policy then use:
<installpath>\veritas\netbackup\bin\admincmd\nbstlutil inactive -lifecycle lifecyclename
Once you have sorted out your issues use:
<installpath>\veritas\netbackup\bin\admincmd\nbstlutil active -lifecycle lifecyclename
Cancel the duplications first and run the first command once they have all stopped
Obviously you would need to do it for each SLP you have
12-08-2011 08:57 AM
Yes these duplications are from a single SLP. I ran the first command and they appear to have stopped. But once i run the active command will they all try to start backup again?
I have temporarily fixed my problem with the duplication only because i have removed that step in the SLP.
12-08-2011 09:22 AM
I just noticed that the duplication jobs i wanted to kill have started back. Dangit!! why wont they just go away..
12-08-2011 09:31 AM
By making the SLP inactive only the duplications will be stopped
You can still run backups to it so leave it inactive until you are sorted out
If there are already things in the SLP queue that you want to kill off then you need to do the following:
\netbackup\bin\admincmd\nbstlutil" stlilist -image_incomplete -l>slp_check.txt
This will give you a list of outstanding things in the list
There is then the -cancel command to remove these from the list so that they wont duplicate - if you are sure they arent needed
12-08-2011 10:48 AM
Tech support contacted me about another case i had open and i quized them on this issue as well.
Mark,
You did provide me with the right steps in getting the policy set to inactive. According to support i needed to run the following command after to actually cancel the jobs.
nbstlutil cancel -lifecycle <lifecycle name>
and/or
nbstlutil cancel -lifecycle <lifecycle name> -destination <destination name>
I ran the cancel command and reactivated the SLP. Hopefully this does the trick!
12-08-2011 11:38 AM