Operating System - OpenVMS
1832913 Members
2627 Online
110048 Solutions
New Discussion

Re: gathering I/O statistics from devices in SAN...

 
Byron Fowlkes
Advisor

gathering I/O statistics from devices in SAN...

wondering what would be a way of measuring reads and writes to devices on an OpenVMS cluster that are defined in a EMC SAN... I am not familiar with EMC toolkit stuff so I am asking as OpenVMS Sysadmin.
You Brought Two Too Many
16 REPLIES 16
EdgarZamora_1
Respected Contributor

Re: gathering I/O statistics from devices in SAN...

Is there an issue why you can't use standard OpenVMS performance utilities?

If you want to measure statistics inside the EMC box ask EMC for the "Deltamark" kit. They use this for measuring performance on the Symmetrix and for capacity planning.
Byron Fowlkes
Advisor

Re: gathering I/O statistics from devices in SAN...

I would be appreciative of any suggestions that you may have regarding specific VMS measuring tools... I am familiar with MONITOR at the very least.. not familiar with Capacity Planning tools..
You Brought Two Too Many
EdgarZamora_1
Respected Contributor

Re: gathering I/O statistics from devices in SAN...


T4 is a very good tool and best of all it's free (although "unsupported"). If your version of VMS is 7.3-2 or lower you can download it from:

http://h71000.www7.hp.com/openvms/products/t4/index.html

