Performing the Server installation silently


You can install the BMC Application Diagnostics Server unattended (a silent installation), which requires no user interaction during installation.

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

  • (Windows) adop-silent-option.txt
  • (Linux) adop-silent-option

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

Before you begin

Ensure that you have completed all preinstallation tasks.

To configure the silent Server installation

  1. On the computer where you will install the Server or Server component, use a command line to 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. If the path includes a space, enclose the path in quotation marks.

    (Windows) -P installLocation="C:\Program Files\BMC Software\BMC Application Diagnostics"
    (Linux) -P installLocation=/opt/bmc/BMC_Application_Diagnostics
     

    Failed to execute the [excerpt-include] macro. Cause: [Error number 2 in 0: No wiki with id [confluencePage:page] could be found]. Click on this message for details.
     

  3. Under the Installation Features section, add the Server components you want to install, or add # before a component that you do not want to install.

    # Install BMC Application Diagnostics Portal
    -A bmc_application_diagnostics_portal
    # Install BMC Application Diagnostics Collector
    -A bmc_application_diagnostics_collector

    Note

    If you install only the BMC Application Diagnostics Portal or only the BMC Application Diagnostics Collector, then only the relevant configuration parameters are applied.

  4. Under the Portal Configuration section, enter the Portal configuration.
    If required, modify the port numbers. Ensure that the required port is 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_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.

    1 Parameters for the apm_console are optional during installation. To enter the required information after installation, see Configuring-the-Portal-on-the-BMC-Application-Performance-Management-Console.

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

    -J connection_security=<securityLevel>

    One of the following values is valid for the <securityLevel> parameter:

    • HTTP – Enter this option to set the communication protocol to HTTP. If left blank, HTTP is the default option.
    • HTTPS – Enter this option to set the communication protocol to encrypted and authenticated HTTPS.
  6. Under the Collector Configuration section, modify the BMC Application Diagnostics Collector configuration.
    • If required, modify the 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

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

      -J db_retention_time=35
      -J db_max_size=100

      Parameter descriptions

  7. Under the Address Configuration section, configure the listening address (host name or IP address) of the computer on which you are installing the Server or Server component.

    This is the address that BMC Application Diagnostics components will use to connect to the installation computer.

    Note

    Ensure that the address is accessible from other components. If you need to change the address after installation, see Changing-Portal-settings.

    -J callback_address=
  8. Under the Database Configuration section, configure the database.

    Enter the port number for the MySQL 5.5 database that is created during the installation process. The default port number is 3301.

    -J db_port=3301
  9. Save and close the options file.
Example

The following example illustrates the settings of a silent installation configuration for the BMC Application Diagnostics Server on a Windows operating system.

setup.cmd \-i silent \-DOPTIONS_FILE=adop-silent-option.txt
-P installLocation="C:\Program Files\BMC Software\BMC Application Diagnostics"
-A bmc_application_diagnostics_portal
-A bmc_application_diagnostics_collector
-J portal_ip=localhost
-J portal_http_port=8100
-J portal_https_port=8143
-J connection_security=https
-J collector_http_port=8200
-J collector_https_port=8243
-J db_retention_time=35
-J db_max_size=100
-J db_port=3301

To install the BMC Application Diagnostics Server silently

  1. In a command line, navigate to the \ADOPServer\Disk1 folder in the installation file structure.
  2. To run the silent installation of the BMC Application Diagnostics Server, enter the following command:
    • Windows

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

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

      Notes

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

Failed to execute the [excerpt-include] macro. Cause: [Error number 2 in 0: No wiki with id [confluencePage:page] could be found]. Click on this message for details.

 

 

 

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