[Veritas-bu] netbackup available_media script
2004-11-10 08:31:30
Subject: |
[Veritas-bu] netbackup available_media script |
From: |
kyle.hoondert AT cgi DOT com (Kyle Hoondert) |
Date: |
Wed, 10 Nov 2004 08:31:30 -0500 |
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
|
|
|