Evaperf can be used in two ways. One is to work with the Performance Monitor Tool in windows and add some counters. You can use perfmon to open the Performance Monitor Tool during use, then, click the plus sign in the toolbar to add things you like, such as total host req/s and total host kb/s, to monitor EVA Performance in a timely manner.
However, the trouble with this method is that it cannot take a long report. In addition, there are fewer types of observation at the same time.
The second method is the command line method. This method can collect long-time data and collect all Eva data, however, the disadvantage is that you need to retrieve the collected data and process it by yourself (you can use multiple methods to process the data, such as awk and grep in UNIX, another one seems to be tlviz, which I have never used, because I prefer to filter out what I want under UNIX, and then draw some tables in Excel to check the performance. The following procedure is to use evaperf to collect performance data.
1. Enter the DOS prompt and CD to the following directory:
C:/program files/Hewlett-Packard/EVA Performance Monitor>
Everything in the evaperf command line is in this directory. There is an executable program evaperf in this directory, which is our main tool. Directly knock on evaperf without adding any parameters. The help information is as follows:
C:/program files/Hewlett-Packard/EVA Performance Monitor> evaperf
Usage:
Ls list storage arrays
As array status
CS array controller status
PD physical disks
PDG physical disk groups
PDA physical disk Activity Map
VD Virtual Disks
Vdg Virtual Disk groups
VDRL Virtual Disk Read latency histograms
Vdrlg [lunwwn] Virtual Disk Read latency histogram Graph
Vdwl virtual disk write latency histograms
Vdwlg [lunwwn] virtual disk write latency histogram Graph
VDTs Virtual Disk transfer size histogram Graph
Vdtsg [lunwwn] Virtual Disk transfer size histogram Graph
HC host connections
PS port status
HPS host port statistics
DRT Data Replication tunnels
Luns visible to this host
Rc wwn reset the counters for an array
FNH host Username Password
Add a new CV/EVA host to the list
FNH show the list of known CV/EVA hosts
FN reload friendly-names from known CV/EVA hosts
SFN show the friendly name Map
Spw WWN password set the access password for an array
Dpw wwn Delete the access password for an array
Vpw verify array passwords
All runs: ls, As, Cs, Vd, vdg, HC, PS, HPS, PD, PDG, DRT
Windows performance monitor filtering commands:
PFS show the perfmon filter configuration
PFD Delete the perfmon filter configuration
PFA [array] * set the perfmon array Filter list
Pfvd [vdisk] * set the perfmon vdisk Filter list
PFH help for the perfmon filter commands
Filtering and formatting options:
-SZ array [array] * only collect data from the arrays specified in the list.
You must supply as least one array name.
The array name may be either its WWN or its friendly-name.
-Fvd vdisk [vdisk] * only collect data from the Virtual Disks with the names specified in the list.
You must supply as least one virtual disk name.
The Virtual Disk name may be either its WWN or its friendly-name.
This affects the VD, VDRL, vdwl and VDTs commands only.
-Cont [N] continuous at N second intervals. Default is one second
-Dur n continuous mode duration in seconds
-CSV output in comma-separated variable format with Timestamp
-TSV output in tab-separated variable format with Timestamp
-NH no table headings
-Ts1 add time stamp to CSV/TSV like: Fri Jul 23 16:23:05 2004
-Ts2 add time stamp to CSV/TSV like: 23/JUL/2004 16:23:05 (default)
-Nots no timestamp in CSV/TSV output
-FD keyword [keyword] * output data lines that contain all keywords
Note that data is still collected and processed for all arrays.
This just filters the table ouput rows.
-CN use name contractions in fnames. dict
-Kb show rates in kb/s (default is MB/s)
-Us show times in microseconds (default is milliseconds)
-Nfn no friendly names (show node or Lun WWN)
-FO filename write output to filename as well as Console
Version: 1.00.50729 (built Fri Jul 29 10:58:05 2005)
Please note:
MB/S values are based on 1 MB = 1,000,000 bytes.
KB/S values are based on 1kb = 1,024 bytes.
Where a command accepts an array or Lun WWN, you may enter a friendly name
Instead of the WWN. Friendly names are case sensitive. WWNS may be entered
Or without hyphens.
2. Run the following command
C:/program files/Hewlett-Packard/EVA Performance Monitor> evaperf fnh xx. yy. ZZ. dd administrator
Verifying access...
Host username accessible
----------------------------------
XX. yy. ZZ. dd administrator Yes
The purpose of this command is to connect to SMA and prepare to generate friendly name, because when there is no friendly name, what you see on the generated report is not vdisk01, vdisk02, but a lengthy wwid, which seems to be exhausted.
Where:
FNH is the parameter for evaperf to generate friendly name.
XX. yy. ZZ. DD is the IP address of your SMA small appliance
Administrator and hpinvent are the user names and passwords of command view Eva. If the management of small appliances is Storage Server 2003, the password is hpinvent. If it is SMA, the password is administrator.
3. Run the command to generate friendly name.
C:/program files/Hewlett-Packard/EVA Performance Monitor> evaperf FN
Copying fnames. conf to fnames_conf.bak
Attempting to load names from host: XX. yy. ZZ. dd
Array 5000-1fe1-5000-fa21 szeva1
Found 2 Virtual Disks
Vdisk 6005-08b4-0010-2170-0002-5000-005d-0000 vdtest1
Vdisk 6005-08b4-0010-2170-0002-5000-0069-0000 test_dsk1
Fetching host data for 5000-1fe1-5000-fa21 eva1
Found 2 hosts
Host 1000-0000-c93b-b99b fs25
Host 1000-0000-c931-15b1 aixp690
Fetching disk group data for 5000-1fe1-5000-fa70 eva1
Found 1 Disk groups
Diskgroup 5000-1fe1-5000-fa21: 0 test1
4. Run the following command to list the EVA names.
C:/program files/Hewlett-Packard/EVA Performance Monitor> evaperf ls
The hp eva Performance Data Collection Service (evapdcs) does not seem to be run
Ning
Attempting to start the service
The service has been started
Device path target Lun product ctlr serial harware
Name Node
Id ID rev. Ver.
---------------------------------------
--------------------------------------
//./Scsi3: 0 0 0 HSV 110 (c) Compaq 4001 s045 p584901aaqs040 110
5000-1fe1-5000-fa70 5000-1fe1-5000-fa70
//./Scsi3: 0 1 0 HSV 110 (c) Compaq 4001 i07o p5849d3aaoi07o 110
5000-1fe1-5000-fa70 5000-1fe1-5000-fa70
5. Start collecting performance data.
I have read some of the help files just now. There are many parameters that are easy to confuse, but I hope they will not be blinded by the phenomenon. I personally think that most parameters may not concern you, because in general, we want to collect all the performance data. I will list out frequently-used commands and explain them. You will know how to use the following parameters.
C:/program files/Hewlett-Packard/EVA Performance Monitor> evaperf all-ts1-TSV-SZ eva1-cont 20-dur 86400-FO guo.2
Explanation:
ALL: it means that I want to collect all the data, including vdisk, controller, phicial disk, and disk group.
-Ts1: The Time Label I added to the output report is in the format of Fri Jul 23 16:23:05 2004
-TSV: You need to add a time tag. If you do not have this option, the output record does not have a time tag.
-SZ eva1: if SZ is not Shenzhen, select eva1 as the EVA name for data collection. As we all know, a small household electrical appliance may manage multiple Eva instances with different names.
-Cont 20: it is collected every 20 seconds. The value should not be too small, as shown in the White Paper.
-Dur 86400: 24 hours in total, that is, 86400 seconds
-FO guo.2: output file to guo.2, and also to your dos screen.
6. Analysis
After the collection, you can take out the guo.2 text file and analyze it by yourself. The analysis tool has been mentioned before. You can choose one based on your hobbies. It is done under UNIX.