Performing the Diagnostics Server upgrade silently
Use this procedure to upgrade the BMC Application Diagnostics Server to the latest version, including any feature packs.
- To upgrade to version 2.6.x, you can upgrade from 2.1.x or later, and then apply the POODLE security patch.
- To upgrade to Feature Pack 1 (version 2.7.01), you must first upgrade to 2.6.x. Version 2.7.01 includes a POODLE security patch that is automatically applied.
You can upgrade the Diagnostics Server components using the silent upgrade procedure and deploy the silent upgrade to several computers, or you can upgrade each server component using the the upgrade wizard procedure.
When you run the silent upgrade, only the Diagnostics Server component or components that are on the computer are upgraded. After you upgrade components, you can run the silent installation to install components that are not on the computer.
The following topics are presented:
Before you begin
- Download the following options file with the installation files from the Electronic Product Distribution site to a temporary directory on the Diagnostics Server computer:
- (Windows) adop-silent-option-upgrade.txt
- (Linux) adop-silent-option-upgrade
- Obtain an encrypted root password for the MySQL Database.
Back up the database.
- Ensure that you have completed all preinstallation tasks.
- Review the Preparing-for-a-BMC-Application-Diagnostics-upgrade-and-checking-compatibility topic.
- You must have administrative privileges on the computer where you perform the upgrade.
To upgrade the BMC Application Diagnostics Server silently
- In a command line, navigate to the \ADOPServer\Disk1 folder in the installation file structure.
- Open the downloaded options file in a text editor:
- (Windows) adop-silent-option-upgrade.txt
- (Linux) adop-silent-option-upgrade
Enter the encrypted root password for the MySQL Database to update the database tables.
If the root password was not changed since installation, do not change the entered password.
- If you did not previously upgrade the MySQL to version 5.6.14, select the data management method for the upgrade:
- copy—(Default) The data directory is copied to the new database.
If you do not have enough space, a warning is displayed and the upgrade script is aborted. - move—The data directory is moved to the new database. The previous database is deleted at the end of upgrade process.
- copy—(Default) The data directory is copied to the new database.
To run the silent upgrade, enter the following command:
Windows
setup.cmd -i silent -DOPTIONS_FILE=adop-silent-option-upgrade.txtLinux
./setup.sh -i silent -DOPTIONS_FILE=adop-silent-option-upgrade
Encrypting the password for silent Diagnostics Server upgrade
The Maintenance Tool enables you to retrieve an encrypted password, which the Diagnostic Server upgrade utility requires to access the MySQL database. You must use an encrypted password so that it is not exposed in the upgrade options file.
You can run the Maintenance Tool in a GUI or from the command line interface (CLI):
To patch the Application Diagnostic Server 2.6.x components for POODLE security vulnerability
This patch repairs the POODLE (Padding Oracle On Downgraded Legacy Encryption) security vulnerabilities for communication between Application Diagnostics Agents for Java and Application Diagnostics Server components. Ensure that you select the Patches tab when you download the installation files for BMC Application Diagnostics.
Extract and replace the required file on the Application Diagnostics Portal, Collector, and Proxy servers, and modify the property files as instructed.
If the Portal, Collector, and APM Proxy are installed on the same computer, replace the file once, otherwise, replace it for each installation.
- Stop the service or services.
- In the server installation directory, under the common/lib directory, replace common-server.jar with the extracted file from this patch.
The following file paths show the default installation directory:- (Windows) C:\Program Files\BMC Software\BMC Application Diagnostics\common\lib
- (Linux) /opt/bmc/BMC_Application_Diagnostics/common/lib
In the Portal installation directory, under portal/lib directory, replace the portal.jar with the file in this patch.
The following file paths show the default installation directory:
(Windows) C:\Program Files\BMC Software\BMC Application Diagnostics\portal\lib
(Linux) /opt/bmc/BMC_Application_Diagnostics/portal/lib
- Open the properties file for each component in a text editor:
- Portal: installationDirectory\portal\properties\portal.properties
- Collector: installationDirectory\collector\properties\collector.properties
- APM Proxy: installationDirectory\apm-proxy\properties\apm-proxy.properties
For each component properties file, add the following lines for the tomcat.ciphers and the tomcat.ssl.enabled.protocols properties:
# A comma separated list of encryption ciphers to support for HTTPS connections. Spaces between list items are not allowed.
tomcat.ciphers=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA
#The comma separated list of SSL protocols to support for HTTPS connections. Spaces between list items are not allowed.
#Default Value: TLSv1,TLSv1.1,TLSv1.2
tomcat.ssl.enabled.protocols=SSLv2Hello,TLSv1,TLSv1.1,TLSv1.2- Restart the service or services.
Where to go from here
Verifying-the-Diagnostics-Server-upgrade
Upgrading-the-Diagnostics-Agent-for-Java
Upgrading-the-Diagnostics-Agent-for-NET