Installing TrueSight Server Automation - Data Warehouse silently
Where you are in the Installation process
Do the following:
- Log in to the host computer on which you want to install TrueSight Server Automation - Data Warehouse. BMC recommends that you delete all the files from the temporary directory:
- (Windows) %temp%
- (Linux) /tmp
Extract the downloaded files to a temporary location outside the following location to avoid any file sharing conflicts:
- (Windows) C:\Program Files
- (Linux) /opt
It is strongly recommended that you exit all programs before starting the installation.
- Open the command prompt and navigate to the following directory:
- (Windows) Windows\Disk1
- (Linux) Linux/Disk1
Use one of the following methods to generate the options file:
Method
Steps
Make the installer generate an options file based on the current installation.
Run the following command to install the product and generate the options file:
- (Windows as Administrator) setup.exe –DGENERATE_OPTIONS_FILE=AbsolutePathToOutputOptionsFile
- (Linux as root user) ./setup.bin –DGENERATE_OPTIONS_FILE=AbsolutePathToOutputOptionsFile
where AbsolutePathToOutputOptionsFile is the absolute path and name that you assign to the output file that contains the installation options. If the file name or path includes a space, enclose the file path in double quotes.
Ensure that the model used for silent installation has the same version of TrueSight Server Automation - Data Warehouse as the actual installation. The password provided in options.txt will be used during actual installation.Examples:
- (Windows - Path with space) setup.exe -DGENERATE_OPTIONS_FILE="C:\temp folder\Disk1\options.txt"
- (Linux - Path with space){{code language="none"}}
{{/code}}{{code language="none"}}
./
{{/code}}setup.bin -DGENERATE_OPTIONS_FILE="opt/temp folder/Disk1/options.txt"
The command launches the TrueSight Server Automation - Data Warehouse wizard-based installer. Select the component that you want to install and for which you want the options file. Complete the installation once to populate the options file with properties. Now, your options file is ready to be used in silent installation.
Create the options file using the sample file.
Copy the contents of the sample file into a new file:
- Click for a sample options file for Windows operating system.
- Click for a sample options file for Linux operating system.
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. Use one of the following options to encrypt the password using the Maintenance Tool.
Start the Maintenance Tool utility.
- 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 Server 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:
- Windows - BdssaMaintenanceTool.cmd -silent -encrypt -encrypt -password=<password> -confirm_password=<password>
- UNIX - ./BdssaMaintenanceTool.sh -silent -encrypt -encrypt -password=<password> -confirm_password=<password>
For more information, see the command-line help for the Maintenance Tool.
Open the options.txt file and using the Installing-TrueSight-Server-Automation-Data-Warehouse-using-the-wizard and the following table as guides, edit the options, 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. Click on this message for details.
As you edit the options.txt file, apply the following guidelines:- Remove the comment (#) markers.
- To use an encrypted password, use the -J passwordOption= option.
- In UNIX environments, ensure that no Ctrl+M characters appear in the options.txt file.
- Save the file.
- 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.
- (Microsoft Windows) setup.exe -i silent -DOPTIONS_FILE=pathToOptionsFile
If the path contains spaces, enclose the path in quotation marks (""). (UNIX) ./setup.bin -i silent -DOPTIONS_FILE=pathToOptionsFile
Where, pathToOptionsFile is the path, including the name of the file, to which you want to copy the silent installation properties. If the file name or path includes a space, enclose the file path in double quotes.Examples:
- (Windows - Path with space) setup.exe -i silent -DOPTIONS_FILE="C:\temp folder\Disk1\options.txt"
- (Linux - Path with space){{code language="none"}}
{{/code}}{{code language="none"}}
./
{{/code}}setup.bin -i silent -DOPTIONS_FILE="opt/temp folder/Disk1/options.txt"
- (Microsoft Windows) setup.exe -i silent -DOPTIONS_FILE=pathToOptionsFile
Next step in the Installation process
Now that you have successfully installed TrueSight Server Automation - Data Warehouse, the next step in the installation process is to complete the Post-installation-tasks-for-TrueSight-Server-Automation-Data-Warehouse.