- Community Home
- >
- Storage
- >
- Legacy
- >
- Storage Software
- >
- Re: [EVA 5000/8000] Possible to query EVA configur...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2008 06:36 AM - last edited on 02-24-2014 12:13 AM by Lisa198503
07-08-2008 06:36 AM - last edited on 02-24-2014 12:13 AM by Lisa198503
As the administrator of multiple EVA 5000 and 8000 systems I often find myself wondering whether it is possible to query the EVA configuration information?
Example1: I might be interested in an overview of all disks that are not presented to any host.
Example2: I'd like to see whether there are hosts that are connected to the san by merely one port (finding out which servers are not connected redundantly).
Command View EVA offers the information in a certain format, but doens't allow you to alter the way the information is displayed, eventhought it isnt always what i'm looking for.
The SSSU provides a commandline way of approacing the information but does nothing more than list the complete set of info you requested. It doesn't allow for any conditional statements.
Is there anyway I can substract information from the EVA like I can with a SQL database?
SELECT * FROM 'Virtual Disks' WHERE vdisk_size > 100GB;
P.S. This thread has been moved from Disk Array to HP Storage System Scripting Utility (SSSU). -HP Forum Moderator
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2008 10:38 AM
07-08-2008 10:38 AM
Re: [EVA 5000/8000] Possible to query EVA configuration?
yes you can run the sssu commands create the output file and then parse it via perl or any other scripting language
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2008 10:35 PM
07-08-2008 10:35 PM
Re: [EVA 5000/8000] Possible to query EVA configuration?
Thought I was hoping for a more flexible and direct way to acces and filter the info.
Anyone else?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2008 11:55 PM
07-10-2008 11:55 PM
SolutionEven using SSSU's "XML" output and writing your own reporting is a lot of work, beleive me...
However, after some minor modifications of SSSU's XML, you can use Microsoft's LogParser.
The trick is to enclose the "object" tags, e.g.:
Then you can write a simple query, e.g. to find out which disk drive module number is at which position:
+-----one-line:
"C:\Programme\Log Parser 2.2\LogParser.exe" -i:XML "SELECT DISTINCT shelfnumber,diskbaynumber,modelnumber FROM disks.xml ORDER BY shelfnumber,diskbaynumber"
+-----
Or list all virtual disks larger than 10 GBytes, largest first:
+-----
"C:\Programme\Log Parser 2.2\LogParser.exe" -i:XML "SELECT DISTINCT objectname,allocatedcapacity INTO vdisks.lis FROM vdisks.xml WHERE allocatedcapacity > 10 ORDER BY allocatedcapacity DESC" -o:NAT
+-----
I've put the output into an attachment to retain the formatting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2008 12:06 AM
07-11-2008 12:06 AM
Re: [EVA 5000/8000] Possible to query EVA configuration?
Does he like graphics? I bet!
Lets give him one:
+-----
"C:\Programme\Log Parser 2.2\LogParser.exe" -i:XML "SELECT DISTINCT SUBSTR(objectname,15),allocatedcapacity INTO vdisks.gif FROM vdisks.xml WHERE allocatedcapacity > 10 ORDER BY SUBSTR(objectname,15)" -o:CHART -chartType:Column3D -chartTitle:"Virtual Disks larger than 10GB"
+-----
Again, see attachment for the output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2008 11:26 PM
07-13-2008 11:26 PM
Re: [EVA 5000/8000] Possible to query EVA configuration?
Far better then trying to select the information from the xml file with JavaScript and XSL.
Thnx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2008 11:45 PM
07-13-2008 11:45 PM
Re: [EVA 5000/8000] Possible to query EVA configuration?
E.g. if you use "SELECT ... FROM vdisk.xml, host.xml" - it will just append the data as LogParser cannot create a
'cartesian product' ( http://en.wikipedia.org/wiki/Cartesian_product ).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2008 03:25 PM
07-14-2008 03:25 PM
Re: [EVA 5000/8000] Possible to query EVA configuration?
I've posted elsewhere some xslt examples I use to create web page output. With some minor modes you could make a web page to do various queries... xslt is kind of a PITA to use however, if you ask me.
Also, as Uwe alluded to, they keep changing the format of SSSU's output which breaks anything that anyone writes to process it. Annoying!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 03:12 AM
07-16-2008 03:12 AM
Re: [EVA 5000/8000] Possible to query EVA configuration?
I'm having dificulty selecting certain attributes, suchs as a hosts' port wwn. The problem here lies with nested architecture of the xml file. Since the wwn is to be found at object\fcadapterport\port\portwwn\
Therefor the ports are not one the valid field for the Log Parser to work with. Can anyone tell me how to overcome this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2008 09:40 AM
07-18-2008 09:40 AM
Re: [EVA 5000/8000] Possible to query EVA configuration?
LogParser.exe -i:XML -rtp:-1 -stats:OFF "SELECT DISTINCT objectname,portwwn FROM host.xml"
...gives me a nice listing of the Host-path and WWNs. I've tried it with SSSU V6 and V8 outputs and single vs. dual-ports.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2008 01:16 AM
09-24-2008 01:16 AM
Re: [EVA 5000/8000] Possible to query EVA configuration?
I want to present the xml-file to (custom)-html.
http://www.microsoft.com/technet/scriptcenter/tools/logparser/lpexamples.mspx
I want the twice example.
Need I the code, xls:, to make the custom-HTML-reports?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2009 09:25 AM
01-14-2009 09:25 AM
Re: [EVA 5000/8000] Possible to query EVA configuration?
Hope this helps anyone else who stumbles upon this thread.
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2009 10:32 AM
12-16-2009 10:32 AM
Re: [EVA 5000/8000] Possible to query EVA configuration?
Can you explain what you mean with:
However, after some minor modifications of SSSU's XML, you can use Microsoft's LogParser.
The trick is to enclose the "object" tags, e.g.:
Cause I can't get your scripts working, and i guess it's because of this..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2009 12:12 PM
12-16-2009 12:12 PM
Re: [EVA 5000/8000] Possible to query EVA configuration?
But know the following:
LogParser.exe -i:XML -rtp:-1 -stats:OFF "SELECT DISTINCT objectname,portwwn FROM host.xml"
-rtp isn't an option anymore it seems in logparser?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2010 12:46 PM
01-28-2010 12:46 PM
Re: [EVA 5000/8000] Possible to query EVA configuration?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2010 01:52 AM
02-02-2010 01:52 AM
Re: [EVA 5000/8000] Possible to query EVA configuration?
these solutions looks like the thing i'm searching for...
However I have still a question
how do you produce the XML files you use
FROM disks.xml
FROM vdisks.xml
FROM vdisk.xml, host.xml
an other question is if anyone has experience with collection real snapshot sizes into an XML file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2010 02:38 AM
02-02-2010 02:38 AM
Re: [EVA 5000/8000] Possible to query EVA configuration?
Ex:
EVA> ls vdisk full xml > vdisk.xml
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2010 08:05 AM
02-08-2010 08:05 AM
Re: [EVA 5000/8000] Possible to query EVA configuration?
How should querry this for example every nigth?
How should I collect and store these XML?
How should I use the data for grafics so I can mail the growth of snapshots to the end user automaticly?
I think SSSU could be a very powerfull tool, but with this amount of examples, it will not work!
thanks for any help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2010 01:06 AM
02-11-2010 01:06 AM
Re: [EVA 5000/8000] Possible to query EVA configuration?
There are many undocumented ways those of us managing EVA's have found that are useful that HP *could* decide to help us with, but does not want to (we agree their support is stretched already). XML use of SSSU, too few RSM templates and EVAPERF are but a few examples.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2010 03:18 AM
02-14-2010 03:18 AM
Re: [EVA 5000/8000] Possible to query EVA configuration?
But with some Google searches on LogParsers and the SSSU command reference, I've created a scripts that dumps the vdisk, disk and host information every night in some csv files. :)
Great for administration.