Article Number
000036360
Applies To
RSA Product Set: RSA Identity Governance & Lifecycle
Platform: WebSphere
Issue
Any performance issues relating to RSA Identity Governance & Lifecycle User Interface and Data Collections, etc. are found in the WebSphere environment.
The RSA Engineering team will require more information about memory and CPU on a WebSphere environment. Therefore, they will request data captures and snapshots via
YourKit.
Resolution
Following are instructions for installing and configuring the YourKit Java Profiler Client and Remote Agent for WebSphere:
- Download the software for both Windows and Linux X64 from the YourKit download page.
Image description
- Install the YourKit Java Profiler Client:
- The Windows install file is named YourKit-JavaProfiler-<date>-<build>.exe. For example, YourKit-JavaProfiler-2018.04-b64.exe.
- Install it on a Windows host that is on a subnet/network that can route to the RSA Identity Governance & Lifecycle server or appliance. The installation will prompt for a destination for the software.
Image description
- Click Get Free Evaluation Key at first launch. This will send you to a web page on YourKit’s website that prompts for an email address to which they send the evaluation key.
Image description
Note: If the Windows host that can access the RSA G&L server cannot reach the web, simply install the software on another host that has web access to get the ASCII key.
- The prompt to integrate with IDE can be cancelled, as it is not needed for this exercise.
- Install the Remote Agent to the WebSphere host
- Use a secure FTP client such as FileZilla or WinSCP to copy the YourKit-JavaProfiler-<date>-<build>.zip, to the WebSphere server.
- Unzip the file to a path, such as /home/oracle/yourkit.
Image description
Image description
- Configure WebSphere to utilize the Remote Agent.
- Logon to the Administrative Web User Interface for WebSphere.
- Under Servers > Application Servers, click on the server instance hyperlink.
Image description
- In the Server Infrastructure section, expand Java and Process Management.
- Click the Process Definition hyperlink
Image description
- Under Additional Properties on the right, click the Java Virtual Machine hyperlink.
Image description
- In the Generic JVM arguments window, append to the existing value with the following string:
-agentpath:/home/oracle/yourkit/bin/linux-x86-64/libyjpagent.so=listen=all
Image description
- Click Apply.
- Click Save directly to the Master Configuration.
Image description
- Restart the WebSphere server.
- The YourKit Java Profiler on a Windows host will communicate to the WebSphere server on its default TCP port of 10001. This port needs to be open on the WebSphere server's firewall.
- Create a Monitor Remote Application to collect snapshots.
- Launch YourKit Java Profiler from the Windows host’s Start menu.
- In the bottom left under Monitor Applications, click Connect to remote application.
Image description
- In the dialog, enter the server's hostname or IP and port number. When done, click OK.
Image description
- A Remote Application will be displayed.
Image description
- The setup of YourKit Java Profiler is complete.
Additional steps to capture the snapshot
- There are a series of buttons that have the universal green Play icon. When the Play icon is clicked, that component is being monitored. When the Play icon is selected, it turns to the universal Stop icon. Clicking Stop halts the monitoring. Under each component is additional parameters for granularity.
Image description
- For example: Capture Memory
Image description
Image description
- At any time, after one or more components have been collecting data, the floppy disk icon can be clicked to generate a snapshot.
Image description
Image description
Image description
Image description
- To see or set where the snapshots will be stored locally on the Windows host:
- In the toolbar, mouse over the floppy disk icon.
- From the Capture Memory Snapshot popup, click on the hyperlink for Snapshot Directory.
Image description
Image description
Notes