Chapter 3. Enabling middleware for EWLM 63
Figure 3-2 Restart DB2 instance on Windows Server 2003
Solaris
To instrument DB2 Universal Database on Solaris, you need to perform the following steps:
1. Add the instance owner to the auth file.
For a DB2 instance, you just need to add the UDB username in your installation
/etc/EWLM/auth file:
# ... your list(s) of authorized application user names here ...
nobody,db2inst1,root
2. Log in as the instance owner and set the following variable:
db2set DB2LIBPATH=/usr/lib
3. Restart the DB2 instance.
3.4 Enabling WebSphere Application Server for ARM
Use the following steps to instrument WebSphere Application Server:
1. Enable PMI Request Metrics.
2. Create Java™ Virtual Machine custom properties.
Enable PMI Request Metrics
When Performance Monitoring Infrastructure (PMI) Request Metrics is enabled, WebSphere
Application Server calls the ARM interface to pass the data to EWLM. This information can be
viewed through the EWLM Control Center and system log file. The correlation information is
generated and logged for the Web server plug-in and the JDBC drivers.
To enable PMI Request Metrics:
1. Log in to the WebSphere Administrative Console.
2. Click Troubleshooting
PMI Request Metrics.
3. Enable Request Metrics and Application Response Measurement (ARM) by checking both
properties as shown in Figure 3-3. Leave the Trace Level set to HOPS.
64 IBM Enterprise Workload Manager
Figure 3-3 Enable Request Metrics and Application Response Management
4. Click OK.
Create Java™ Virtual Machine custom properties
Once you enable PMI Request Metrics, you need to set the proper JVM custom properties for
the type of ARM agent and the ARM transaction factory. You have to create the custom
properties for all application servers you want EWLM to monitor. Also, these settings affect
the WebSphere HTTP plug-in configuration.
Create Java Virtual Machine custom properties using the following steps:
1. Log in to the WebSphere Administrative Console.
2. Click Servers
Application Servers server name Process Definition Java
Virtual Machine
Custom Properties.
3. If the properties shown in Table 3-3 are not present in the list, create them as shown in
Figure 3-4.
Table 3-3 Java Virtual Machine custom properties
Name Value
ArmTransactionFactory com.ibm.wlm.arm40SDK.transaction.Arm40TransactionFactory
com.ibm.websphere.pmi.reqmetrics.ARMIMPL arm4
com.ibm.websphere.pmi.reqmetrics.PassCorrelator
ToDB
true
com.ibm.websphere.pmi.reqmetrics.loggingEnabled true
java.library.path <EWLMMS_LIBPATH>
ws.ext.dirs <EWLMMS_HOME>/classes
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset