This guide is designed to help you understand and use the XPWatch and XPSketch tools. It describes the functional
capabilities and operational details of XPWatch and XPSketch, and provides some examples of how to use the
tool.
Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211
and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items
are licensed to the U.S. Government under vendor’s standard commercial license.
The information contained herein is subject to change without notice. The only warranties for HP products and services are set
forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as
constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.
Intel, Itanium, Pentium, Intel Inside, and the Intel Inside logo are trademarks or registered trademarks of Intel Corporation or
its subsidiaries in the United States and other countries.
Microsoft ®, MS Windows ®, Windows ® XP, Windows Vista ® are U.S. registered trademarks of Microsoft Corporation.
Java ™ is a US trademark of Sun Microsystems, Inc.
Printed in the US.
Contents
1 Introduction to XPWatch ...................................................................... 9
This chapter describes the features of XPWatch and the environment required to run it.
Overview
XPWatch is a command-line interface utility provided with HP StorageWorks XP Performance Advisor.
It is designed for focused troubleshooting and can capture data as frequently as every 10 seconds.
XPWatch monitors the performance of the following:
• Ports
• Client-Host Interface Processor (CHIP) or Channel Adapter (CHA)
• Array Control Processors (ACPs) or Disk Adapters (DKAs)
• RAID Groups
• Logical Devices (LDEVs) of XP Arrays
XPWatch can be used to troubleshoot performance issues, such as:
• Hot spots within the Array (hard disk drives or RAID Groups that are over utilized compared to
• Cache/Shared Memory issues, usage, contention and so on
• Determining true I/O throughput (from the mp port to the hard disk drive)
• Port I/O spikes
• Poor application response
The performance metrics are displayed on the console of the host system. The output data is stored
in a comma separated file (.csv). The .csv file can be loaded in XPSketch to obtain a visual
representation of the output data.
XPWatch offers the following features:
• Focused troubleshooting
• Real-time performance data monitoring and collection for time intervals as low as 10 seconds
• Ability to split data in desired intervals and store them in different files
• Customizable menu size
• Nicknames can be provided to the host groups for easy identification
• Command-line tool with easy-to-use selection menu
• Configuration changes that are reflected with every fresh run
• Small footprint and easy to execute, does not require any special installation
For more information on installing the XP Performance Advisor, see the HP Storage Works XP PA
Installation Guide.
XPWatch and XPSketch Reference Guide9
XPWatch environment
This section describes the software and hardware environment required to run XPWatch.
Software environment
Table 1 lists the XPWatch software environment.
Table 1 XPWatch software environment
Operating system
• Microsoft Windows 2003 Second Edition
• Windows 2003 EE SP1/SP2 [IA 32 bit]
• HP-UX
• HP-UX 11.11 32 bit
• HP-UX 11.23 PA RISC
• HP-UX 11.23 IA 64 bit
• HP-UX 11.31 PI PA RISC
• HP-UX 11.31 PI IA 64 bit
• AIX 5.3 and later
• Microsoft Windows 64 bit ( x64 and IA64)
• Solaris (SPARC)
• Red Hat Enterprise Linux (x32 and x64)
• SuSE Linux Enterprise Server (x32 and x64)
• VMware
Hardware environment
Table 2 lists the XPWatch hardware environment.
Table 2 XPWatch hardware environment
Functional representation
Figure 1 shows the functional representation of XPWatch.
XP Performance Advisor host agent 3.4 and later.Host agent
2.Selecting the desired array displays the list of host groups connected to it.
3.Selecting one or more host groups displays the list of ports connected to them.
4.Selecting the required ports displays the Pick LDEVs/RAID Groups Selection Scheme.
This scheme offers the following options:
• Filter LDEVs by RAID Groups
If you select this option, the RAID Groups menu appears. Select one or more RAID Groups
to view the LDEV menu. The LDEV menu lists all the LDEVs within the selected RAID Groups.
Select the required LDEV to collect and view the performance data.
• Filter RAID Groups by LDEVs
If you select this option, the LDEV menu appears. Select one or more LDEVs to view the RAID
Group menu. The RAID Group menu lists all the RAID Groups within the selected LDEVs. Select
the required RAID Groups to collect and view performance data.
• Manually Add RAID Groups and LDEVs Without Filtering
XPWatch and XPSketch Reference Guide11
If you select this option, all the available LDEVs and RAID Groups are displayed. Select the
desired RAID Groups and LDEVs to collect and view their performance data.
• Skip and Start Collecting
If you select this option, XPWatch skips the LDEV and RAID Group menus, and displays the
port performance data and CPU performance data of all the ports connected to the selected
array.
5.The output appears on the screen, which can be saved in .csv format.
Introduction to XPWatch12
2 Installing XPWatch
This section describes installing and uninstalling XPWatch. It also describes the various components
of XPWatch.
Prerequisites
The following are the prerequisites to install XPWatch:
• The XP Performance Advisor host agent (version 3.4 and above) must be installed on your host
system.
• The host must have a command device connected to the array to collect information from the array.
• You need to enable Logical Unit Number (LUN) security on the port of the required array to de-
termine the Host Group paths in XPWatch.
• You should have selected XPWatch bits during XP Performance Advisor installation. For more in-
formation, see the HP StorageWorks XP Performance Advisor Installation Guide.
Installing XPWatch
To install XPWatch, perform the following steps:
1.Open a web browser.
2.In the browser address line, enter your server name followed by /pa. For example, http(s):/
/[server name]/pa.
You can also access XP Performance Advisor over a secure connection: https://[server
name].[domain name]/pa.
If the DNS server cannot locate the management station and open the default XP Performance
Advisor applet, type http(s)://[IP address]/pa.
NOTE:
The XP Performance Advisor URL is case-sensitive.
The XP Performance Advisor logon screen appears.
Figure 2 shows the XP Performance Advisor logon screen.
XPWatch and XPSketch Reference Guide13
Figure 2 XP Performance Advisor logon screen
.
3.Enter your User Name and Password and click Sign In. The XP Performance Advisor Home screen
appears.
Figure 3 shows the XP Performance Advisor Home screen.
Figure 3 XP Performance Advisor home screen
.
4.On the Header menu, select Support. The screen displaying Table of Contents appears.
Figure 4 shows the Table of Contents screen.
Installing XPWatch14
Figure 4 Table of Contents screen
.
5.From the Tools menu, select XPWatch from respective operating system to download the XPWatch
zip file specific to your operating system.
6.Extract the contents of the zip file to a location on your system. The XPWatch.exe and wa-
gent.exe files are extracted.
7.Double-click XPWatch.exe to run XPWatch. You can also run XPWatch using the command
prompt.
For example, c:\XPWatchTool\XPWatch.exe
where, XPWatchTool is the folder containing the XPWatch.exe file.
In your command-prompt window, ensure that you point to the directory where XPWatch is in-
stalled.
NOTE:
• The XPWatch bits are available in the Tools folder on XP Performance Advisor Installation
disk 2.
• At any given point, you can close XPWatch by pressing Ctrl+C.
XPWatch and XPSketch Reference Guide15
Uninstalling XPWatch
To remove XPWatch, delete the folder containing the XPWatch.exe file.
Components
The software components of XPWatch are:
• XPWatch.exe— is an executable file used to launch the XPWatch tool.
• wagent.exe — is an executable file required to operate XPWatch.
• trace.txt — stores information about the execution cycle of XPWatch when the debug mode
is enabled.
• settings.ini — this file contains the default or customized menu settings. It is generated after
the first use of XPWatch.
• .csv file— is the output file that saves performance data.
The output file naming convention is: selected array-dd-mmm-yyyy- hh.min.sec.milliseconds.
For example, 10055-23-OCT-2008-12.40.46.151.csv is the output file name,
where:
• 10055 is the selected array.
• 23-OCT-2008 is the file creation date.
• 12.40.46.151 is the file creation time in (12 hrs, 40 min, 46 sec and 151 milliseconds).
NOTE:
All the above-mentioned software components are saved in one folder.
Installing XPWatch16
3 Working with XPWatch menus and
commands
This section describes how to use the different commands, menus, and interfaces of XPWatch.
Commands
The XPWatch commands enable you to perform the following tasks:
• Navigate through menus using the Navigation Options.
• Select items, such as ports, host groups, RAID Groups, and LDEVs using the Selection Options.
• Modify the settings using the Miscellaneous Options.
Figure 5 shows the XPWatch commands.
Figure 5 XPWatch commands
.
NOTE:
The Host Groups screen displays all the available navigation options, selection options, and
miscellaneous options. All the other screens have their related options displayed.
Table 3 lists the Navigation options available in the XPWatch interface and their functions.
Table 3 Navigation options and their functions
Command
FunctionOption
To view the previous menu.Backb
XPWatch and XPSketch Reference Guide17
Command
FunctionOption
To view the next menu.
Continuec
NOTE:
Enter c and not C.
Next pagen
Previous pagep
Exite
To view the next set of items, such as host groups, ports, RAID
Groups, and LDEVs.
To view set of items, such as host groups, ports, RAID groups,
and LDEVs displayed on the previous page.
To close XPWatch.
NOTE:
You can also use Ctrl+C to close XPWatch.
Table 4 lists the Selection options available in the XPWatch interface and their functions.
Table 4 Selection options
FunctionOptionCommand
To select all items in a given menu.Select Alla
Select Noner
To clear all the selected items in a given
menu.
Table 5 lists the Miscellaneous options available in the XPWatch interface and their functions.
Table 5 Miscellaneous options
FunctionOptionCommand
Menus
To change the settings of XPWatch.Settingss
To view the Nickname menu.Nickname Menux
NOTE:
XPWatch commands are case-sensitive.
XPWatch enables you to monitor and customize performance data of ports, RAID groups, and LDEVs
through different menus. They are:
• Array menu
• Host groups
• Nickname menu
• Port menu
• Pick LDEVs/RAID Groups selection scheme
• RAID Group menu
Working with XPWatch menus and commands18
• LDEV menu
• Settings menu
Array menu
The Array menu appears after you start XPWatch. This menu lists all the arrays that are connected to
the host.
The Array menu also displays the XPWatch version. You can also view the XPWatch version using
the following command in the command prompt:
XPWatch.exe -v
Figure 6 shows the screen that displays the XPWatch version.
Figure 6 XPWatch version
.
To select an array, enter the number (Num) corresponding to it. For example, to select the 10055
array, enter 1.
NOTE:
You can select only one array at a time.
Figure 7 shows the Array menu.
Figure 7 Array menu
.
Table 6 lists the fields of the Array menu.
Table 6 Array menu — fields
DescriptionScreen field
Selection numberNum
Serial number of the arraySerial
Type of the arrayType
XPWatch and XPSketch Reference Guide19
Host groups
The Host Groups screen lists the available host groups that are connected to the selected array. This
screen also displays all the available Navigation, Selection, and Miscellaneous options.
Figure 8 shows the Available Host Groups.
Figure 8 Available Host Groups
.
Table 7 lists the fields in the Host Groups.
Table 7 Host Groups — fields
Host World Wide Name
Ports
Viewing Host groups
To view the host groups connected to an array, perform the following steps:
1.Start XPWatch. The Array menu appears.
2.Select the array whose performance you want to monitor and press the Enter key. The list of host
groups connected to the array is displayed.
Selecting Host groups
DescriptionScreen field
Selection numberNum
User-friendly names given to the hosts.Nickname
Displays the identification number (WWN) of the Host
Bus Adapter (HBA), which the host uses to establish
communication with the array.
The port used by the array to communicate with the
host.
Select the host whose performance data you want to monitor.
To select a host group, enter the number corresponding to it. For example, to select 50060b00002fd4fa
and 50060b00002d24b4 host groups (see figure Available Host Groups), perform the following
steps:
Working with XPWatch menus and commands20
1.Enter 2 and press the Enter key.
The 50060b00002fd4fa host group is selected as shown in the following figure.
NOTE:
The selected host group is highlighted in green.
Figure 9 shows one host group selected from the list of available host groups.
Figure 9 Available Host Groups: One Host Group selected
.
2.Enter 3 and press the Enter key.
The 50060b00002d24b4 host group is selected.
Figure 10 shows two host groups selected from the list of available host groups.
Figure 10 Available Host Groups: Two Host Groups selected
.
Clearing Host groups
To clear a selected host group, enter its corresponding number.
For example, to clear the 50060b00002d24b4 host group, enter 3 and press the Enter key.
The 50060b00002d24b4 host group is cleared.
XPWatch and XPSketch Reference Guide21
Loading...
+ 47 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.