Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

How to clear SLP duplications

Updated: 07 Jun 2010 | 6 comments
NEW2IT's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

I am running NBU 6.5.4 and had a SLP in place but decided to stop using it. I remove it from all my policies. But it is still trying to run the duplications, how do I clear duplications that running on auto pilot?

Thanks,

Comments

rjrumfelt's picture
03
Mar
2010
0 Votes 0
Login to vote

Have you deleted the actual SLP

from the storage unit section?

Also, you may have one that is hung for whatever reason.  You can use nbstlutil to cancel any current SLP's you see running.

David McMullin's picture
03
Mar
2010
1 Vote +1
Login to vote

deactivate the slp

you did not mention your OS - perhaps you could put it in your signature?

on unix - run this:

   for i in `/usr/openv/netbackup/bin/admincmd/nbstl -L | grep -i name | cut -c38-`
    do
    echo "Now deactivating "$i
    /usr/openv/netbackup/bin/admincmd/nbstlutil inactive -wait -lifecycle $i
    sleep 5
   done

All your SLP will be deactive.

You should review the pending SLP jobs to make sure you do not lose data!

If you know they are all bogus, this will cancel all incomplete jobs:

   for i in `/usr/openv/netbackup/bin/admincmd/bpimagelist -L -idonly -hoursago 120 -stl_incomplete | sort +3 +4 +5n | /usr/bin/cut -d" " -f10`
   do
    echo "Now cancelling "$i
    /usr/openv/netbackup/bin/admincmd/nbstlutil cancel  -wait -backupid $i
   done
   bpimagelist -L -idonly -hoursago 120 -stl_incomplete | sort +3r +4r +5rn

The 120 is hours ago - it defaults to 24 - you can increase as needed.

NBU 7.0.1 on Solaris 10
writing to EMC 4206 VTL
duplicating to LTO2 in SL8500
(Soon to be LTO5)
using ACSLS 7.3.1

NEW2IT's picture
04
Mar
2010
0 Votes 0
Login to vote

OS

My master server is running on a W2K3 R2 SP2. So guess I need to find the same commands in Windows. Thanks for the info.

rjrumfelt's picture
04
Mar
2010
0 Votes 0
Login to vote

The commands

such as bpimagelist and nbstlutil will be the same, however you may have to do some manual searching rather than being able to script out, cut and sort what you dont need.

David McMullin's picture
04
Mar
2010
0 Votes 0
Login to vote

Storage LifeCycle Directory

The SLP definitions are under db/ss - rename the ss directory and no more SLP will work...

NBU 7.0.1 on Solaris 10
writing to EMC 4206 VTL
duplicating to LTO2 in SL8500
(Soon to be LTO5)
using ACSLS 7.3.1

RSRust's picture
06
May
2010
0 Votes 0
Login to vote

Similar situation

I had a similar situation but I only needed to delete select duplication jobs as a server was incorrectly added to a policy and then the images were deleted off the disk , which of course caused the duplication jobs to fail although they kept retrying.  I am running a Windows master and ran the following to clear the jobs:

Get the incomplete job IDs:  

D:\Program Files\Veritas\NetBackup\bin\admincmd>bpimagelist -L -idonly -hoursago 280 -stl_incomplete

Delete the incomplete jobs: 

D:\Program Files\Veritas\NetBackup\bin\admincmd>nbstlutil cancel -backupid backupid

Thanks David for the command reference.