Installing the BMC Application Diagnostics Server in silent mode


The BMC Application Diagnostics Server Installer can be run in silent mode, which requires no user interaction during installation.

The following files are used to configure the silent installation of BMC Application Diagnostics Server:

  • On Windows: adop-silent-option.txt
  • On Linux: adop-silent-option

These files are located in the \ADOPServer\Disk1 folder in the installation file structure.

To configure the silent installation

  1. Open the relevant adop-silent-option file in edit mode.
  2. Specify a valid directory into which the BMC Application Diagnostics Server should be installed, using the following format: 

    -P installLocation=<directory>

     where
     <directory> is the installation location.

    For Windows:

    -P installLocation=C:\Program Files\BMC Software\BMC Application Diagnostics

    For Linux:

    -P installLocation=/opt/bmc/BMC_Application_Diagnostics

  3. Add the Server components you want to install.
    • To install only the BMC Application Diagnostics Portal, add the following line: 

      -A bmc_application_diagnostics_portal
    • To install only the BMC Application Diagnostics Collector, add the following line: 

      -A bmc_application_diagnostics_collector

       If you do not want to install either of the components, add # before the component.

  4. Enter the Portal configuration.
    • When installing the BMC Application Diagnostics Collector only, you must enter the Portal host/IP to use in the portal_ip parameter.
    • When installing the BMC Application Diagnostics Portal, the portal_ip must remain localhost.
    • If required, modify the default port numbers. Ensure that the ports are available. 

      -J portal_ip=localhost
      -J portal_http_port=8100
      -J portal_https_port=8143
      -J portal_apm_console_host=<hostname_or_IP_address>
      -J portal_apm_console_https_port=443

       Parameter descriptions
      The [confluence_table-plus] macro is a standalone macro and it cannot be used inline. Click on this message for details.


  5. Enter the connection security level to be used by all components. 

    -J connection_security=<SecurityLevel>

     where
     <SecurityLevel> is one of the following:

    • not_secured – Select this option to set the communication protocol to HTTP.
    • encrypted – Select this option to set the communication protocol to HTTPS.
    • encrypted_authenticated – Select this option to set the communication protocol to authenticated HTTPS.

  6. Modify the BMC Application Diagnostics Collector configuration.
    • If required, modify the BMC Application Diagnostics Collector port numbers for the communication protocol selected when you selected the security level. Ensure that the ports are available. 

      -J collector_http_port=8200
      -J collector_https_port=8243

       Parameter descriptions
      The [confluence_table-plus] macro is a standalone macro and it cannot be used inline. Click on this message for details.

    • When installing the BMC Application Diagnostics Collector, you can modify the retention time (days) and database size (GB). 

      -J db_retention_time=30
      -J db_max_size=100

       Parameter descriptions
      The [confluence_table-plus] macro is a standalone macro and it cannot be used inline. Click on this message for details.


  7. Configure the database

by entering the following parameters:

-J db_admin_name=root
-J db_admin_password=<password>
-J db_port=<mysqlport>
-J db_directory=<MySQL bin folder>

 Parameter descriptions

Parameter

Description

db_admin_name

The user name for a database administrator. The default administrator user name is root.

db_admin_password

The administrator's password.

db_port

The database listening port. The default port is 3306.

db_directory

The directory of the MySQL Server 5.5 database installation.

Example

The following example illustrates the silent installation configuration for the BMC Application Diagnostics Server on a Linux operating system

.

./setup.sh -i silent \-DOPTIONS_FILE=adop-silent-option
-P installLocation=/opt/bmc/BMC_Application_Diagnostics
-A bmc_application_diagnostics_collector
-A bmc_application_diagnostics_portal
-J portal_ip=localhost
-J portal_http_port=8100
-J portal_https_port=8143
-J connection_security=encrypted
-J collector_http_port=8200
-J collector_https_port=8243
-J db_retention_time=30
-J db_max_size=100
-J db_admin_name=root
-J db_admin_password=foxtrot
-J db_port=3306
-J db_directory=/usr/bin

To run the Installer in silent mode

  1. Navigate to the \ADOPServer\Disk1 folder in the installation file structure.
  2. Enter the following command to install the BMC Application Diagnostics Server in silent mode:
    • On Windows

      setup.cmd -i silent -DOPTIONS_FILE=adop-silent-option.txt
    • On Linux

      ./setup.sh -i silent -DOPTIONS_FILE=adop-silent-option

       

      Notes

      • The BMC Application Diagnostics Server log files are located in the following directories:
        • On Windows: %temp%\adopserver_install_log.txt
        • On Linux: /tmp/adopserver_install_log.txt

Where to go from here

  1. Verify that the BMC Application Diagnostics Server installation is successful.
  2. Install the BMC Application Diagnostics Agent.
  3. Configure BMC Application Diagnostics in BMC Application Performance Management Console.

 

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