Forum Discussion

Automation2015's avatar
10 years ago
Solved

Scratch Media Reports

Hi,

 

I am using Netbackup 7.6.I want to pull reports for scratch media available and utlized media report .which can be sent directly to offsite.Kindly guide me the process to configure that report.

 

Regards

Automation

  • I am no OpsCentre expert. 

    Hopefully our 'resident experts' will reply.

    PS:
    Have you tried to search the Symantec OpsCenter Reporting Guide ?

    I see these topics in the manual:

    About Media reports in OpsCenter
    This section describes media reports that provide information for all the NetBackup media status, expiration, and availability, including tape, disk, Appliances, and the optional NetBackup Vault feature for offsite media tracking.

    Media State report   See “Media Reports > Media State” on page 264.

    Available Media report    See “ Available Media report” on page 265.

    Drives in Use report     See “ Drives in Use report” on page 265.

    Full Media Capacity report   See “ Full Media Capacity report” on page 265.

    Media Summary by Media Server report   See “ Media Summary by Media Server report” on page 266.

    Media Utilization report    See “Media Reports > Media Utilization” on page 266.

    Tape Count report    See “ Tape Count report” on page 268.

    Tapes Expiring in Future report    See “ Tapes Expiring in Future report ” on page 268.

    TapesExpiring Now report See “ Tapes Expiring Now report” on page 269.

     

    ... etc....

     

  • Automation -

         You can always use the available_media script to create an output file (as Marianne posted above) and then e-mail it to whatever addresses you like.

         IMHO the best way to schedule this would be a cron, scheduled to run after all backup jobs and cataloging is done, in conjunction with adding a line to the available_media script to email the output to your desired addresses. However, you *could* use the bpend_notify script instead of the cron. 

    How to use bpstart and bpend notify scripts: http://www.symantec.com/business/support/index?page=content&id=TECH162973

    Veritas NetBackup (tm) notification scripts and their usage: http://www.symantec.com/business/support/index?page=content&id=TECH36460

    Michelle

  • If you don't have Vault or OpsCentre, use these reports:

    available_media
    (command in /usr/openv/netbackup/bin/goodies. Send output to a text file)

    Media Written report 
    (This report will tell you which media has been written in the period that you specify)

    Media Summary report (with verbose option selected)
    This will help to know when tapes must come back onsite.

    **** EDIT ****

    Some more commands to check for scratch tapes:

    vmquery -rn 0 -bx | grep -i scratch | wc -l 
    Replace robot number if not 0.

    To look for specific density:
    vmquery -rn 0 -bx | grep -i scratch | grep -i hcart3 | wc -l 

    If you need ALL hcart3 tapes in scratch (including non-robotic): 
    vmquery -a -bx | grep -i scratch | grep -i hcart3 | wc -l

    (vmquery is in /usr/openv/volmgr/bin)

  • Hi Marianne ,

     

    we have ops center with us. can you guide me the process to achieve this through ops center,

     

    Regards

    Automation

  • I am no OpsCentre expert. 

    Hopefully our 'resident experts' will reply.

    PS:
    Have you tried to search the Symantec OpsCenter Reporting Guide ?

    I see these topics in the manual:

    About Media reports in OpsCenter
    This section describes media reports that provide information for all the NetBackup media status, expiration, and availability, including tape, disk, Appliances, and the optional NetBackup Vault feature for offsite media tracking.

    Media State report   See “Media Reports > Media State” on page 264.

    Available Media report    See “ Available Media report” on page 265.

    Drives in Use report     See “ Drives in Use report” on page 265.

    Full Media Capacity report   See “ Full Media Capacity report” on page 265.

    Media Summary by Media Server report   See “ Media Summary by Media Server report” on page 266.

    Media Utilization report    See “Media Reports > Media Utilization” on page 266.

    Tape Count report    See “ Tape Count report” on page 268.

    Tapes Expiring in Future report    See “ Tapes Expiring in Future report ” on page 268.

    TapesExpiring Now report See “ Tapes Expiring Now report” on page 269.

     

    ... etc....

     

  • Hi Marianne,

     

    Thanks for help.Will update you after checking the above pdf.

     

    Regards

    Automation

  • Automation -

         You can always use the available_media script to create an output file (as Marianne posted above) and then e-mail it to whatever addresses you like.

         IMHO the best way to schedule this would be a cron, scheduled to run after all backup jobs and cataloging is done, in conjunction with adding a line to the available_media script to email the output to your desired addresses. However, you *could* use the bpend_notify script instead of the cron. 

    How to use bpstart and bpend notify scripts: http://www.symantec.com/business/support/index?page=content&id=TECH162973

    Veritas NetBackup (tm) notification scripts and their usage: http://www.symantec.com/business/support/index?page=content&id=TECH36460

    Michelle

  • Hi Guys,

     

    Thanks for your inputs.I will defenately use one of these options.

    Regards

    Automation