If you are at a higher version of VMS, e.g. 8.3, you can send email to the T4 maintainer (there's a link on that website) and request the beta kit.

If you have any questions on T4 installation, usage, etc. you can ask your questions here as most of the people here are T4 knowledgeable. Good luck.

Byron Fowlkes
Advisor

Re: gathering I/O statistics from devices in SAN...

wow, genius... apparently this (T4) is the product the previous SysAdmin chose to use for his Capacity Planning reporting and is alreday installed on this cluster (v7.3-2)... now I just need to figure out how to get some metrics.. ( hope it is intuitive ).. thanks very much Edgar.. will start looking at this..
You Brought Two Too Many
EdgarZamora_1
Respected Contributor

Re: gathering I/O statistics from devices in SAN...

You should check out TLVIZ and CSVPNG on the T4 website. TLVIZ installs on your PC and is a great tool for visualizing T4 data.
Richard W Hunt
Valued Contributor

Re: gathering I/O statistics from devices in SAN...

We have OpenVMS 7.3-2 running with both HSG80 and EMC Symmetrix disks. They are both connected via KGPSA cards, so BOTH look like DGA disks. I/O statistics tools work fine on both disk sub-classes. You can get I/O counts, I/O queue depth, ... anything you want. MON /TOPDIO and MON DISKS work fine. The only difference you usually see are things like when you do a GETDVI, you would see "EMC xxx" instead of "HSG80", you would see different cylinder/track/sector geometry, and a few piddly-squat minor details. But they otherwise are exactly the same. The EMC disks even go through the "generic" disk driver.

Is there something you DON'T see that you wanted to see?
Sr. Systems Janitor
Byron Fowlkes
Advisor

Re: gathering I/O statistics from devices in SAN...

reply to Richard : thanks for those desktop analysis tools , I haven't had time to absorb all the stuff about using T4 yet but I am definitely going to be looking at this...
You Brought Two Too Many
Byron Fowlkes
Advisor

Re: gathering I/O statistics from devices in SAN...

reply to Richard and Edgar: well I certainly meant my thanks to you Edgar for the desktop tools for T4.. Richard I wanted to follow on your thread, when executing a sho dev/full on a volume in the EMC I notice that there are two I/O paths, current and primary with associated operations completed counts.. are these counts related to reads and writes??
You Brought Two Too Many
Robert Brooks_1
Honored Contributor

Re: gathering I/O statistics from devices in SAN...

If you are adventurous, you can explore the fibre channel SDA extension

SDA> FC

gives a list of commands, qualifiers, and parameters. Of interest may be FC PERFORMANCE

I *think* much of this has been backported to V7.3-2 (in a recent FIBRE_SCSI kit), but I can't guarantee that FC PERFORMANCE is there.


-- Rob
The Brit
Honored Contributor

Re: gathering I/O statistics from devices in SAN...

Byron,
The two paths you see means that your system has two HBA's and is probably connected either both to a single fabric, or each to a separate fabric, in your SAN. The "current" path is the path that your system is currently using for IO. It is normally the same as the "Primary" path. Note, it doesn't have to be the same, see the "set device /switch=..." command.

The numbers indicate only (IO) Operations completed, and do not tell you anything about whether they were reads or writes.

Dave.
Jan van den Ende
Honored Contributor

Re: gathering I/O statistics from devices in SAN...

Byron,

for the way of saying "thank you" in these forums, please see

http://forums1.itrc.hp.com/service/forums/helptips.do?#33

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
Richard W Hunt
Valued Contributor

Re: gathering I/O statistics from devices in SAN...

We are also multi-pathed as a matter of both redundancy and load sharing. I, too, see counts on both paths.

Here's the situation, to the best of my understanding.

Though either path can be used to get to any disk on the SAN, there is a "preferred" path. At reboot, the device driver somehow apportions the drives to one path or the other. However, according to my SAN guy, both paths go active when I reboot (perhaps because multipathing is verifying the alternate path?) Try this command:

SHOW DEVICE/MULTIPATH

You should see all devices having redundant paths and, at the rightmost end of the line, you should see which path currently is primary for that device.

The error and operation counts for SHOW DEVICE/FULL will show path-based counts. If you used, say, F$GETDVI on the device's OPCNT or ERRCNT fields, you would get back the sum of those path counts. (I tried it before I wrote this.)

If you have a problem with where the device is currently pathed, you have the command

SET DEVICE ddcu: /SWITCH/PATH=path-name

that will try to reset the primary path to the name specified. I suggest looking at the example in HELP SET DEVICE/SWITCH to see the details.

As far as the EMC toolkit stuff, I hardly ever use it. OpenVMS tools work just fine if you bother to track such things. (Which I sometimes do...)
Sr. Systems Janitor
Richard W Hunt
Valued Contributor

Re: gathering I/O statistics from devices in SAN...

Robert, the fibre_scan utility was added to OpenVMS 7.3-2 by the patch:

OpenVMS_FIBRE_SCSI version 13

The SYS$ETC:FIBRE_SCAN utility explores the fiber channel paths to see what will respond. The list can be pretty big, so you might wish to capture the output to a file rather than just letting it hit your screen.

Because I have a system with a gazillion little disks (don't ask... I inherited it that way), and I have FOUR x KGPSA (2 to HSG80, 2 to SAN), the output from that little utility overflows my scroll buffer on my one-lung terminal emulator.

But then, that's what I get for working with the government. They buy a system with a gazillion disks and then give me a relatively inadequate terminal emulator. Go figure.
Sr. Systems Janitor
Byron Fowlkes
Advisor

Re: gathering I/O statistics from devices in SAN...

well certainly thanks to all who have responded, I have learned things that I had no knowledge of before posting this thread.. by using the FC statistical display I have been able to gain some method to get rudimentary data on reads and writes on devices in the Fibrechannel.. I will continue to gratefully monitor this forum for any tips/techniques that can help me master this beast..
You Brought Two Too Many
Robert Brooks_1
Honored Contributor

Re: gathering I/O statistics from devices in SAN...

The error and operation counts for SHOW DEVICE/FULL will show path-based counts. If you used, say, F$GETDVI on the device's OPCNT or ERRCNT fields, you would get back the sum of those path counts. (I tried it before I wrote this.)

--

$GETDVI (SYS$, LIB$, and F$) supports the use of a pathname parameter for certain item codes to get path-specific information. Whilst OPCNT and ERRCNT are aggregated in the absence of a path specification, you can get the path-specific values for those item codes if you want. The documentation should have more detailed information.

Support for path names was first added for V8.2 (both Alpha and I64). It was backported to V7.3-2. Virtually all item codes that are current for V8.3-1H1 have been backported (unofficially and unsupported) to V7.3-2, V8.2, V8.2-1, and V8.3).

-- Rob
Ian Miller.
Honored Contributor

Re: gathering I/O statistics from devices in SAN...

For more info on T4 see
http://trendsthatmatter.com/

I expect it is possible to integrate the data from the EMC tools into T4
____________________
Purely Personal Opinion