Installing the BMC Application Diagnostics Agent in silent mode


You can install the BMC Application Diagnostics Agent in silent mode in one of two ways:

Downloading the BMC Application Diagnostics Agent files

The BMC Application Diagnostics Agent installation scripts are packaged with the BMC Application Diagnostics Installer, and are used to install the BMC Application Diagnostics Agent in silent mode.

Before using silent mode, you must copy the following files to the local directory on the computer on which the Agent will be installed:

  • For Windows
    • adops-agent-install.bat
    • agentInstaller.jar
  • For Linux
    • adops-agent-install.sh
    • agentInstaller.jar

Notes

  • You must have Execute privileges on the installation scripts.
  • If you want to install the BMC Application Diagnostics Agent installation script files in the same location from which the installation is run, ensure that you have Write privileges on that location.

Installing the BMC Application Diagnostics Agent in silent mode using default values

  1. Download the BMC Application Diagnostics files.
  2. Run the following command:
    • For Windows

      adops-agent-install.bat -s
    • For Linux

      adops-agent-install.sh -s

       The -s parameter specifies to install in silent mode, using the following default values:

      • Installation directory: The directory from which the installation script is run
      • Portal port: 8100
      • Portal host: localhost
  3. Configure the Java options according to the application server type so that the Agent displays in the list of available Agents.

Installing the BMC Application Diagnostics Agent in silent mode using customized configuration settings

You can customize the silent installation to suit your deployment by running the install command with specified parameter values.

  1. Download the BMC Application Diagnostics files.
  2. Run the following command, and enter the values for the relevant parameters (see Description of parameter settings for parameter details):
    • For Windows

      adops-agent-install.bat -s -d <destination_path> -n <host_display_name> -a <application_display_name> -ph <portal_IP_Address> -t <portal_port>
      -phttph <proxy_http_host> -phttpp <proxy_http_port> -phttpsh <proxy_https_host> -phttpsp <proxy_https_port> -psocksh <proxy_socks_host> -psocksp <proxy_socks_port>
    • For Linux

      adops-agent-install.sh -s -d <destination_path> -n <host_display_name> -a <application_display_name> -ph <portal_IP_Address> -t <portal_port>
      -phttph <proxy_http_host> -phttpp <proxy_http_port> -phttpsh <proxy_https_host> -phttpsp <proxy_https_port> -psocksh <proxy_socks_host> -psocksp <proxy_socks_port>

       Description of parameter settings
      The [confluence_table-plus] macro is a standalone macro and it cannot be used inline. Click on this message for details.

      Tip

      Run adops-agent-install.bat -h (on Windows) or adops-agent-install.sh -h (on Linux) to display all parameters.

  3. Once the installation is complete, you can view the parameters selected during installation in the bmc_ad_agent_install.log file which is located on the same folder as the install script and the agentInstaller.jar.
  4. Configure the Java options according to the application server type so that the Agent displays in the list of available Agents.

Examples of customized configuration settings

  • A customized silent installation on Windows. The Agent will be installed on c:\BMC\AD\Agent, and connect to the Portal on goodhost.abcd.com. 

    c:\>adops-agent-install.bat -s -d c:\BMC\AD\Agent -host FrontEndMachine -application AbcdStaplesApp -portalHost goodhost.abcd.com
  • A customized silent installation on Linux. The Agent will be installed on /usr/BMC/AD/agent, and connect to the Portal on goodhost.abcd.com. 

    prompt>adops-agent-install.sh -s -d /usr/BMC/AD/agent -host BackEndRHMachine -application AbcdStaplesApp -portalHost goodhost.abcd.com
  • A customized silent installation on Windows using a proxy, with customized configuration of the Proxy HTTP and HTTPS host, and port. 

    adops-agent-install.bat -s -phttph 10.64.180.2 –phttpp 80 –phttpsh 10.64.180.2 –phttpsp 443
  • A customized silent installation on Linux using a proxy, with customized configuration of the Proxy SOCKS host and port: 

    adops-agent-install.sh -s -psocksh 10.64.180.2 –psocksp 3128

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*