Re: [Veritas-bu] A Better Way?
2007-07-03 09:53:00
Thanks. I'll take a closer look at that.
> -----Original Message-----
> From: Martin, Jonathan [mailto:JMARTI05 AT intersil DOT com]
> Sent: Tuesday, July 03, 2007 9:37 AM
> To: Brooks, Jason; veritas-bu AT mailman.eng.auburn DOT edu
> Subject: RE: [Veritas-bu] A Better Way?
>
>
> The perl script I have for this runs
>
> vmcheckxxx -rt tld -rn 0 -rh $nbu_master -h $nbu_master to
> get the output of all tapes in the lbirary
>
> bpimmedia -L -mediaid $media -M $nbu_master
>
> To parse the images on each tape / then sort to find the
> expiration of the last image and then
>
> vmquery -m $media
>
> To attach the volume pool.
>
> The generated report looks something like
>
> XX0001, OFFSITE-VAULT, 2/1/2008
> XX0002, OFFSITE-DR, 3/23/2008
> XX0003, OFFSITE-VAULT, 2/4/2008
> XX0004, OFFSITE-VAULT, 2/9/2008
>
> Etc...
>
>
>
>
> -----Original Message-----
> From: veritas-bu-bounces AT mailman.eng.auburn DOT edu
> [mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf
> Of Brooks, Jason
> Sent: Tuesday, July 03, 2007 9:24 AM
> To: veritas-bu AT mailman.eng.auburn DOT edu
> Subject: [Veritas-bu] A Better Way?
>
> I'm working on our scripting that automates some NBU
> functions. One thing we currently do is keep a list of
> exported tapes (don't use vault and do our own offsite
> storage). One thing I'm looking at doing is appending the
> Volume Pool to the tape barcode in the file. That way, we
> can make sure all the usual suspects are running.
>
> >From what I know and what I've found, the only way to do this is with
> vmquery -m MEDIAID. The output, however, is not what I'm looking for.
> I can work around it, but is there a terser output that
> anyone knows of?
> Or another way to get the pool for a particular tape?
>
> Thanks,
> Jason
>
> ------------
> Jason Brooks
> Computer Systems Engineer
> IITS - Longwood University
> voice - (434) 395-2034
> fax - (434) 395-2035
> mailto:<brooksje AT longwood DOT edu>
>
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|
|
|