Forum Discussion

DPeaco's avatar
DPeaco
Moderator
6 years ago

NetBackup 8.2 - SLP Backlog question

NetBackup 8.2 on a Veritas 5230 Appliance running 3.2 plus patches.

I'm looking to see if there is a way to clear a backlog of SLPs that are supposed to be doing to an S3 bucket or to tape?

I have a list of SLPs on a single master server with multiple media servers and Clound Catalyst servers that has a backlog of about 1 PB of data. 

Is there a way to list what's waiting to be processed and then a way to clear them out? nbstlutil shows about 6,421 copies waiting to be processed?

8 Replies

  • If by "clear" you mean "cancel", then yes, you can do that but note that if it's cancelled it cancelled. You'll have to manually duplicate those images if you want to send them somewhere else.

    You can use to see the incomplete images

    nbstlutil list -image_incomplete

    You can cancel one you need to with

    nbstlutil cancel [-lifecycle name |

    • DPeaco's avatar
      DPeaco
      Moderator

      nbstlutil list -image_incompete

      Yielded a list of 57,255 images that are waiting to be completed?

      How do I target a specific image in the "queue" to cancel it?

      I'm asking because several of these are already expired based on Policy/SLP set retention. I just need to clear the backlog of already expired SLPs.  

      • sdo's avatar
        sdo
        Moderator

        IMO, with such a large backlog of so many images to consider, and a desire to filter by multiple criteria (age, client, destination, policy, type) and decide which to cancel versus which to continue re-attempting... then...IMO (and it is just an opinion) then your only option is scripting.

        If you have a Windows based Master Server, or a Windows based Media Server with server rights over the Master... then I might be able to help you... as I have a natty little batch/cmd plus VBScript combo which can filter and report and generate the required "cancel" commands for you... but... BUT... BUT BUT... it is quite a rough script and not for the faint hearted... so... if you have the skills and the patience then I might be able to help you with a copy of them.

        It comes in two parts.  1) a batch/cmd script to collect various text/list files from NetBackup    2) a VBScript to read the lists, munge the meta-data, and then spit out        2a) multiple reports/tables via different sorted groupings       2b) a commented out batch/cmd script to perform SLP image cancels.

        So, these scripts are utterly safe to run (in the first stage) as long as your environment can handle being listed... as the scripts will change nothing at all, except consume perhaps a few MB of disk space for text/list files.

  • DPeacoRiaanBadenhorst has already suggested options to look into the SLP backlogs.

    I'm adding to it, please check it may help you.

    nbstlutil report => SLP Status
    nbstlutil list -image_incomplete -lifecycle name_of_lifecycle => Incomplete or pending SLP

    There is chance that your SLP might be inactive so active based on what has to be done in you environment.
    nbstlutil active -lifecycle name_of_lifecycle