|
TIP: To understand what metrics are collected by Foglight for Java EE Technologies, review the agent_collector_<SERVER>.config files for your server type. For example, agent_collector_websphere-6.config. You can access these files from the Application Servers Administration > Java Administration > Advanced Configuration view. |
|
• |
For WebSphere 6.x — click Servers > Application servers. |
|
• |
For WebSphere 7.x — click Servers > Server Types > WebSphere Application servers. |
|
3 |
Under Performance, click Performance Monitoring Infrastructure (PMI). |
|
4 |
Select the Enable Performance Monitoring Infrastructure (PMI) check box. |
|
5 |
Optional — Select or clear the Use sequential counter update check box to enable or disable precise statistic update. |
|
7 |
|
8 |
In the Messages pane, click Save to apply your changes. |
|
1 |
On the navigation panel, under Dashboards, click Application Servers > Administration > Application Servers Administration. |
|
2 |
|
3 |
|
4 |
On the Setup Options page, select the type of integration. This example describes how to Setup a new application server integration (the default selection). |
|
5 |
On the New Integration — Type page, select the type of Java application server you want to integrate with. In this case, select WebSphere on Solaris, Linux, HP-UX, or AIX, or WebSphere on Windows. |
|
c |
Click Next. |
|
b |
Optional — If your application server uses startup scripts with customized names, click the arrow beside Other Options to open a list of script paths and names. Type the custom names in the appropriate boxes. |
|
c |
Optional — Click the arrow beside Command Line Options to show the agent and pre-instrumentor option boxes. Use these boxes to provide command-line parameters for the agent or pre-instrumentor. |
|
• |
To add agent options, type them in the Agent Options box. |
|
• |
To add pre-instrumentation options, type them in the pre-instrumentor Options box. |
|
d |
Click Next. |
|
• |
Click New log configuration. The New Log Configuration dialog box opens. |
|
TIP: If you are uncertain about how to adjust these settings, click Help for an overview of log targets and their purposes. For details, see Creating or Editing Logging Properties . |
|
• |
To accept the default directory, leave the Directory name box blank. |
|
a |
By default, the instrumentation script is assigned a name based on the integration type. For example: WebSphere on Windows: StandaloneServerScripts. |
|
b |
Click Finish. |
|
1 |
Create a Generic installation only integration on the host, with the JAVA_HOME specified for pre-instrumentation. For more information, see Creating a Generic Installation for Manual Java EE Agent Integration. |
|
TIP: Make a backup copy of your original <oracle_home>/opmn/conf/opmn.xml file before completing the next step. |
|
3 |
Open <oracle_home>/opmn/conf/opmn.xml in a text editor. |
|
4 |
Add the following environment variable definitions at the <ias-instance> level. |
|
• |
|
• |
Replace <oracle_jdk14_bootstrap_jar> with the file name of the bootstrap JAR file created in the <VERSIONED_SUBDIRECTORY>/bootstrap/<INTEGRATIONID> directory by the pre-instrumentation task in step 1, for your JDK 1.4 installation (for example, C--AppServers-oracle-10gR2_10.1.2-jdk.jar). |
|
• |
|
• |
Replace <JDK15_INTEGRATIONID> with the name of the directory created in step 1 by the pre-instrumentation task for your 1.5 JDK. |
|
• |
Replace <oracle_jdk15_bootstrap_jar> with the file name of the bootstrap JAR file created in the <VERSIONED_SUBDIRECTORY>/bootstrap/<INTEGRATIONID> directory by the pre-instrumentation task in step 1, for your JDK 1.5 or 1.6 installation (for example, C--AppServers-oracle-10gR3_10.1.3-jdk.jar). |
|
c |
Replace <VERSIONED_SUBDIRECTORY> with the path to the Java EE agent installation directory created in step 1. |
|
NOTE: The " characters surrounding <VERSIONED_SUBDIRECTORY> are required to enable the use of spaces in the value. Do not remove them. |
|
d |
Append the $PERFORMASURE_JDK14_OPTIONS or $PERFORMASURE_JDK15_OPTIONS, according to the version of the JDK you are using, to the value attribute of the java-options tag that is enclosed in the start-parameters tag for each OC4J component that you want instrumented. Employ the JDK version that was used for that OC4J instance. |
|
5 |
Save opmn.xml. |
|
6 |
If opmn is running, you must reload the modified opmn.xml file by launching opmnctl reload. If opmn is not running, start it now. |