Technical Support Services Blog
Discover the latest trends in technology, and the technical issues customers are overcoming with the aid of HP Technology Services.

DPTIPS: Some Handy Media Reports

Have you ever found yourself wanting some quick media stats from you Data Protector installation, but you didn't want to spend a lot of time clicking through the GUI?  Recently I had a chance to try some different forms of the "omnirpt" command specific to the "media_statistics" report.  These reports run quickly, and you could easily incorporate them into a scripted solution for monitoring media statistics in summary form.

 

So here we go!

 

First, the report in its most general form can be had by just using the report name.  This gives you a summary of all media in your Cell regardless of pool, library, media type, or protection.

 

C:\> omnirpt -report media_statistics 
Media Statistics

Cell Manager: fanta
Creation Date: 4/19/2013 7:36:00 AM

# Media: 705
# Scratch: 585
# Protected: 120
# Good : 673
# Fair: 0
# Poor: 32
Total [GB]: 2770815.51
Used [GB]: 1052.36
Free [GB]: 2769763.15
# Appendable: 120

 

Although interesting and perhaps useful, you will more than likely be interested in media only within a specific pool.  In that case, you simply add the "-pool" option followed by the media pool name of interest.

 

C:\> omnirpt -report media_statistics -pool Jim_4220_MediaPool 
Media Statistics

Cell Manager: fanta
Creation Date: 4/19/2013 7:38:25 AM

# Media: 82
# Scratch: 32
# Protected: 50
# Good : 82
# Fair: 0
# Poor: 0
Total [GB]: 335872.00
Used [GB]: 128.24
Free [GB]: 335743.76
# Appendable: 50

 

This narrows your scope to only statistics for the given pool.  You can also filter by library rather than pool by using the "-library" option.  That reports on media resident in the specified library without regard to pool membership.

 

C:\> omnirpt -report media_statistics -library Geoff_Test_4220 
Media Statistics

Cell Manager: fanta
Creation Date: 4/19/2013 7:41:44 AM

# Media: 20
# Scratch: 20
# Protected: 0
# Good : 20
# Fair: 0
# Poor: 0
Total [GB]: 81920.00
Used [GB]: 0.00
Free [GB]: 81920.00
# Appendable: 0

 

Perhaps you're shopping for media in a specific pool that has protection expiring in the next 7 days.  We can do that, too!  Just add the "-protection" option followed by a number of days.

 

C:\> omnirpt -report media_statistics -pool Jim_4220_MediaPool -protection 7 
Media Statistics

Cell Manager: fanta
Creation Date: 4/19/2013 10:15:01 AM

# Media: 6
# Scratch: 0
# Protected: 6
# Good : 6
# Fair: 0
# Poor: 0
Total [GB]: 24576.00
Used [GB]: 15.82
Free [GB]: 24560.18
# Appendable: 6

 

Finally, your interest may be stats for only scratch (expired) media in a particular pool.  You can get that with the "-no_protection" switch.

 

C:\> omnirpt -report media_statistics -pool Jim_4220_MediaPool -no_protection 
Media Statistics

Cell Manager: fanta
Creation Date: 4/19/2013 10:16:04 AM

# Media: 32
# Scratch: 32
# Protected: 0
# Good : 32
# Fair: 0
# Poor: 0
Total [GB]: 131072.00
Used [GB]: 0.00
Free [GB]: 131072.00
# Appendable: 0

 

There are dozens of other option combinations for the media_statistics report.  You will find that information and much, much more in the Command Line Interface (CLI) Reference available anywhere you have the documentation packet installed.  You can also find a copy at http://support.openview.hp.com/selfsolve/document/KM1363241/binary/DP7.00_CLIReference.pdf.

 

I'm a certified Unix curmudgeon and command line guy from way back.  The GUI is a convenient tool, but if you want to get some real work done ...

... come to the dark side, Luke.

Labels: Data Protector
Leave a Comment

We encourage you to share your comments on this post. Comments are moderated and will be reviewed
and posted as promptly as possible during regular business hours

To ensure your comment is published, be sure to follow the community guidelines.

