Video Screencast Help
Search Video Help Close Back
to help

Custom Reports

Created: 16 Feb 2012 | Updated: 24 Feb 2012 | 5 comments
bsobek's picture
0 Agree
0 Disagree
0 0 Votes
Login to vote
Status: In Development

Hi,

 

we want to have some custom reports, where we can select servicegroups, ressources, Types, State, Volumes, ... as we want.

e.g. a report of all offline ressources of type application or all frozen Servicegroups.

Or is there a way to get the information of the reports from GUI like "All ressoruces"  via CLI (vomadm), so that we can get this inforamtion wih wrapper-scripts?

 

thanks!

 

Regards

Björn

Comments 5 CommentsJump to latest comment

mikebounds's picture

You can use VCS cli to get this info, so:
hares -type Application -attribute State

will give you state of resources of type Application so you can grep for OFFLINE if you wanted the offline reources.

 

hagrp -display | grep Frozen.*1$

will give you TFrozen (temporary Frozen) and Frozen (permenantly frozen)  groups.

For more complex queries you may need to combine ha command and/or using scripting.

Mike

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has helped you, please vote or mark as solution

0
Login to vote
Anoop_Kumar's picture

Try this ...

 

hares -disp -type Application -attribute Group -attribute State -group <ServiceGroupName>

hagrp -disp -attribute Frozen -attribute TFrozen

~Anoop

+1
Login to vote
bsobek's picture

we know the commands for the cli, but so we have to do the commands per skript or manually on every cluster and join the results.

VOM is the central management and report tool. I think, the needed information is inside the database. So it is possible to get this information with one "mouse-click" or cli command directly from VOM.

0
Login to vote
Michael Auria's picture

Currently, there is no tool to query the database at the command line.  You could go to the Ideas section of this forumn to make that enhancement request or use the URL http://enhancement.symantec.com to redirect.

 

As a work-around, you may want to consider is that on each page (Manage / Service Groups for example), there is a wrench icon near the upper right that allows you to save the data represented on that page to an Excel spreadsheet (export it from the database).  This could then be saved as a text file so you could write scripts to look at it.

0
Login to vote
CMilani's picture

The Advanced version of Veritas Operations Manager supports custom reports and has ways to extract the information in multiple forms.

The shipping version of Veritas Operations Manager Advanced , 4.0RU1, has storage, volume and file system information on its database, and you can use these data sets to create custom reports. The next version 5.0, planned for early CY12Q3, will include VCS information as well.

Check http://www.symantec.com/veritas-operations-manager-advanced for more info on the product or contact you sales advisor to schedule a demonstration with me.

Storage Foundation Enterprise hosts that are current on maintenance/support on any of the products below are entitled to use Veritas Operations Manager Advanced at no cost, across all supported platforms: Unix, Linux and Windows.

0
Login to vote