Upgrading TrueSight Network Automation - Data Warehouse silently
Where you are in the Upgrade process
To upgrade TrueSight Network Automation - Data Warehouse silently
- Log in to the host computer on which you want to upgrade Network Automation - Data Warehouse. BMC recommends that you delete all the files from the temporary directory (%temp%).
- Extract the downloaded files to a temporary location outside the C:\Program Files directory to avoid any file sharing conflicts.
It is strongly recommended that you exit all programs before starting the installation. - From the command prompt, navigate to the Disk1 directory.
- Obtain an options.txt file using one of the following methods:
Automatically generate the file.
Method
Steps
Make the installer generate an options file based on the current installation.
Add the following option to the command line when you run the installer:
-DGENERATE_OPTIONS_FILE=<OutputOptionsFileName>.txtCreate an options.txt file from an installation log.
1. From an installation log in the Log Viewer, click the tab of the installation run from which you want to generate an options file.
2. Select File > Save As.
3. From the Save As Type list, select Project Options File.
4. Enter a file name, and click OK.- Download the sample file.
Open the options.txt file, and use the following table as guides, edit the options accordingly, ensuring that you include the appropriate -P, -J, or -A option:
The [confluence_table-plus] macro is a standalone macro and it cannot be used inline.
As you edit the options.txt file, apply the following guidelines:- Remove the comment (#) markers.
- Enter Yes for the BMC_EULA_ACCEPT parameter:
## BMC EULA Accept
-J BMC_EULA_ACCEPT=Yes
Unless you encrypt passwords, the options.txt file contains passwords as clear text. The Maintenance Tool enables you to create an encrypted password that you can paste into the options.txt file.
Start the Maintenance Tool utility.
You can run the Maintenance Tool in a graphical user interface or from the command line.
- Click the Encrypt tab.
- In the Password and Confirm Password boxes, type your password.
- Click Encrypt.
Copy and paste the encrypted password into the options.txt file for your silent installer.
For example, if you want to encrypt the password for the TrueSight Network Automation - Data Warehouse console user and the output is DES\:b76c59dbc2e1433c7a9c2f006a2e2429116840dce695aea9, enter the following string:# -J CONSOLE_ADMIN_PASSWORD=DES\:b76c59dbc2e1433c7a9c2f006a2e2429116840dce695aea9
Alternatively, you can use the -encrypt option to encrypt a password through the command line. For example, enter the following command from the \Disk1\utility folder, which is created when you extract the downloaded product files from the BMC Electronic Product Distribution (EPD) site:
TsnadwMaintenanceTool.cmd -silent -encrypt -encrypt -password=<password> -confirm_password=<password>For more information, see the command-line help for the Maintenance Tool.
- Run the following command to start the silent installation. When you specify the options.txt file name, specify the full path to the file; do not specify a path that is relative to the installation program.
setup.exe -i silent -DOPTIONS_FILE=<pathToOptionsFile>
If the path contains spaces, enclose the path in quotation marks ("").
Example:
(Path with space) setup.exe -i silent -DOPTIONS_FILE="C:\temp folder\Disk1\optionsFile.txt"