[Veritas-bu] netbackup available_media script
2004-11-10 10:24:23
Subject: |
[Veritas-bu] netbackup available_media script |
From: |
dlogcher AT MIT DOT EDU (Dan Logcher) |
Date: |
Wed, 10 Nov 2004 10:24:23 -0500 |
Sweet Lion of Zion! That is fast! Thanks so much.
Have you re-written the Vault DR report script? That
thing takes 50 minutes in our env.
--
Dan
dale AT daleking DOT org wrote:
> 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
>
>
> ------------------------------------------------------------------------
>
> #!/usr/bin/perl
> # available_media script based on Veritas' goodies script.
> # Dale King 20041108
> # Tested with NBU 4.5 FP3 under AIX.
|
|
|