Veritas-bu

Re: [Veritas-bu] plot drive usage/availability against time?

2007-11-14 17:10:58
Subject: Re: [Veritas-bu] plot drive usage/availability against time?
From: <Mark.Donaldson AT cexp DOT com>
To: <SPillapalem AT entertainment DOT com>, <veritas-bu AT mailman.eng.auburn DOT edu>
Date: Wed, 14 Nov 2007 14:49:35 -0700
Nope - it should pretty much look up everything.  Just change the email 
address.  I have a modified version of this that ignores my one hcart drive and 
only reports hcart2.  My hcart drive is for legacy tape reads only and I don't 
want it throwing off the drive availability number.  I just modify the awk 
statement that is fed by "vmoprcmd -xd ds".

-M 

-----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 
Pillapalem, Smitha
Sent: Wednesday, November 14, 2007 1:54 PM
To: Donaldson, Mark - Broomfield, CO; veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] plot drive usage/availability against time?

Mark,
Do you have to send any parameters to run this scripts
Smitha

-----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
Mark.Donaldson AT cexp DOT com
Sent: Wednesday, November 14, 2007 1:20 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] plot drive usage/availability against time?


Hi all,

I found my old drive utilization script and updated it.  It's been tested on 
6.0.4 and it works there.  Change the email address in it to your email 
address, add it to cron (on a maybe 15 min interval or so) on a media server 
that can see all the tape drives.  It samples every 15 minutes, and will mail a 
report new report to you at the rolling of the day.

Output looks like this (snipped from 15:00).  Ignore all the down drives, we 
were performing library maintenance:

    15--16---17---18---19---20---21---22---23---
 0 ||DDD|----|--#-|-###|####|####|----|----|----|
 1 ||DDD|----|-#--|###-|----|----|----|----|-###|
 2 ||DDD|####|####|####|####|####|####|####|####|
 3 ||DDD|####|####|####|####|####|####|####|####|
 4 ||DDD|---#|####|####|####|####|##--|----|--##|
 5 ||DDD|---#|####|####|####|----|####|####|####|
 6 ||DDD|---#|####|####|####|####|####|####|####|
 7 ||DDD|---#|####|####|####|####|####|####|####|
 8 ||DDD|----|-###|####|####|####|####|####|####|
 9 ||DDD|----|----|----|----|----|----|----|---#|
10 ||DDD|DDD#|####|####|####|####|####|####|####|
11 ||DDD|DDD#|####|####|###-|----|----|----|----|
12 ||DDD|DDD-|----|-###|####|####|####|####|####|
13 ||DDD|DDD-|-###|####|##--|----|----|----|----|
14 ||DDD|DDD#|----|-###|####|###-|####|####|####|
15 ||DDD|DDD-|-#--|-###|####|####|####|####|####|
16 ||DDD|DDD-|----|-###|####|####|####|####|####|
17 ||DDD|DDD-|----|-##-|----|----|----|----|--#P|
18 ||DDD|DDD-|----|-###|####|####|####|####|####|

## Drive Availability: 29.5%
Drive  0 =  57% Drive  1 =  71% Drive  2 =   0% Drive  3 =   0% 
Drive  4 =  31% Drive  5 =  20% Drive  6 =   8% Drive  7 =   8% 
Drive  8 =  14% Drive  9 =  88% Drive 10 =   0% Drive 11 =  48% 
Drive 12 =  17% Drive 13 =  57% Drive 14 =  17% Drive 15 =  14% 
Drive 16 =  17% Drive 17 =  71% Drive 18 =  17%  

-----Original Message-----
Sent: Friday, November 09, 2007 10:22 AM

Yeah - that was my script but it was broken by the new spammy behavior of the 
vmoprcmd output.  I haven't updated it yet. 

-----Original Message-----
Sent: Thursday, November 08, 2007 9:26 PM

>I would like to be able to report on drive usage over a period of time:
either individually, or # in use.  
>I am interested in identifying periods where additional backups might be
scheduled.

I think it's been a year or two but somebody did post a script to this list
to do this.  I run Aptare's StorageConsole and this is one of the canned
reports so I didn't keep the script.

        .../Ed


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

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