Performing the Diagnostics Server installation silently
You can install the BMC Application Diagnostics Server unattended (a silent installation), which requires no user interaction during installation. You can perform a silent installation, as described in this topic, or use the installation wizard.
Perform this procedure to install all the Diagnostics Server components on one computer, for a small environment, or each component on separate computers, such as for larger environments with several Diagnostics Collectors. When the Diagnostics Portal and Collector components are installed on the same computer, they share the same database.
The following files are used to configure the silent installation of 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.
If you are installing the APM Proxy, you must have a KeyStore certificate and prepare an encrypted password.
To configure the silent Server installation
- On the computer where you want to install one or more Diagnostics Server components, use a command line to open the relevant adop-silent-option file in edit mode.
Specify a valid installation directory for the Diagnostics Server:
-P installLocation=<directory><directory> is the installation location, which must be empty. If the path includes a space, enclose the path in quotation marks.
Under the Installation Features section is a list of the Diagnostics Server components. Add a hash tag (#) before a component that you do not want to install.
# Install App Visibility Manager Portal
-A bmc_application_diagnostics_portal
# Install App Visibility Manager Collector
-A bmc_application_diagnostics_collector
# Install App Visibility Manager Proxy
-A bmc_application_diagnostics_proxyUnder the Portal Configuration section, enter the Diagnostics Portal configuration.
If required, modify the port numbers. Ensure that the port you enter 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=443Portal configuration 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-Console.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:
- not_secured—Enter this option to set the communication protocol to HTTP. If left blank, this is the default option.
- encrypted_authenticated—Enter this option to set the communication protocol to encrypted and authenticated HTTPS.
- (For Collector installation) If you are installing the Diagnostics Collector, modify the parameter values under the Collector Configuration section, as necessary.
If required, modify the port number for the relevant communication protocol.
Ensure that the ports you enter are available.-J collector_http_port=8200
-J collector_https_port=8243Collector configuration parameter descriptions
(For Portal or Collector installation) Modify the database retention period (days), and database size (GB):
-J db_retention_time=35
-J db_max_size=100Portal or Collector database parameter descriptions
- (For APM proxy installation) If you are installing the APM Proxy, modify the parameter values under the Proxy Configuration section, as necessary.
If required, modify the port number for the relevant communication protocol.
Ensure that the ports you enter are available.-J proxy_http_port=8300
-J proxy_https_port=8343
-J proxy_beacon_receiver_port=8344APM Proxy requires a security certificate for use with SSL-encrypted beacons and injected requests. You can provide the location of the KeyStore file now, or you can import the KeyStore post-installation.
-J import_proxy_keystore_now=false
-J proxy_keystore_type=
-J proxy_keystore_path=
-J proxy_keystore_password_enc=KeyStore parameter descriptions
Under the Address Configuration section, configure the listening address (host name or IP address) of the computer on which you are installing the Diagnostics Server or component.
This is the address that BMC Application Diagnostics components will use to connect to the installation computer.-J callback_address=(For Portal or Collector installation) Under the Database Configuration section, configure the database.
Enter the port number for the MySQL database that is created during the installation process.The default port number is 3301.
-J db_port=3301- Save and close the options file.
To install the Diagnostics Server silently
- In a command line, navigate to the \ADOPServer\Disk1 folder in the installation file structure.
- To run the silent installation of the Diagnostics Server, enter the following command:
Windows
setup.cmd -i silent -DOPTIONS_FILE=adop-silent-option.txtLinux
./setup.sh -i silent -DOPTIONS_FILE=adop-silent-option
Encrypting a password for silent APM proxy installation
The Maintenance Tool enables you to create an encrypted password, which the Diagnostic Server requires for importing a KeyStore. You must use an encrypted password so that the KeyStore password is not exposed in the adop-silent-option file.
You can run the Maintenance Tool in a GUI or from the command line interface (CLI):
Where to go from here
Verify that the BMC Application Diagnostics Server installation is successful.
Change the MySQL root password.
Install the BMC Application Diagnostics Agent for Java.
Install the BMC Application Diagnostics Agent for .NET.
Configure the BMC Application Management Console.
Related topic
Importing-a-KeyStore-file-to-replace-the-self-signed-certificate