Be sure to enter a unique name. You can't reuse a name that's already in use.
Be sure to enter a unique email address. You can't reuse an email address that's already in use.
Type the characters you see in the picture above.Type the words you hear.
Search
About the Author
Mr_T? Yes, but in name only. No mohawk or gold chains. In real life I'm Jim Turner, a Master Technologist with HP's Integration and Techn...
About the Author(s)
  • I graduated in Software Engineering. Joined HP family five years ago, I deliver Insight Remote Support technical consulting for HP customers, in North America, Canada and Latin America. Assist setting up, installing and configuring the solution in customers' IT environments.
  • I am an identical twin. My brother’s name is Greg Tinker and we have been extremely fortunate working similar careers within HP, known to our HP colleagues and many of our customers as "The Tinkers". Our job is to be the technical lead on major business operational outages with millions of Dollars/Euros hanging in the balance. We both have a complete background in architectural, Infrastructure and application environments from both the proactive and reactive side of HP Enterprise Service (HP ES), and HP Enterprise Business (HP EB).
  • I am an identical twin. My brother’s name is Chris Tinker and we have been extremely fortunate working similar careers within HP, known to our HP colleagues and many of our customers as "The Tinkers". Our job is to be the technical lead on major business operational outages with millions of Dollars/Euros hanging in the balance. We both have a complete background in architectural, Infrastructure and application environments from both the proactive and reactive side of HP Enterprise Service (HP ES), and HP Enterprise Business (HP EB). We have always attended the same schools, studied the same material (big surprise, as we are identical twins), and have always worked as a close team and strive to demonstrate our teaming ability’s to others. We each have more than 11 years experience supporting mission-critical enterprise customers on a broad range of technologies. We’ve both won the HP MVP award multiple times as well as coauthored books, programs, and whitepapers in our spare time.
  • More than 25 years in the IT industry, managing ITSM, service development and delivery projects in Technology Services. Specialized in end2end support for ISV based business solutions. Certified ITIL and project management expert.
  • Eduardo Zepeda, WW TS Social Media Program Manager & Internal Communications for WW Technology Services Blogging on behalf of HP Technology Services (TS_Guest)
  • I have been with HP for 13 years, always in Services - first as a Services Channel Sales rep, then a Channel Services Segment Manager, and now, in WW Technology Services Marketing. These may be my formal job titles, but I'm really a Cheerleader for HP Services! I feel that HP has great services, exceptional Technical Experts and Delivery teams, and so many cool things are going on at HP Services. So, stay tuned...
  • Mr_T? Yes, but in name only. No mohawk or gold chains. In real life I'm Jim Turner, a Master Technologist with HP's Integration and Technical Services team. I leverage my 27 years of system, storage, and networking experience to ensure optimal performance with Data Protector and StoreOnce technologies. Many times the source of a problem is not where it appears to be. A broader view of the landscape and a deeper knowledge of system internals are frequently required, and that's precisely what I deliver.
  • MrCollaboration (aka Jim Evans) is an HP Global Services Alliance Manager. He has worked in the IT industry for more than 30 years, 22 of which were spent with Digital Equipment Corporation, Compaq and HP. He works with many third party vendors and partners to develop processes to facilitate excellent support and service for mutual customers. Jim is also HP’s representative to the Technical Support Alliance Network (TSANet).
  • I've been working in Customer Service for over 20 years. During my career I've provided support services for Languages, Programming Libraries and Operating Systems. During the last 10 years I've provide support for Linux and more recently VMware. My current role is as a Technical Account Manager working in the HP Custom Mission Critical Services Industry Standard Operating Systems team. I provide both reactive and proactive operating system support for proLiant servers and blades. Our services in the Custom teams are built on statement of work contracts for large HP customers who need a customized mission critical support offering.
  • I like to listen as much as I like to talk. Why? My 25+ years in the technology industry has taught me that the key to delivering value to customers is to understand what they value in the first place! I developed this passion for customers and consultative selling during my 12 years with Accenture, and I have continued to approach customers in a consultative way during my 12+ year tenure with HP. I also have a passion for HP given my knowledge of our Product and Service Portfolio and the differentiators we possess that position us as a leader in the areas our customers are telling us they want to go. Converged Infrastructure, Converged Cloud, Big Data – and the associated Service and Support implications – all such exciting technology trends where our success will hinge upon our ability to differentiate ourselves versus others in the areas that matter most to our customers. Right up my alley, and I am proud to be part of the great HP team where I know we have the best solutions in the industry!
  • Tom Clement has over 30 years experience in the areas of adult learning, secondary education, and leadership development. During this time Tom has been a consistent champion of “non-traditional” training delivery methods, including blended learning, virtual delivery (self paced and instructor led), the use of training games and simulations, and experiential learning. Tom has spent the past 25 years of his career at Hewlett Packard, focused most recently on HP’s global Virtualization, Cloud, and Converged Infrastructure customer training programs. Tom manages the strategic direction and overall performance of these training programs, ensuring these worldwide programs help HP’s customers capitalize on the business opportunities made available by IT advancements in each of these subject areas. Tom and his global teammates utilize best in class instructors, course content and supporting equipment infrastructure to deliver these training programs to HP’s customers. The team prides itself on providing the Virtualization, Cloud, and Converged Infrastructure content customers need when and where they need it, anywhere in the world. Tom is based in the Washington, DC suburbs and can be reached at tom.clement@hp.com.


Follow Us
Top Kudoed Posts