Veritas-bu

[Veritas-bu] netbackup available_media script

2004-11-10 08:59:38
Subject: [Veritas-bu] netbackup available_media script
From: scottd AT HanoverDirect DOT com (Deiter Scott)
Date: Wed, 10 Nov 2004 08:59:38 -0500
Very Nice ....  Thanks....

>From    Scott Deiter 
        Hanover Direct, Inc. 
        Tech services 
        (717) 633-3298 
        scottd AT hanoverdirect DOT com 




-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of Kyle
Hoondert
Sent: Wednesday, November 10, 2004 8:32 AM
To: dale AT daleking DOT org
Cc: veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] netbackup available_media script


This is fantastic. Thanks so much. We have done some mods to bring
available_media down from 45 minutes to 5, but this takes ~16seconds  in our
environment. Outstanding.

Thanks again,
Kyle

-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of
dale AT daleking DOT org
Sent: November 7, 2004 11:34 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] netbackup available_media script

Hi All,

The available_media script in /usr/openv/netbackup/bin/goodies is a dog

for sites with a large number of tapes.
I've rewritten this script in perl for performance and was wondering if
anyone who uses the veritas version would like to test it.

On our system ~1400 carts the veritas version takes ~55 minutes.  This
version takes ~12 seconds and emulates the output, including the -summary
option.

Things to note:
        - added -size option to display data sizes in Ki/Mi/Gi
        - added -pool= to only show a specific pool name
        - added WARNING lines if multiple mediaids are found in the MM
          (remove or filter these lines if you depend on the output
          format)
        - my perl is weak - please submit improvements after which I'll
          make it generally available somewhere else
        - only tested with nbu 4.5 under AIX
        - don't forget to update the script with the location of perl
          on your system 

I hope someone finds this useful.

- Dale

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu