07-10-2017 12:19 PM
Hello All - I need a clarification on SLP maintenance.
Environment :
NBU :77X
OS : Linux
**************************************
There is one secondary operation disabled SLP in my server for which the backuplog is too huge .
i would like to know which all policies are using this SLP ., from summary of policies it does not showup as it is set at the schedule level.
Please advice.
Solved! Go to Solution.
07-12-2017 12:12 PM
Hi @Smalling,
You can cancel the SLP..There are some options look.
cancel
Permanently cancels storage lifecycle policy processing according to how the -lifecycle, -before, -after, and -destination options are used:
If the -lifecycle option and the -destination option are both used, nbstlutil permanently cancels processing for the existing images that the options identify.
If neither of the options is used, nbstlutil permanently cancels all pending copies for all existing images that the storage lifecycle policies manage.
If only a storage lifecycle policy (-lifecycle) is specified, nbstlutil permanently cancels all pending copies of the existing images that it manages.
If only a destination is specified, nbstlutil permanently cancels all pending copies that are bound for that destination, for all storage lifecycle policies.
I already had to cancel images from SLP. In my case I created a scritp to do this.After cancel the SLP, I have listed all images from Catalog and put them at .xlsx file.
I´ve create a script similar to this below, put on the left side all images and the right side made the command using "&A2&" to concatenate the command.
example:
Regards,
Thiago
07-10-2017 12:36 PM
Hi,
Try this...If you want to export these informations you can add >> on the command
installpath/usr/openv/netbackup/bin/admincmd/bppllist -allpolicies -U >> /tmp/SLPs.txt
installpath\Program Files\Veritas\NetBackup\bin\admincmd\bppllist.exe -allpolicies -U >>C:\temp\SLPs.txt
Regards
Thiago
07-10-2017 10:07 PM
Found on another post.
Swap the SLP name in the example command with the name of your SLP.
07-11-2017 07:42 AM
Thanks a ton .
@Mystre316 @Thiago_Ribeiro - with bppllist i came to know the polciies which are using the SLP.
How should i view the list of images pending for this SLP or yet to be moved out.
07-11-2017 07:51 AM
Here is a handy cheat sheet you can use for most SLP operations and queries you might have.
07-11-2017 07:54 AM
Hi @Smalling,
Take a look this
https://www.veritas.com/support/en_US/article.000119275
https://www.veritas.com/support/en_US/article.000013928
Regards,
Thiago
07-11-2017 07:55 AM
Are you looking for a list of incomplete copies of lifecycle managed images for a specifc SLP?
Use the following article to help you understand more.
07-11-2017 11:22 AM
I got the SLP back log size through the following command.
Command : nbstlutil -report
________________________________________________________
I ran the below command to get the backlog .,
Command :nbstlutil -stilist >/home/backlog.txt
_________________________________________________________
In above command i see all the SLP images , i would want to see only for specific SLP.
For this i used the below command and i am getting an error.
nbstlutil stlilist –lifecycle MY_SLP | more
–lifecycle is not a recognized operation
Am i doing any mistake
_________________________________________________________
07-11-2017 12:05 PM
Hi @Smalling,
I ran this command, take a look. Did you check the SLP name, is that correct?
Show status on Incomplete copies of Lifecycle Managed images
nbstlutil stlilist –lifecycle <lifecycle name>
nbstlutil stlilist –backupid <backupid>
nbstlutil stlilist –image_state <value>
nbstlutil stlilist –image_incomplete
nbstlutil stlilist –image_inactive
Regards,
Thiago
07-11-2017 12:46 PM
07-11-2017 01:27 PM
yes , i am able to take the list of the pending images .
Is there any audit command to get know when and who suspended the SLP ?
07-11-2017 01:38 PM
Hi,
I dont think so....You can do this using OpsCenter, on Audit Trails tab, but there isnt a filter for SLP.
By command line I dont know, If it can be done.
Regards,
Thiago
07-11-2017 04:16 PM
07-12-2017 02:59 AM
Unless you cancel those old SLPs, they will still be processed.
SLP automatically makes the retention of backups Infinity until all secondary processes have completed.
So, only when the duplications have completed will the actual retention/expiration kick in.
To manage and monitor SLP backlogs, please have a look at the Best Practice guide.
This one seems to be the 'newest' : http://www.veritas.com/docs/000018455
07-12-2017 10:56 AM
Thanks @Marianne.
I do not have a storage to duplicate all those 2000 images (expired images).
If i want to cancel them is there any easy way to cancel all those 2000 images of year 2016 which was only backedup for 2 weeks ?
07-12-2017 12:12 PM
Hi @Smalling,
You can cancel the SLP..There are some options look.
cancel
Permanently cancels storage lifecycle policy processing according to how the -lifecycle, -before, -after, and -destination options are used:
If the -lifecycle option and the -destination option are both used, nbstlutil permanently cancels processing for the existing images that the options identify.
If neither of the options is used, nbstlutil permanently cancels all pending copies for all existing images that the storage lifecycle policies manage.
If only a storage lifecycle policy (-lifecycle) is specified, nbstlutil permanently cancels all pending copies of the existing images that it manages.
If only a destination is specified, nbstlutil permanently cancels all pending copies that are bound for that destination, for all storage lifecycle policies.
I already had to cancel images from SLP. In my case I created a scritp to do this.After cancel the SLP, I have listed all images from Catalog and put them at .xlsx file.
I´ve create a script similar to this below, put on the left side all images and the right side made the command using "&A2&" to concatenate the command.
example:
Regards,
Thiago
07-18-2017 01:40 PM
@Thiago_Ribeiro - Thanks for all your guidence , it helped me a lot.
I have a question , i do not see the -before or -after command switch to cancle my older images.
Where can i see the detailed command reference of this .
Could you give me the command for this case :
say i want to cancel all the images which are before 1 month.
07-18-2017 01:55 PM
Hi @Smalling,
The command you can see https://www.veritas.com/support/en_US/article.000119275.
About the images, in my opinion it's better you make a list of all images from Netbackup Catalog and use that example that I sent you before...With all images listed it easy to create a "kind of script" to cancel...
Regards,
Thiago
07-20-2017 03:52 AM
07-20-2017 06:48 AM
If you just use nbstlutil cancel -lifecycle <name> without any other attributes it will cancel all secondary operations on pending images for the specific SLP.