Veritas-bu

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

2008-02-02 08:00:25
Subject: Re: [Veritas-bu] plot drive usage/availability against time?
From: "Bobby Williams" <bobbyrjw AT comcast DOT net>
To: <veritas-bu AT mailman.eng.auburn DOT edu>
Date: Sat, 2 Feb 2008 07:32:33 -0500
Here is the post for the script.

I did it at 5 minute intervals to justify more drives.

I copied the report into Excel.

I am attaching a sample report that shows the activity.  This is not the one
that I used justify more drives.  

The vertical bars are the hours.

Something that bit me on this script.  It is only looking for activity on a
drive.  It does not distinguish who owns the drive.  SSO drives show up in
the report and it does not signify that the drive is in use by another media
server.

The media server that I used this report on had no shared drives. 




Bobby Williams
2205 Peterson Drive
Chattanooga, Tennessee  37421
423-296-8200

-----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

Attachment: cpl-media4 drive avail graph.xls
Description: MS-Excel spreadsheet

Attachment: drive_graph.txt
Description: Text document

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