Installing TrueSight Server Automation - Data Warehouse silently
Where you are in the Installation process
In a silent installation, you run the installation program from a command line. A silent installation enables you to install on multiple systems at the same time. In silent mode, you must provide the parameters in an options.txt file. When you run the installation program from the wizard, the program prompts you for the parameters, but the wizard creates an options.txt file that you can use at a later time when running the installation silently. You can download sample options.txt file from the procedure below, or you can generate them.
To install TrueSight Server Automation - Data Warehouse silently
- 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:
- (Windows) Windows\Disk1
- (Linux) Linux/Disk1
Run the following command to 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 File.txt"
- (Linux - Path with space) ./setup.bin –DGENERATE_OPTIONS_FILE="opt/temp folder/Disk1/options File.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.
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.
- 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 and edit the options.
- 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 File.txt"
- (Linux - Path with space) ./setup.bin -i silent -DOPTIONS_FILE="opt/temp folder/Disk1/options File.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 install the Content Pack.