09-18-2015 10:42 AM
Hi,
We are in the process of moving our policies to a new disk based storage unit and all of policies will use SLPs. The backup to disk and tape run as per policy schedule and the offsite copy part of the SLP is restricted to certain hours during the day.
Earlier in the week I had to restart NetBackup on one of the media servers. I did the normal process that we had in place and also suspended the SLPs. However, the SLP operations which were already ongoing, did not cancel when I shut down NetBackup. I got a whole list of SLP operations in progress. The tasks which didn't stop on NetBackup shutdown were 1 bpcd, 1 bpduplicate and bpdm (several processes).
Here is what I thought to get NetBackup to really shutdown (script with following workflow).
Does this sound like a viable workaround? Is there a better way out? Any suggestions would be appreciated.
Thanks.
Solved! Go to Solution.
09-21-2015 12:23 PM
10-01-2015 09:42 AM
The steps posted by Genericus do not take care of ongoing SLP operations, hence should not be market as solution. (DONE).
Suggestion by Anmol is more relevant to the situation I described.
A couple of days ago I did the following during maintenance:
1. Suspended all SLPs/policies about 2hours before the downtime*
2. Got a list of ongoing SLP operations
3. Shutdown NetBackup/maintenance
4. Restarted NetBackup
5 Reactivated policies and SLPs.
6. Later verified that images which were in flight (incomplete operations) before shutdown and after suspension were all in the catalog and had their duplicated copies too.
* - can exclude the SLPs in advance for the whole day if maintenance duration is longer.
09-18-2015 01:01 PM
you can not manually restart a canceled SLP. Instead you can manually duplicate the backup IDs from step 2.
09-19-2015 06:28 AM
09-21-2015 05:35 AM
Suspending SLP only suspends actions which have not started. Ongoing actions continue. Hence, the plan of cancelling.
09-21-2015 05:40 AM
Ah, I realise that a single operation of the SLP which was cancelled cannot be restared by itself. Manual duplications can be possible. Is there any other method to cut this pie?
09-21-2015 12:23 PM
09-22-2015 07:36 AM
My steps are as follows:
1. deactivate SLP
2. deactivate policies
3. cancel all active jobs - they will retry when you restart NetBackup
I have scripts that do steps 1 & 2, or you can use manual commands at the GUI or command line.
You do not need to list out SLP not complete, NetBackup does that for you with "nbstlutil report"
10-01-2015 09:42 AM
The steps posted by Genericus do not take care of ongoing SLP operations, hence should not be market as solution. (DONE).
Suggestion by Anmol is more relevant to the situation I described.
A couple of days ago I did the following during maintenance:
1. Suspended all SLPs/policies about 2hours before the downtime*
2. Got a list of ongoing SLP operations
3. Shutdown NetBackup/maintenance
4. Restarted NetBackup
5 Reactivated policies and SLPs.
6. Later verified that images which were in flight (incomplete operations) before shutdown and after suspension were all in the catalog and had their duplicated copies too.
* - can exclude the SLPs in advance for the whole day if maintenance duration is longer.
10-01-2015 10:58 AM