Performing the installation of an App Visibility agent for Java
Install the App Visibility agent for Java on the computer with the application server you want to monitor. After you install the agent, connect it to the application server instance. You can use the installation wizard, as described in this topic, or perform a silent installation .
This topic contains the following sections:
Before you begin
Before you install the App Visibility agent for Java, ensure that your environment meets the following requirements:
- Your system meets all requirements for App Visibility Manager.
- You completed all tasks to prepare the environment for agent installation.
To install the App Visibility agent for Java
- Log on to the computer with the user that runs the application server.
On Windows computers, you must run the installation with a user that has administrator privileges. - Copy and extract the files to a temporary directory on the target computer.
- Launch the installation wizard:
- (Windows) Double-click setup.exe.
- (Unix) Double-click setup.bin.
- On the Welcome page, click Next.
- On the License Agreement page, read the agreement, click I agree to the terms of the license agreement, and click Next.
If you do not agree to the terms of the license agreement, you cannot proceed with the installation. - Enter, or browse to, the installation directory and click Next.
The default directory is:- (Windows) C:\Program Files (x86)\BMC Software\App Visibility\Agent for Java
- (Linux, AIX, Solaris) /opt/bmc/App_Visibility/Agent_for_Java
- On the Agent Details page, enter the Application Server Display Name, which is displayed in the TrueSight console, and click Next. The default name is the DNS host name.
- On the Portal Connection Details page, provide values for the following parameters.
- Enter the Portal connection details:
- Portal Server—Enter the IP address or host name on which the App Visibility portal is (or will be) installed.
If a load balancing server manages access to the portal, enter the host name or IP address of the load balancer. - Portal Port—Enter the App Visibility portal port number.
If a load balancing server manages access to the portal, enter the port number of the load balancer.
- Portal Server—Enter the IP address or host name on which the App Visibility portal is (or will be) installed.
If your environment requires the agent to use a proxy server when communicating with the portal and collector, enter Proxy Server Details:
Proxy Server—Select one of the following:
- No Proxy
- HTTPS Proxy
- SOCKS Proxy
Default: No Proxy
- Proxy Host Name or IP Address—Enter the web proxy server host name or IP address.
If the App Visibility portal is behind a proxy server, enter the server host name or IP address. - Proxy Port—Enter the web proxy server port number for outbound connection. If you use a proxy server, this property cannot be blank.
- Click Next.
The installation utility tests the connection.- If the system successfully connects to the App Visibilityportal, the Installation Preview page is displayed.
- If the system fails to connect to the App Visibilityportalor the proxy server, a validation error is displayed. Do one of the following:
- Click Previous to verify the connection details and test the connection again.
Continue with the installation and change the connection details post-installation .
- Enter the Portal connection details:
- Review the settings displayed on the Installation Preview page and click Install.
- On the Installation Summary page, you can view the log or click Done to end the installation process.
- Perform the following procedure, "To configure Java options," to configure Java options for the agent.
To configure Java options
After you install the agent, you need to add the agent to the Java command line. The javaagent option is required to connect the App Visibility agent to the JVM process. Enter the information that is relevant to your installation.
Add the following agent JVM options to the Java command line of your application server.
Replace <installationDirectory> with the destination directory in which the App Visibility agent was installed.
The procedure to update Java options is different for each application server type.
Windows
-javaagent:<installationDirectory>\ADOPsInstall\adops-agent.jarLinux, AIX, Solaris
-javaagent:<installationDirectory>/ADOPsInstall/adops-agent.jar
- If you have a single App Visibility agent installation directory that is used by multiple JVM processes, you can assign meaningful names to distinguish each instance. For information, see To distinguish multiple JVM processes using the same agent installation.
- If your application server is using Java 2 security, set Java 2 security options for application servers that have Java 2 security enabled. For information, see Granting-Java-2-permissions-to-the-App-Visibility-agent.
- Restart the application server or JVM process.
Where to go from here
After you install the App Visibility agent for Java, perform the following tasks:
- Verify the installation of App Visibility agent for Java.
- Configure the App Visibility agents for Java after installation.
Access the TrueSight console.
Related topics
Installing-an-App-Visibility-agent-for-NETChanging settings of the App Visibility agent for Java