HP StorageWorks XP Performance Advisor Software v4.6 User and Troubleshooting Guide (T1789-96094, June 2010)

Setting the heap size values for Windows and Unix host agents
By default, the heap size value is set to Xmx1024M on a Windows or UNIX host agent. Xmx1024M
is also the maximum heap size value recommended by HP, if you are monitoring the performance of
XP arrays with large number of LDEVs (64K binary (65,536)).
However, you can also increase or decrease the heap size value based on the maximum heap size
that your system supports. For more information, refer to your operating system guide to know the
maximum configurable heap size value.
To modify the heap size value on a UNIX host agent:
1. Stop the UNIX host agent services.
To stop the HP XP Performance Advisor Hostagent service, type /opt/xppa/hostagent/
sbin/xppa stop in the command prompt window.
To stop the HP XP Performance Advisor Realtime Server service, type /opt/xppa/realtime/
xprealtime stop in the command prompt window.
2. Open the file, /opt/xppa/hostagent/sbin/xppa.
3. Edit the maximum heap size value, -Xmx1024M in the following code snippet to a value that is
required, depending on your UNIX or Linux host configuration:
RUNJAVA="/opt/xppa/jre/bin/java -Xmx1024M -DXPPA=1
-Djava.net.preferIPv4Stack=true”
RUNJAVA_IPv6="/opt/xppa/jre/bin/java -Xmx1024M -DXPPA=1
-Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true"
4. Save the changes and close the file.
5. Start the UNIX host agent services.
To start the HP XP Performance Advisor Hostagent service, type /opt/xppa/hostagent/
sbin/xppa start in the command prompt window.
To start the HP XP Performance Advisor Realtime Server service, type /opt/xppa/realtime/
xprealtime start in the command prompt window.
To modify the heap size value on a Windows host agent:
1. Stop the Windows host agent services.
To stop the HP XP Performance Advisor Hostagent service:
a. Select Start > Run and type services.msc in the command line.
b. In the Services window, right-click HP XP Performance Advisor Hostagent.
c. Click Stop in the drop down list.
To stop the HP XP Performance Advisor Realtime Server service:
a. Select Start > Run and type services.msc in the command line.
b. In the Services window, right-click HP XP Performance Advisor Realtime Server.
c. Click Stop in the drop down list.
2. Open the file, C:\Program Files\Hewlett-Packard\xppa\hostagent\config\
wrapper.conf.
3. Edit the maximum heap size value, -Xmx1024M in the following code snippet to a value that is
required, depending on your host configuration:
HP StorageWorks XP Performance Advisor Software User Guide 63