Performing the Diagnostics Server upgrade silently
This topic presents silent upgrade procedures for the BMC Application Diagnostics Server from version 2.1.x to 2.6.x. 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):
Where to go from here
Verifying-the-Diagnostics-Server-upgrade
Upgrading-the-Diagnostics-Agent-for-Java
Upgrading-the-Diagnostics-Agent-for-NET