cancel
Showing results for 
Search instead for 
Did you mean: 

slp operation

shashi0621
Level 5


I have an SLP whose secondary operation is deactivated for last 12 months.

Now we want to activate the secondary operation because images are not getting expired which are going on this SLP.

but my concern is when i will activate this SLP secondary operation,then multiple/thousands of duplication job will run which were in suspended state.

What i can do to prevent not a single duplication job being run while activating the secondary operation?

NBU 7.6
windows

1 ACCEPTED SOLUTION

Accepted Solutions

Nicolai
Moderator
Moderator
Partner    VIP   

I am on Linux and don't have a windows script.

I did a search for ".bat while loop" and this showed up - I think you should be able to build the script yourself

http://www.robvanderwoude.com/battech_while_loops.php

View solution in original post

8 REPLIES 8

Nicolai
Moderator
Moderator
Partner    VIP   

You can cancel secondary slp operation. Since secondary slp has been inactive for such a long time, I would recommend canceling all incomplete slp operation before activating the secondary slp operation, and then monitor operation from there. You will need to write a a shell script to cancel incomplete slp operations.

This is a previous thread about canceling slp operation - see Mark reply 12-08-2011 09:31 AM

https://vox.veritas.com/t5/NetBackup/Cancel-Duplication-jobs/m-p/443050

Tech note for nbstlutil command used to cancel slp operation

http://www.veritas.com/docs/000093204

thanks.

 

I am working on windows..

 

can the script be provided regarding windows?

hi nicolai,

 

I am using windows.Can the  .bat script be provided so that I can run that script?

thanks.

 

I am working on windows..

 

can the script be provided regarding windows?

Nicolai
Moderator
Moderator
Partner    VIP   

I am on Linux and don't have a windows script.

I did a search for ".bat while loop" and this showed up - I think you should be able to build the script yourself

http://www.robvanderwoude.com/battech_while_loops.php

mph999
Level 6
Employee Accredited

Be aware that if you cancel an image from SLP, and it has gone past it's expire (try-to-keep) time, it will instantly expire.  Also, if the images are set as 'Expire after copy' they will also expire if you cancel them.

Not an issue if you want to get rid of the images, but a big issue if you wanted to keep them and then duplicate them manually.

Genericus
Moderator
Moderator
   VIP   

You can list out jobs within SLP, and inactivate individual jobs.

I use this to prevent them from processing when I am micromanaging my SLP duplications.

You can then activate the jobs you want.

Since incomplete SLP jobs are essentially kept as infinite retention, you should potentially have tons of images that are incomplete and should be expired...

If you KNOW the retention is past, you can simply cancel the oldest jobs.

1. list the jobs - format is client_epoch

nbstlutil stlilist -image_incomplete -U | grep Image | cut -f 2 -d "

2. inactive the job 

for each of the images from #1, nbstlutil inactive -backupid $id

3. cancel the old jobs

for each of the images from #1 that are too old, nbstlutil cancel -backupid $id

 

NetBackup 9.1.0.1 on Solaris 11, writing to Data Domain 9800 7.7.4.0
duplicating via SLP to LTO5 & LTO8 in SL8500 via ACSLS

Genericus
Moderator
Moderator
   VIP   

If you want to throw away ALL the images, you can use nbstlutil cancel -lifecycle SLPname

 

NetBackup 9.1.0.1 on Solaris 11, writing to Data Domain 9800 7.7.4.0
duplicating via SLP to LTO5 & LTO8 in SL8500 via ACSLS