HP StorageWorks P9000 Performance AdvisorSoftware Command-Line User InterfaceReference GuideThis document describes the command-line user interface (C
NOTE:On a UNIX-based system, the CLUI supports only the following terminals: xterm, hpterm, andansi.CLUI Installation on SSLTo install CLUI on SSL:1.
ldev -dkc 82502 -ldev 1E:38 -L -dver 010600Start Time,End Time1272601500109,1272604200109Time,Date,Random Reads,Random Read Hits,Random Writes,Random
For P9000 disk arraysldev -hr -dkc 53036 -ldev 1:94Start Time: 09172010 142500 End Time: 09172010 151000+++++++++++++++++++++++++++++++++++++++Random
ldev -dkc 53025 -ldev 0:85 -hr -st 09.09.2010 09:00:00 -et 09.09.2010 09:30:00Start Time: 09092010 090000 End Time: 09092010 093000+++++++++++++++++++
CONFIGALARMconfigalarm -list -hrArray ID: 53036 Item: 0 Dispatch Level: 1Metric Category: MPBlade Processor UtilThreshold: 1Email Destinations:SNMP De
configalarm —listN,10001,THP-PID(3),THP Pool Occupancy,10,40,100,3, , ,NOconfigalarm -list hrArray ID: 10227 Item: 1 Dispatch Level: 3Metric Category:
aggregate -items LDEV_MB_TOTAL:10055:06:00 -hr2008-01-10 17:45:31.0: 0.82666015625 2008-01-10 17:40:31.0: 0.84863281252008-01-10 17:35:31.0: 1.6025390
aggregate -items ACP_PAIR_IO_TOTAL:10009:AUMU -hr2007-06-04 11:15:00.0: 418.0 2007-06-04 11:20:00.0: 414.02007-06-04 11:35:00.0: 458.0 2007-06-04 11:3
aggregate -items ldev_io_total:Fred hr2002-06-12 11:08:00.0: 4320.0 2002-06-12 11:09:00.0: 4320.02002-06-12 11:10:00.0: 4320.0 2002-06-12 11:11:00.0:
aggregate -items RAIDGRP_MB_TOTAL:10055:1-1 -hr2008-01-10 17:55:31.0: 16.672363281252008-01-10 17:50:31.0: 17.02832031252008-01-10 17:45:31.0: 17.1967
Snapshot sample outputaggregate -items SNAP_IO_SREADS:10001:10 -hr2006-02-23 16:30:00.0: 2105.0 2006-02-23 16:35:00.0: 1950.02006-02-23 16:40:00.0: 13
urce)at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)at InstallCert$SavingTrustManager.checkServerTrusted(Insta
AGGREGATE TIER:IOPSaggregate -a -items TIER_IOPS:10090:1 –st 04.20.2011 10:00:00POOL:1, TIER:1, TIER_TYPE:SSD, TIER_IOPS:5000, START_TIME:04.20.2011 1
PROPUTILITYC:\Program Files\Hewlett-Packard\Performance Advisor\clui>proputility -iThis utility creates and maintains the wrapper.properties file.n
JNLFor XP disk arraysjnl -hr -dkc 10090 -jid 0JID MU CTG JNLS AP U(%) Q-Marker Q-CNT Num LDEV#0 0 13 JSTAT_PJSE 1 0 371 0 1 9:FE0 0 13 JSTAT_PJSE 1 0
For P9000 disk arraysjnl -d; -dkc 53036 -jid 00;0;0;JSTAT_PJNN;1;0;163856;0;2;0:0D;MP Blade 2/2MC0;0;0;JSTAT_PJNN;1;0;163856;0;2;0:0D;MP Blade 0/1MA0;
jnl -L -dkc 53036 -jid 0JID,MU,CTG,JNLS, AP, U(%), Q-Marker, Q-CNT, Num, LDEV#, MPBladeId#0,0,0,JSTAT_PJNN,1,0,163856,0,2,0:0D,MP Blade 2/2MC0,0,0,JST
jnl -dkc 53046 -jid 1 -hr -respTIME DATE LDEV# MPBladeId# Avg Read Max Read Avg Write Max Write11:22:05 09.09.2010 0:01 MPB-2MC 0.0 0.0 NA NA10:52:05
Sample usage and output:...,E-Port list, E-Seq, E-LDEV, CLPR..., -1, -1, -1, -1..., CL1C, 20074, 0:90, CLPR0..., CL1C, 20074, 0:91, CLPR0..., CL1C, 20
exportdb -dkc 10055 -st 09.14.2006 12:00:00 -et 09.14.2006 13:00:00 -dver 020000-file test.csv -resp allData records exported: 12Data record export co
2007-04-05 01:10:00.109,10001,0,0,0,3,1,0,109095574,0,3,12872007-04-05 01:10:00.109,10001,0,0,0,3,1,0,109095574,0,3,12882007-04-05 01:10:00.109,10001,
2007-04-05 01:26:00.109,10001,0,0,0,3,1,0,109095574,0,3,12872007-04-05 01:26:00.109,10001,0,0,0,3,1,0,109095574,0,3,12882007-04-05 01:26:00.109,10001,
Certificate Extensions: 8[1]: ObjectId: 1.3.6.1.5.5.7.1.12 Criticality=falseExtension unknown: DER encoded OCTET string =0000: 04 62 30 60 A1 5E A0 5C
The following is the sample output for the exportdb command on an XP24000 array for Ports.exportdb -hr -dkc 10090 -st 03.25.2011 00:00:00 -et 03.29.20
THPFor XP disk arraysthp -dkc 10090 -hr -ms http://alpha138.rose.hp.com:80/ -auth administrator:administratorPool ID Occupancy(%)0 991 7811 10012 0125
thp -dkc 10090 -pid 0 -hr -ms http://alpha138.rose.hp.com:80/ -auth administrator:administrator-hr > thp2.txtTime Occupancy(%)2010-09-07 17:39:01.2
thp -dkc 53025 -hr -pid 2Time Occupancy(%)2010-08-10 11:20:00.114 732010-08-10 11:05:00.111 732010-08-07 00:40:00.109 732010-08-07 00:35:00.112 732010
thp -dkc 53025 -L -pid 2Time , Occupancy(%)2010-08-10 11:25:00.111,732010-08-10 11:20:00.114,732010-08-10 11:05:00.111,732010-08-07 00:40:00.109,73201
thp -dkc 53025 -pid 22010-08-10 11:25:00.111,732010-08-10 11:20:00.114,732010-08-10 11:05:00.111,732010-08-07 00:40:00.109,732010-08-07 00:35:00.112,7
thp -pid 2 -dkc 53025 -ms http://alpha138.rose.hp.com:80/ -authadministrator:administrator -hrTime Occupancy(%)2010-09-09 10:58:11.156 732010-09-09 10
TOP20UTILFor P9000 disk arraystop20util -hr -dkc 53012 -mp 1++++++++++++++++++++++++++++++++++++++++++++++++++Owner Processing Type BusyTimeLDEV:0:13
Sample outputsSample outputs128
IndexAAGGREGATE, 46ALARMHIST, 32arraysmapping, 71CCACHEGRP, 23CONFIGALARM, 35conventionsdocument, 67text symbols, 67cu:ldev, 69DDBCONFIG, 45DKCH, 25DK
[8]: ObjectId: 2.5.29.19 Criticality=falseBasicConstraints:[CA:falsePathLen: undefined]]Algorithm: [SHA1withRSA]Signature:0000: 6B CE 5A 02 F8 FB 63 D
VVERSION, 21WwebsitesHP , 66HP Subscriber's choice for business, 65130
Figure 1.4. Copy the generated jssecacerts to JRE location under <>:\Program Files\Java\jre6\lib\security or the JRE location path and under Sec
Figure 2.Installing CLUIFor UNIX variantsTo install the CLUI on the UNIX variants, complete the following steps:1. Navigate to <dvd_drive>:\Tool
6. The script prompts you to enter the management station name or IP Address.• If you want to retain the default value, which is http:\\<localhost&
NOTE:It is a prerequisite to set the default installation directory path. To set the path, complete the followingsteps:1. On your management station,
• If you entered the management station name or IP address, the installation script prompts youfor the following additional values:a. To confirm if SS
IMPORTANT:The management station where the P9000 Performance Advisor is installed and all the systems wherethe host agents and CLUI software are insta
Legal and notice information© Copyright 1999, 2012 Hewlett-Packard Development Company, L.P.Confidential computer software. Valid license from HP requ
Installing CLUI20
3 CLUI commandsThis chapter describes the commands in the HP StorageWorks P9000 Performance Advisor CLUI. Thesupported shell scripts enable you to use
SwitchesDisplays the full version string.–vPrints the usage statement.–?Exampleversion -vEXT-LUNSyntaxelun [-d<delim>] [-L] [-hr] [-ms <URL&g
Exampleselun -dkc 10090elun -dkc 10033 —hrelun -dkc 1038 —Lelun -dkc 5235 —ms http://16.1.17.192:8080elun -auth administrator:userpwdCACHEGRPSyntaxcac
Specifies a user name and password pair in the format user name:password.–auth <user:passwd>Can be used in place of -auth.NOTE:The password file
Specifies the address of a management station in the format: <http://path.to.managementstation:<port>> or <https://path.to.managementst
Specifies a user name and password pair in the format user name:password.–-auth <user:pass-wd>Specifies the start time in the format mm.dd.yyyy
NOTE:The port type, such as Fibre, Ficon, Escon, or FCoE (applicable only for P9000 disk arrays) is alsodisplayed beside the CHIP port ID. The CHIP Po
Specifies the CHP port for which you want the output displayed.The word "all" can be used to indicate all hosts. Not adding this switch has
NOTE:The port type, such as Fibre, Ficon, Escon, or FCoE (applicable only for P9000 disk arrays) is alsodisplayed beside the CHIP port ID. The CHIP Po
Contents1 Overview ... 7CLUI for partially supported hosts ...
Specify the CHP port for which you want the output displayed.The word "all" can be used to indicate all hosts. Not adding this switch has th
IMPORTANT:• The LDEV command does not report "write cache hits" for either random or sequential workloads.The write cache hits for random an
ldev -dkc 10055 -ldev 0:7E -st 06.19.2006 14:00:00 -et 06.19.2006 14:30:00ALARMHISTSyntaxalarmhist [-d<delim>] [-L] [-hr] [-ms <URL>] [-au
Specify the metric category. Valid values are as follows:nlIO_TOTAL - LDEV IO TotalnlIO_RAND_TOTAL LDEV – IO Random TotalnlIO_RAND_READ LDEV - IO Rand
Specify the end time in the format mm.dd.yyyy hh:mm:ss.–et <mm.dd.yyyyhh:mm:ss>The class for the time constraints.Valid arguments are:posted Tim
PORTSyntaxport [-d<delim>] [-L] [-hr] [-ms <URL>] [-auth <user:passwd>] -dkc <serial#> -port <port ID> [-?]Supported dis
DescriptionEnables you to select metric values and monitor them for a particular metric. Also, you can configurethreshold and dispatch settings, email
Required Specify the alarm metric to watch. Not required if -list is used. Valid valuesare:nlIO_TOTAL LDEV IO TotalnlIO_RAND_TOTAL LDEV IO Random Tota
Can be used in place of -auth.NOTE:The password file must be created using only the encrypt command.–pf <password file>Specify the threshold lev
Examplesconfigalarm -list -hrconfigalarm -list –Lconfigalarm -listconfigalarm -dkc 10227 -mval 1 -metric THP_POOL_OCCUPANCYconfigalarm -dkc 10227 -mva
A Translating LDEV from the P9000 Performance Advisor data into a cu:ldevpair ...
Examplehostcfg -list –hrUSERHOSTCFGSyntax[-filein in_name | -streamin | -database colon:separated:no_spaces]-fileout out_name -streamout -header -send
In the form http://servername or https://servername.TIP:You can use https if your management station is set up for SSL.–ms <management_sta-tion_nam
Specify the address of a management station in the format <http://path.to.manage-mentstation:<port>> or <https://path.to.managementstat
Specify the severity of the event, range 1 - 10.–sev <severity>Specify the start time and date of the event to display.–st <mm.dd.yyyyhh:mm:s
SwitchesRequired. Specify the csv list of items to be added to the user group.Each item is in the form dkc+host::ldevlist, where: dkc+host is a DKC an
NOTE:If an array is connected to a host agent that is running on the HP-UX 11i v3 operating system, theDSF is displayed in a new format. A legacy DSF
Specify the time and date of the last stored data collection. Cannot be used with -loglvlor -list.–et <mm.dd.yyyyhh:mm:ss>Specify the address of
DescriptionDisplays the performance data of a given metric for a specified time interval. Based on the metricused, information can be requested for an
aggregate -a -items RAIDGRP_UTIL_OVRALL:<DKC>:<RAID_GROUP> —myyyy mmMonthlyaggregate -a -items RAIDGRP_UTIL_OVRALL:<DKC>:<RAID_GR
LDEV_IO_TOTAL Total LDEV IOs/secnlLDEV_IO_RAND_TOTAL - Total Random LDEV IOs/secnlLDEV_IO_RAND_READ LDEV Random IO reads/secnlLDEV_IO_RAND_READCACHE L
Figures... 141...
ACP_PAIR_IO_TOTAL - ACP pair total IO/secnlACP_PAIR_IO_RTOTAL - ACP pair total random IO/secnlACP_PAIR_IO_RREAD - ACP pair random read IO/secnlACP_PAI
RAIDGRP_IO_TOTAL - RAID Group total IO/secnlRAIDGRP_IO_RTOTAL - RAID Group total random IO/secnlRAIDGRP_IO_RREADS - RAID Group random read IO/secnlRAI
Snapshot metrics:nlSNAP_IO_TOTAL Total IO/sec of all LDEVs belonging to a particular Snapshot PoolnlSNAP_IO_RTOTAL - Total random IO/sec of all LDEVs
aggregate -items ldev_io_total:Fredaggregate -items ldev_io_total:Fred Laggregate -items ldev_io_total:Fred hraggregate -items ldev_io_total:20031:1:f
DescriptionProvides the Tier I/O per second data for the Smart pools.Examplesaggregate -a -items TIER_IOPS:10090:1 –st 04.20.2011 10:00:00aggregate -a
THPSyntaxthp -dkc <serial #> [-pid <thp pool id>] [-auth <user:passwd>] [-ms <URL>][-L] [-d<char>] [-hr] [-?] [-pf <p
SNAPSHOTSyntaxsnapshot -dkc <serial #> [-pid <snapshot pool id>] [-auth <user:passwd>][-ms <URL>] [-L] [-d<char>] [-hr]
JNLSyntaxjnl -dkc <serial #> [-jid <journal pool id>] [-auth <user:passwd>] [-ms<URL>] [-L] [-resp] [-d <char>] [-hr] [-
Displays the actual number of paths.APDisplays the usage rate of the journal pool in percentage format.U(%)Displays the sequence number for the journa
NOTE:The -st and –et options are supported with the –jid option only.Examplesjnl -hr -dkc 10001jnl -hr -dkc 10001 -jid 0jnl -hr -dkc 10001 -jid 0 -st
TablesSyntax conventions ... 211Document conventions ..
IMPORTANT:• If you export data for a P9000 disk array, you can also view the average utilization percentageof an MP blade and the LDEV that is current
Required. Specify the start time in the format mm.dd.yyyy hh:mm:ss.–st <mm.dd.yyyyhh:mm:ss>Required. Specify the end time in the format mm.dd.yy
The command.ExportdbThe date and time to begin the export.–stThe last date and time to include in the export.–etThe full path to the file to which the
Importing data to MS ExcelTo import the data into Excel, complete the following steps:1. Open the exportdb file using MS Excel (0706export.txt as refe
Constrain by a certain end time.-et <mm.dd.yyyy hh:mm:ss>URL of the management station.-ms <URL>The username and password.-auth <user:p
4 Support and other resourcesContacting HPHP technical supportFor world wide technical support information, see the HP support website:http://www.hp.c
• P9000Info Release NotesTo find related documents, browse to the Manuals page of the HP Business Support Center web site:http://www.hp.com/support/ma
Typographic conventionsTable 2 Document conventionsElementConventionCross-reference links and email addressesBlue text: Table 2Website addressesBlue,
Support and other resources68
A Translating LDEV from the P9000Performance Advisor data into a cu:ldevpairThe cu:ldev mapping is obtained by dividing the LDEV value by 256. The quo
1 OverviewHP StorageWorks P9000 Performance Advisor is a graphical and command-line user interface thatmonitors real-time performance of HP StorageWor
Translating LDEV from the P9000 Performance Advisor data into a cu:ldev pair70
B Array mappingTo correctly map the ACP and CHIP pairs, see the following tables for the respective array:• Table 3• Table 4• Table 5• Table 6• Table
Slot IDPair IDSlot nameCHIP C = 0; G = 4CHIP Pair 1C, GCHIP D = 1; J = 5CHIP Pair 2D, JTable 5 lists the ACP and CHIP pairs for XP1024.Table 5 XP1024S
Table 7 lists the ACP and CHIP pairs for the XP10000 and SVS200 type arrays.Table 7 XP10000 and SVS200Slot IDPair IDSlot nameACP MIX-A = 0; MIX-F = 4A
Slot IDPair IDSlot nameCHIP LU=20; XU=28,CHIP Pair 13LU, XUCHIP KU=22; WU=30CHIP Pair 14KU, WUCHIP LL=21; XL=29CHIP Pair 15LL, XLCHIP KL=23; WL=31CHIP
C Sample outputsThis section identifies sample outputs of the most used commands.NOTE:Labels in labeled outputs (specified by –hr or –L in the command
dkcs -L -dkc 10055Array Type,Serial No.,Record Time,Record Date,Micro Code,RMLib Version,Chip E MP 0,Chip E MP 1,Chip E MP 2,Chip E MP 3,Chip E MP 4,C
Array Type: XP 10000Serial #: 80029Record Time: 17:35:00Record Date: 07/29/2005Micro Code: 50-03-96/00Raid Manager Lib: 01.10.04Chip Data: ACP Data:MI
Array Type: XP 24000Serial #: 10001Record Time: 16:30:00Record Date: 03/30/2007Micro Code: 60-00-20/00Raid Manager Lib: 01.12.03Chip Data: ACP Data:EU
Array Type: P9500Serial #: 53012Record Time: 18:00:00Record Date: 07/09/2010Micro Code: 70-00-31/00Raid Manager Lib: 01.15.01MP Blade Data:MP Blade 0/
Overview8
DKCHFor XP disk arraysdkch -dkc 10055 —hrStart Time: 05:30:00 01.01.1970End Time: 05:30:00 01.01.1970Array Type: XP 12000Serial #: 10055Record Time: 1
Array Type: XP512Serial #: 30143Record Time: 14:04:10Record Date: 11/28/2001Micro Code: 01-13-18/00Raid Manager Lib: 01.04.01Chip Data: ACP Data:P = 1
dkch -dkc 10055 —LStart Time, End Time, Time, Date, Serial No., Type,Chip E MP 0,Chip E MP 1,Chip E MP 2,Chip E MP 3,Chip F MP 0,Chip F MP 1,Chip F MP
Start Time: 15:45:00 03.30.2007 End Time: 16:30:00 03.30.2007Array Type: XP 24000Serial #: 10001Record Time: 15:45:00Record Date: 03/30/2007Micro Code
For P9000 disk arraysdkch -hr -dkc 53012Start Time: 16:50:00 07.09.2010End Time: 19:45:00 09.07.2010Array Type: P9500Serial #: 53012Record Time: 16:45
dkch -L -dkc 53012Start Time,End Time1279287000109,1279289700109,Time,Date,Serial No.,Type,MP Blade 0/1MA MP 0,MP Blade 0/1MA MP 1,MP Blade 0/1MAMP 2,
dkch -dkc 530121279287000109,1279289700109,190000,07162010,53012,14,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.
HP StorageWorks P9000 Performance Advisor Software Command-Line User Interface ReferenceGuide 87
dkch -dkc 53046 -ms http://testsys.cup.com:80/ -auth administrator:administrator -st09.09.2010 09:00:00 -et 09.09.2010 09:15:00 -hrStart Time: 09:00:0
MP Blade Data:MPB-1MA = 14.0% 11.0% 9.0% 9.0%MPB-1MB = 20.0% 8.0% 8.0% 8.0%MPB-2MC = 0.0% 0.0% 0.0% 0.0%MPB-2MD = 0.0% 0.0% 0.0% 0.0%MPB-1ME = 0.0% 0.
2 Installing CLUIPrerequisitesBefore you install the CLUI, ensure that you have the following:• Ensure that JRE 1.5.0_15 or later is already installed
LUNHFor XP disk arrayslunh -ha xpslk.user.server.com –hrRetrieving records 0 - 1999Array ID: 30143 Lun ID: 5 Volume-Grp.:--Dev. File: /dev/rdsk/c5t3d5
lunh -ha hpbs1428.user.server.com -hr -dver 010600Array ID: 30143 Array Type: XP512Lun ID:1 Volume-Grp.:-/dev/vg00 Dev. File: /dev/rdsk/c0t0d1LDEV ID:
lunh -ha hpbs1428.user.server.com -hr -dver 015100Array ID: 30143 Array Type: XP512Lun ID:0 Volume-Grp.:-/dev/vg00 Dev. File: /dev/rdsk/c0t0d0LDEV ID:
lunh -ha hpbs1428.user.server.com -dver 01510030143,0,/dev/vg00,/dev/rdsk/c0t0d0,0:00,1401,OPEN-3,0004,1-1,CL1A,97,Fibre(Target),BL,29,3,SMPL,SMPL,SMP
lunh -ha alpha138.rose.hp.com -hr -dkc 53012 -dver 010600Array ID: 53012 Array Type: P9500Lun ID:0 Volume-Grp.:-/dev/vg00 Dev. File: /dev/rdisk/disk7(
lunh -ha alpha138.rose.hp.com -hr -dkc 53012Array ID: 53012Dev. File: /dev/rdisk/disk7(/dev/rdsk/c17t0d0)Lun ID: 0 Volume-Grp.:- LDEV ID: 0:00LDEV IO/
lunh -ha alpha136 -dkc 53046 -ms http://alpha138.rose.hp.com:80/ -authadministrator:administrator -mr 2 -dver 010600 -hrArray ID: 53046 Array Type: P9
lund -dkc 10090Unknown,-1, , ,1:1A,0,OPEN-V-CVS,0000,1-5,CL5B,1,Fibre(Target),AUMU BUNU,0,-Unknown,-1, , ,0:5E,0,OPEN-V-CVS,0000,1-5,CL5B,1,Ficon,AUMU
ldev -dkc 10090 -ldev 0:6D -st 04.27.2010 11:00:00 -et 04.27.2010 16:35:00 –hrStart Time: 04272010 110000 End Time: 04272010 163500+++++++++++++++++++
ldev -dkc 82502 -ldev 1E:381272600600109,1272603300109094000,04302010,1.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0094500,04302010,1.0,1.0,0.0,0.0,0.0,0.0,0.0,0.009
Kommentare zu diesen Handbüchern