Installing an App Visibility agent silently
Where you are in the Installation process
Step | Task |
---|---|
1 | Complete the planning activities |
2 | Prepare for TrueSight Operations Management installation |
3 | Install Remedy Single Sign-On |
4 | Install TrueSight Presentation Server |
5 | Install TrueSight Infrastructure Management (if licensed) |
6 | Install TrueSight App Visibility Manager — Phase A |
Install TrueSight App Visibility Manager — Phase B Task 1 (You are here) | |
Install TrueSight App Visibility Manager — Phase B Task 2 | |
7 | Install Real End User Experience Monitoring Software Edition (If licensed) |
8 | Install TrueSight IT Data Analytics (If licensed) |
9 | Complete the post-installation activities |
App Visibility agents are available for Java and .NET environments. Based on your environment, you can install the applicable agent on the computer with the application server you want to monitor. After you install the agent, connect it to the application server instance.
- To install the App Visibility agent for Java silently
- Configuring App Visibility agents for Java
- To install the App Visibility agent for .NET silently
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.
To install the App Visibility agent for Java silently
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 installation files to a temporary directory on the target computer.
- (Linux) Set the DISPLAY environment variable to ensure that the wizard-based installer launches the screens appropriately.
export DISPLAY=<IP address of the host computer>:0.0
- Open the silent options file javaagent-silent-options.txt in a text editor.
- Enter the destination directory where the agent for Java will be installed.
The default value is:- (Windows) C:\Program Files (x86)\BMC Software\App Visibility\Agent for Java
- (Linux, AIX, Solaris) /opt/bmc/App_Visibility/Agent_for_Java
Enter or modify the values for the following agent configuration parameters:
-J ApplicationServerDisplayName= -J PortalServer= -J PortalPort=
Agent configuration parameters
Parameter
Description
ApplicationServerDisplayName
Host name, which is displayed in the TrueSight console as the application server’s display name. The default name used is the DNS host name.
PortalServer
Host name or IP address of the computer on which the App Visibility portal is installed
If a load balancing server manages access to the portal, enter the host name or IP address of the load balancer.
PortalPort
Portal HTTPS port
If a load balancing server manages access to the portal, enter the port number of the load balancer.
If your environment requires the agent to use a proxy when communicating with the portal and collector, enter the connection details:
ProxyType= HTTPProxyServerHost= HTTPProxyServerPort=
Note
Proxy server details are required only if you are using a web proxy server or load balancing server. This server is not the same server as the App Visibility proxy, which is used to collect end-user browser data.
Proxy server values
Parameter
Description
ProxyType Type of proxy server host for outbound connection
- 0-No proxy
- 1-HTTPS proxy
- 2-SOCKS proxy
HTTPProxyServerHost
Web proxy server host for outbound connections. The default is blank, which means that no web proxy is used.
HTTPProxyServerPort
Web proxy server port for outbound connections
In a command line, run the following command, making sure to specify the full path and filename for the silent options file:
(Windows)
For example:setup.exe -i silent -DOPTIONS_FILE="<Full-File-Path>\<Silent Options Filename>"
setup.exe -i silent -DOPTIONS_FILE="C:\JavaAgentInstaller\Disk1\javaagent-silent-options.txt"
(Linux, AIX, Solaris)./setup.bin -i silent -DOPTIONS_FILE="<Full-File-Path>/<Silent Options Filename>"
For example:
./setup.bin -i silent -DOPTIONS_FILE="/home/Admin/JavaagentInstaller/Disk1/javaagent-silent-options.txt"
- Configure the Java options for the agent.
- Verify that the installation of the App Visibility agent for Java was successful, and that the agent was invoked, by reviewing the log files created during installation.
Configuring App Visibility agents for Java
After installing the App Visibility agent for Java, complete the following configuration tasks:
Update Java options according to the application server type
As part of the App Visibility agent for Java installation process, you must add the agent JVM options to the Java command line of your application server.
The procedure to update the JVM options is different for each application server type, and this topic provides examples for some of the leading types of application servers. If you have more than one JVM process using the same agent installation, you can assign meaningful names to distinguish each instance.
The App Visibility agent for Java runs in the same JVM memory space as the monitored applications, therefore BMC recommends increasing by 256 MB the maximum heap size specified through the -Xmx
Java option.
For full details about both the -javaagent
and -Xmx
options, refer to the Java options documentation for your application server type.
In the following procedures, replace the <AgentInstallationDirectory>
with the location where the agent is installed. The default folder is the one from which the installation script is run, for example:
- (Windows)
<AgentInstallationDirectory>
\ADOPsInstall\adops-agent.jar
Where<AgentInstallationDirectory>
is the C:\bmc\appvis_agent directory
- (Linux)
<AgentInstallationDirectory>
/ADOPsInstall/adops-agent.jar
Where<AgentInstallationDirectory>
is the /usr/bmc/appvis_agent directory
Grant Java 2 permissions to the App Visibility agents
The App Visibility agent requires permissions to the Java 2 system, such as write access to the application server computer (for log entries), and API access to various application interfaces to collect diagnostic information. On application servers that use Java 2 security, you must provide permissions to the App Visibility agent.
Granting the relevant permissions depends on the Java 2 security provider and application server type. This topic describes how to grant the relevant Java 2 permissions on different application server types.
To install the App Visibility agent for .NET silently
Copy and extract the files to a temporary directory on the target computer so that the agent-silent-options-windows.txt file is in the same folder as setup.exe.
- Open the agent-silent-options-windows.txt file in a text editor.
- Enter the destination directory where the agent for .NET will be installed.
The default value is C:\Program Files (x86)\BMC Software\App Visibility\Agent for .NET. Enter or modify the values for the following agent configuration parameters:
-J ApplicationServerDisplayName= -J PortalServer= -J PortalPort=
The agent configuration parameters are described in the following table:Agent configuration parameters
Parameter
Description
ApplicationServerDisplayName
Host name, which is displayed in the TrueSight console as the application server’s display name. The default name used is the DNS host name.
PortalServer
Host name or IP address of the computer on which the App Visibility portal is installed
If a load balancing server manages access to the portal, enter the host name or IP address of the load balancer.
PortalPort
Portal HTTPS port
If a load balancing server manages access to the portal, enter the port number of the load balancer.
If your environment requires the agent to use a proxy when communicating with the portal and collector, enter connection details:
HTTPProxyServerHost= HTTPProxyServerPort=
Note
Proxy server details are required only if you are using a web proxy server or load balancing server. This server is not the same server as the App Visibility proxy, which is used to collect end-user browser data.
Description of proxy server valuesParameter
Description
HTTPProxyServerHost
Web proxy server host for outbound connections. The default is blank, which means that no web proxy is used.
HTTPProxyServerPort
Web proxy server port for outbound connections
In a command line, run the following command:
setup.exe -i silent -DOPTIONS_FILE="<Full-File-Path>\agent-silent-options-windows.txt"
Specify the full path for the agent-silent-options-windows.txt file.
- When the command prompt is back, the installation process is complete. Restart IIS.
- Verify that the App Visibility agent for .NET installation was successful, and that the agent for .NET was invoked, by reviewing the log files created during the installation.
Troubleshooting installation issues
If you face issues during installation, see Troubleshooting the App Visibility Manager deployment
Next Step in the Installation process
Step 6 Phase B Task 2 — Now that you have successfully installed the App Visibility agent, you must install the Transaction Execution Adapter agent.
Comments
Log in or register to comment.